timeOff

Returns the time-off policies assigned to a worker, with the rules of each policy and whether a request under it needs an attachment, a description or custom field answers. Use it before creating a time-off request to know what the request must include; for the balances of the worker use GET /rest/time_offs/profile/{hris_profile_id}/entitlements.

Token scopes: time-off:read

get/time_offs/profile/{hris_profile_id}/policies

Request

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

Path parameters

hris_profile_id, string uuid required

hrisProfileId id.

Query parameters

policy_type_name, 'Adoption leave' | 'Advanced vacation' | 'Bereaved partner's paternity leave' | 'Bereavement leave' | 'Blood donation leave' | 'Breastfeeding leave' | 'Carer's leave' | 'Childbirth leave' | 'Childcare leave' | 'Civic/public duty leave' | 'Compensatory leave' | 'Disability leave' | 'Doctor's appointment leave' | 'Family & domestic violence leave' | 'Family responsibility leave' | 'Floating Holiday Allowance' | 'Hajj leave' | 'Hospitalization leave' | 'Long Service Leave' | 'Make-up time' | 'Marriage/wedding leave' | 'Maternity leave' | 'Menstrual leave' | 'Military leave' | 'Moving leave' | 'Neonatal care leave' | 'Other leave' | 'Paid leave' | 'Parental bereavement leave' | 'Parental leave' | 'Paternity leave' | 'Personal leave' | 'Pregnancy leave' | 'Regional holiday' | 'RTT' | 'Shared parental leave' | 'Sick leave' | 'Strike' | 'Study leave' | 'Supplementary Leave' | 'Unpaid leave' | 'Vacation' | 'Vacation - public holidays replacement' | 'Volunteer leave' | 'Voting leave' | 'Work accident leave' | 'Work away from office' | 'Work Location'

Policy type name.

policy_type_id, string uuid

policy type id

Response

Successful operation.

TimeOffGetTimeOffPoliciesResponse200 required
policies, TimeOffsProfileHrisProfileIdPoliciesGetResponsesContentApplicationJsonSchemaPoliciesItems[]

Changes

    • info

      added the new enum value Make-up time to the query request parameter policy_type_name

    • info

      added the new enum value Voting leave to the query request parameter policy_type_name

    • info

      added the required property policies/items/policy_allowance_proration/rounding_application to the response with the status

    2 more changes in this revision