Skip to main content

EditLeaveAllocationInput

Input for deleting a leave allocation

input EditLeaveAllocationInput {
absenceTypeId: OdooID!
designation: String!
id: OdooID!
numberOfDays: Float!
validFrom: Date!
validTo: Date
}

Fields

EditLeaveAllocationInput.absenceTypeId ● OdooID! non-null scalar

Leave type that the allocation applies to

EditLeaveAllocationInput.designation ● String! non-null scalar

Designation (Bezeichnung) of the leave allocation. Written to Odoo as the description of the allocation record; doubles as the justification for the entitlement.

EditLeaveAllocationInput.id ● OdooID! non-null scalar

Unique identifier

EditLeaveAllocationInput.numberOfDays ● Float! non-null scalar

Total number of allocated days. Fractional for half-day or hour based absence types.

EditLeaveAllocationInput.validFrom ● Date! non-null scalar

Start of the leave allocation's validity

EditLeaveAllocationInput.validTo ● Date scalar

End of the leave allocation's validity. Optional; leaving it empty creates an open-ended entitlement ("unbegrenzt").

Member Of

editLeaveAllocation mutation