timeOff

Get Work Schedule and Holidays

Changed on

Returns working, non-working and holiday days over a date range for many workers in one call, based on each worker schedule and holidays, or holidays only when queried by country. Use it when you need several workers or country-level holidays in one call rather than a single worker schedule. It does not return time-off requests, which GET /rest/time_offs returns.

Token scopes: time-off:read

get/time_offs/dailies

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Query parameters

start_date, string date

Start date of non working days date range

end_date, string date

End date of non working days date range

hris_profile_ids, string[]

HRIS profile ids

countries, string[]

List of countries to be fetched

Response

Successful operation.

TimeOffGetTimeOffDailiesResponse200 required
data, TimeOffsDailiesGetResponsesContentApplicationJsonSchemaDataItems[]

List of holiday and work schedule information grouped by HRIS profile, including holidays within the date range, work schedule details, and daily work status

Changes

    • warning

      added the new ATLAS enum value to the data/items/holidays/items/source/oneOf[subschema #1: TimeOffsDailiesGetResponsesContentApplicationJsonSchemaDataItemsHolidaysItemsSource] response property for the response status