Zum Inhalt springen

personLeaveBalanceByYearRange

Returns person leave balance by year range.

Type: [PersonLeaveBalance!]!

Arguments

  • personObjectID: String! — UID of the person object to retrieve.
  • yearFrom: Int! — Year from for filtering or the operation.
  • yearTo: Int! — Year to for filtering or the operation.
query($personObjectID: String!, $yearFrom: Int!, $yearTo: Int!) {
personLeaveBalanceByYearRange(personObjectID: $personObjectID, yearFrom: $yearFrom, yearTo: $yearTo) {
annualQuotaDays
leaves {
affectedTermCount
childItemLinkType
dateFrom
dateTo
endHalf
id
personLeaveID
reason
startHalf
substitutionResolved
timeFrom
timeTo
}
quotaContracts {
contractID
contractNumber
fullYearQuotaDays
proRataQuotaDays
validFromInYear
validToInYear
workingDaysFullYear
workingDaysInYear
}
remainingDays
summariesByObjectType {
bezeichnung
count
days
isVacation
objectType
}
usedVacationDays
year
}
}