Skip to main content

AbsenceData

Contains the entitlement, as well as taken, planned and remaining time off for a single absence type.

type AbsenceData {
absenceType: EmployeeAbsenceType!
entitlement: Int!
leaveType: String! @deprecated
planned: Int!
remaining: Int!
unit: RequestUnit
used: Int!
}

Fields​

AbsenceData.absenceType ● EmployeeAbsenceType! non-null object​

The absence type this row was computed for

AbsenceData.entitlement ● Int! non-null scalar​

Total leave entitlement for the given type for the current year in days

AbsenceData.leaveType ● String! deprecated non-null scalar​

DEPRECATED

Use absenceType.name instead.

Name of the absence type

AbsenceData.planned ● Int! non-null scalar​

Total planned of the given type for the current year in days

AbsenceData.remaining ● Int! non-null scalar​

Total remaining for the given type for the current year in days

AbsenceData.unit ● RequestUnit enum​

Request unit of the leave type (day, half-day or hour)

AbsenceData.used ● Int! non-null scalar​

Total used of the given type for the current year in days

Member Of​

Employee object