Query parameters
-
page
integer Default value is
1
. -
perPage
integer Maximum value is
250
. Default value is100
. -
search
string | null -
locationId
string | null -
sortBy
string | null Default value is
-date
. -
since
string | string(date) | null -
until
string | string(date) | null -
format
string Values are
json
orexcel
. Default value isjson
.
GET
/api/locations/shifts/reports
curl \
-X GET https://ppammedellin.com/api/locations/shifts/reports \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"items": [
{
"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"
}
},
"date": "string",
"submitter": {
"id": "string",
"name": "string",
"username": "string"
}
}
],
"total": 42,
"page": 42,
"perPage": 42,
"totalPages": 42,
"hasNextPage": true
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}