curl --request GET \
--url https://{host}/schedule/api/working-time-arrangements/{workingTimeArrangementId}/collective-schedules \
--header 'Authorization: <authorization>'{
"items": [
{
"id": 1,
"workingTimeArrangementId": 1,
"pattern": {
"shape": "singleWeek"
},
"splitsHalfDays": true,
"startsOn": "2023-12-25",
"endsOn": "2023-12-25"
}
]
}This is a beta feature. You may not benefit from this feature. Working-time-arrangements are the replacement for the workcycles. If this feature has not been deployed on your environment, please contact our support.
Get the list of Collective Schedules from a Working Time Arrangement by id
curl --request GET \
--url https://{host}/schedule/api/working-time-arrangements/{workingTimeArrangementId}/collective-schedules \
--header 'Authorization: <authorization>'{
"items": [
{
"id": 1,
"workingTimeArrangementId": 1,
"pattern": {
"shape": "singleWeek"
},
"splitsHalfDays": true,
"startsOn": "2023-12-25",
"endsOn": "2023-12-25"
}
]
}API key. Value must be formatted like so: lucca application={api_key}.
The unique identifier of the Working Time Arrangement.
x >= 0Number of items per page
0 <= x <= 100Next page token
"next_token&fields.root=next"
"2"
Include collection properties.
count Sort items by a property.
-startsOn OK
Show child attributes
Was this page helpful?