v1

latestOpenAPI 3.1.0Apache 2.02026-07-22160175414.0 KB
Working Time Arrangements

List Working Time Arrangements.

<Warning> 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. </Warning>

List of Working Time Arrangements.

get/schedule/api/working-time-arrangements

Query parameters

searchstring

Find a working time arrangement based on its name.

isPartTimeboolean

When true, only returns part-time working time arrangements.

unit'day' | 'hour' | 'time'

An event can be set in:

  • Day: "I worked for a half day last Monday".
  • Hour: "I worked for 2 hours last Monday".
  • Time: "I worked between 10:00 AM and 12:00 AM last Monday".

Filter working time arrangements on their unit.

isArchivedboolean

Filter Working Time Arrangements on their archival status. If omitted, both archived and non-archived ones are retrieved.

currentlyAssignedOnlyboolean

Filter Working Time Arrangements assigned to a current work contract and thus to a user

sort'id' | '-id'

Sort items by property.

pageinteger

Page number

limitinteger

Page size

fields.root'count'

Include collection properties.

Response

OK

Example response

{
  "items": [
    {
      "contractWorkingTimeDuration": {
        "iso": "PT7H30M"
      },
      "referenceWorkingTimeDuration": {
        "iso": "PT7H30M"
      },
      "fullDayAbsence": {
        "duration": {
          "iso": "PT7H30M"
        }
      }
    }
  ]
}