Body
Required
POST
/api/locations/shifts/reports
curl \
-X POST https://metropolitanabolivia.org/api/locations/shifts/reports \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"date":"string","data":{},"comments":"string","shift":{"id":"string"}}'
Request example
{
"date": "string",
"data": {},
"comments": "string",
"shift": {
"id": "string"
}
}
Response examples (201)
{
"date": "string",
"data": {},
"comments": "string",
"id": "string",
"shift": {
"startTime": "09:42:00+00:00",
"endTime": "09:42:00+00:00",
"dayOfWeek": 42,
"seatsCount": 42,
"isEnabled": true,
"id": "string",
"location": {
"id": "string",
"name": "string"
}
},
"submitter": {
"id": "string",
"name": "string",
"username": "string"
}
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}