getShiftsWithTimes
READGet shifts with times.
POST /api/v1/people/getShiftsWithTimes
curl -X POST '<your-host>/api/v1/people/getShiftsWithTimes' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"locationId": "string"
}'Response
{
"results": [
{
"id": "string",
"name": "string",
"startTime": "string",
"endTime": "string",
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true
}
],
"count": null
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"locationId": {
"type": "string"
}
},
"required": [
"locationId"
]
}