Skip to main content

CreateLeaveAllocationInput

Input for editing an existing leave allocation

input CreateLeaveAllocationInput {
absenceTypeId: OdooID!
employeeId: EmployeeID!
numberOfDays: Int!
validFrom: Date!
validTo: Date!
}

Fields

CreateLeaveAllocationInput.absenceTypeId ● OdooID! non-null scalar

Leave type that the allocation applies to

CreateLeaveAllocationInput.employeeId ● EmployeeID! non-null scalar

Employee that the allocation applies to

CreateLeaveAllocationInput.numberOfDays ● Int! non-null scalar

Total number of allocated days

CreateLeaveAllocationInput.validFrom ● Date! non-null scalar

Start of the leave allocation's validity

CreateLeaveAllocationInput.validTo ● Date! non-null scalar

End of the leave allocation's validity

Member Of

createLeaveAllocation mutation