Returns the absence with the specified id.

GET

User planning data permissions are required if the calling user is not the owner of the absence or admin.

Path parameters

absenceIdstringRequired

The id of the absence to get.

Response

Success

idstringOptional
createdOndatetimeOptional
createdBystringOptional
updatedOndatetimeOptional
updatedBystringOptional
userIdstringOptional

The id of the user to create the absence for.

startOndatetimeOptional

The start time of the absence.

endOndatetimeOptional

The end time of the absence.

descriptionstringOptional

The reason for the absence.

externalProviderstringOptional

The external provider for the absence.

deletedOndatetimeOptional

The date the absence was deleted.

deletedBystringOptional

The id of the user that deleted the absence.

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.