Skip to content

Requests a basket​

POST
/api/baskets/{basketId}/requests

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

basketId*
Type
integer
Required
Minimum
1

Request Body​

application/json
JSON
{
  
"message": "string"
}

Responses​

Success

application/json
JSON
{
  
"id": 0,
  
"description": "string",
  
"pictures": [
  
  
"string"
  
],
  
"contactTypes": [
  
  
[
  
  
]
  
],
  
"mobile": "string",
  
"telephone": "string",
  
"lat": 0,
  
"lon": 0,
  
"lifeTimeInDays": 0,
  
"weightInGrams": 0,
  
"status": 0,
  
"location": {
  
  
"lat": 52.5,
  
  
"lon": 13.4
  
},
  
"creator": {
  
  
"id": 342528,
  
  
"name": "Franzi",
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
"isSleeping": null
  
},
  
"created": "string",
  
"updated": "string",
  
"until": "string",
  
"requestCount": 0
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​