added
Absences API - Additional field in endpoint `GET /company/time-off-types` response
over 1 year ago by Public API Support
We are adding a new field legacy_category
for the response of the GET endpoint.
legacy_category
will have the data of the category field of the absence types that were created/updated before 15.05.2023, while thecategory
field will now contain the latest category of theabsenceType
regardless when it was created/updated.
category
can be one of:
- family_care
- maternity_parental_leave
- child_care
- short_time_allowance
- quarantine
- lockout
- irrevocable_exemption
- sick_leave
- voluntary_military_service
- unlawful_strike
- lawful_strike
- paid_vacation
- unpaid_vacation
- unexcused_absence
- offsite_work
- other
- undefined