curl --request GET \
--url https://{host}/schedule/api/working-time-arrangements \
--header 'Authorization: <authorization>'{
"items": [
{
"id": 1,
"name": "<string>",
"description": "<string>",
"unit": "day",
"fullTimeEquivalent": 0.5,
"publicHolidaysCalendar": {
"id": 1,
"name": "<string>"
},
"isPartTime": true,
"isArchived": true,
"isScheduleValid": true,
"authorizedCommands": [
"create"
],
"referencePeriod": {
"frequencyType": "week",
"firstDayOfWeek": "monday"
},
"contractWorkingTimeDuration": {
"value": 1,
"iso": "<string>",
"unit": "days"
},
"referenceWorkingTimeDuration": {
"value": 1,
"iso": "<string>",
"unit": "days"
},
"fullDayAbsence": {
"duration": {
"value": 1,
"iso": "<string>",
"unit": "days"
},
"absenceAccountIds": [
1
],
"absenceCategoryIds": [
1
]
},
"currentAssignmentsCount": 123,
"timesheetRegulation": {
"id": 1,
"name": "<string>"
},
"currentSchedulePatternSummary": {
"shape": "singleWeek",
"days": [
{
"dayOffType": "off",
"workPosition": "firstHalf",
"workDuration": 1,
"workDurationUnit": "days"
}
]
}
}
]
}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.
List of Working Time Arrangements.
curl --request GET \
--url https://{host}/schedule/api/working-time-arrangements \
--header 'Authorization: <authorization>'{
"items": [
{
"id": 1,
"name": "<string>",
"description": "<string>",
"unit": "day",
"fullTimeEquivalent": 0.5,
"publicHolidaysCalendar": {
"id": 1,
"name": "<string>"
},
"isPartTime": true,
"isArchived": true,
"isScheduleValid": true,
"authorizedCommands": [
"create"
],
"referencePeriod": {
"frequencyType": "week",
"firstDayOfWeek": "monday"
},
"contractWorkingTimeDuration": {
"value": 1,
"iso": "<string>",
"unit": "days"
},
"referenceWorkingTimeDuration": {
"value": 1,
"iso": "<string>",
"unit": "days"
},
"fullDayAbsence": {
"duration": {
"value": 1,
"iso": "<string>",
"unit": "days"
},
"absenceAccountIds": [
1
],
"absenceCategoryIds": [
1
]
},
"currentAssignmentsCount": 123,
"timesheetRegulation": {
"id": 1,
"name": "<string>"
},
"currentSchedulePatternSummary": {
"shape": "singleWeek",
"days": [
{
"dayOffType": "off",
"workPosition": "firstHalf",
"workDuration": 1,
"workDurationUnit": "days"
}
]
}
}
]
}API key. Value must be formatted like so: lucca application={api_key}.
Find a working time arrangement based on its name.
When true, only returns part-time working time arrangements.
Filter working time arrangements on their unit. An event can be set in:
day, hour, time Filter Working Time Arrangements on their archival status. If omitted, both archived and non-archived ones are retrieved.
Filter Working Time Arrangements assigned to a current work contract and thus to a user
Sort items by property.
id, -id Next page token
"next_token&fields.root=next"
"2"
Number of items per page
0 <= x <= 100Include collection properties.
count OK
Show child attributes
Was this page helpful?