timeOff

List time-off requests

Changed on

Use this endpoint to retrieve a specific worker's time-off history or upcoming requests — e.g. to build a worker-facing view, check availability before scheduling, or reconcile attendance during payroll. Unlike GET /rest/time_offs, which lists requests org-wide, this scopes to a single hris_profile_id.

Token scopes: time-off:read

get/time_offs/profile/{hris_profile_id}

Request

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

Path parameters

hris_profile_id, string uuid required

HRIS profile id

Query parameters

status, TimeOffsProfileHrisProfileIdGetParametersStatusSchemaItems[]

Time off status

time_off_ids, string[]

Time off ids

start_date, string date-time

Start date of time off

end_date, string date-time

End date of time off

approval_start_date, string date-time

Approval start date

approval_end_date, string date-time

Approval end date

updated_start_date, string date-time

Updated start date

updated_end_date, string date-time

Updated end date

page_size, integer

Page size

policy_types, string[]

Policy types

policy_type_names, TimeOffsProfileHrisProfileIdGetParametersPolicyTypeNamesSchemaItems[]

Filter by policy type names. When omitted, Work away from office time-offs are excluded by default. Pass policy_type_names=Work+away+from+office to retrieve only those entries; the former name Work Location is still accepted.

next, string

Next page

Response

Successful operation time offs returned

TimeOffGetTimeOffProfileResponse200 required

Time offs associated to the query

data, TimeOffsProfileHrisProfileIdGetResponsesContentApplicationJsonSchemaDataItems[] required
next, string
count, integer

Total count of items

page_size, integer required

Page size

has_next_page, boolean required

Has next page

Changes

    • info

      added the enum value Make-up time to the property items/ of the query request parameter policy_type_names

    • info

      added the enum value Voting leave to the property items/ of the query request parameter policy_type_names