Gets all workspace absences.

GET

Gets all workspace absences. The result can be filtered, sorted, and paged.

Required Permissions: The user must be an admin or have user-planning-data:write permissions.

Query parameters

pageintegerOptional

Page number for pagination

pageSizeintegerOptional

Number of items per page

orderbystringOptional

The properties to order by

filterbystringOptional

The filter expression to filter by

Response

OK

idstringOptional
createdOndatetimeOptional
createdBystringOptional
updatedOndatetimeOptional
updatedBystringOptional
startOndatetimeOptional

The start time of the workspace absence.

endOndatetimeOptional

The end time of the workspace absence.

descriptionstringOptional

The description of the absence.

regionIdstringOptional

The (optional) regionId of the workspace absence. If null, the absence is global for the entire workspace. Otherwise, it will be applied only to the users of the region.

regionstringOptional

The name of the region of the workspace absence. Null if the absence is global for the entire workspace.

isReadOnlybooleanOptional

If it’s true it means that this Absence is read-only and cannot be edited/deleted by the user.

isHalfDayOnStartbooleanOptional

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.

isHalfDayOnEndbooleanOptional

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.