Returns all absences.
Admin or user planning data permissions are required,
otherwise only the absences of the current user are returned.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
page
Page number for pagination
pageSize
Number of items per page
orderby
The properties to order by
filterby
The filter expression to filter by
Response
OK
id
createdOn
createdBy
updatedOn
updatedBy
userId
The id of the user to create the absence for.
startOn
The start time of the absence.
endOn
The end time of the absence.
description
The reason for the absence.
externalProvider
The external provider for the absence.
deletedOn
The date the absence was deleted.
deletedBy
The id of the user that deleted the absence.
isReadOnly
If it’s true it means that this Absence is read-only and cannot be edited/deleted by the user.
isHalfDayOnStart
If it's true and it's a single day absence means that the absence is for the first half of the workday.
If it's a multi day absence it started on the second half of the first day of the absence period.
isHalfDayOnEnd
If it's true and it's a single day absence means that the absence is for the second half of the workday.
If it's a multi day absence it ended on the first half of the last day of the absence period.