curl --request GET \
--url https://{host}/schedule/api/working-time-arrangements/{workingTimeArrangementId} \
--header 'Authorization: <authorization>'{
"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"
}
]
}
}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 a Working Time Arrangement by id
curl --request GET \
--url https://{host}/schedule/api/working-time-arrangements/{workingTimeArrangementId} \
--header 'Authorization: <authorization>'{
"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}.
The unique identifier of the Working Time Arrangement.
x >= 0OK
A working time arrangement is an object aimed at drawing employees populations regarding time management rules.
It is attached to employees through their work contract and essentially dictates:
The unique identifier of this Working Time Arrangement.
x >= 0The unique name for this Working Time Arrangement.
3 - 1000An optional description.
5000An event can be set in:
day, hour, time By default, equal to the ratio between the Contract Working Time Duration and the Reference Working Time Duration.
0 <= x <= 1Must be a multiple of 0.0001Unique identifier of the Public Holidays Calendar applicable to these employees.
Show child attributes
True whenever the Full Time Equivalent is below 1 (eg <100%).
True whenever this Working Time Arrangement should no longer be given to employees.
False if there is not at least one Collective Schedule. In this case, the Working Time Arrangement can't be given to any employee through his Work Contract.
The actions the current authenticated User can make on this Working Time Arrangement. Depends on his permissions.
create, update, delete, archive, unarchive The period the Contract Working Time Duration applies over.
Show child attributes
How many hours / days these employees are paid for every Reference Period?
Show child attributes
The number of hours / days for a full-time employee over the same Reference Period.
Show child attributes
The fixed duration assigned to absences for one or more accounts or categories.
Show child attributes
The applicable Lucca Timesheet regulation, which contains all rules regarding time tracking management in this application.
Show child attributes
A summary of the expected working hours, given the currently ongoing Schedule Pattern.
Show child attributes
Was this page helpful?