Skip to main content

UpdateEmployeeContractInput

Input for the updating a new employee contract

input UpdateEmployeeContractInput {
employeeContractId: EmployeeContractID!
employeeId: EmployeeID!
endDate: Date
jobPositionId: OdooID
managerId: EmployeeID
payrollStructureId: OdooID
startDate: Date!
status: ContractStatus!
typeId: OdooID!
workScheduleId: OdooID!
}

Fields

UpdateEmployeeContractInput.employeeContractId ● EmployeeContractID! non-null scalar

ID of the employee contract to edit

UpdateEmployeeContractInput.employeeId ● EmployeeID! non-null scalar

ID of the employee

UpdateEmployeeContractInput.endDate ● Date scalar

End date of the contract. Optional, the contract can also be indefinite

UpdateEmployeeContractInput.jobPositionId ● OdooID scalar

Job position of the created contract

UpdateEmployeeContractInput.managerId ● EmployeeID scalar

Reference to the manager of the employee

UpdateEmployeeContractInput.payrollStructureId ● OdooID scalar

How is the employee's payroll structured

UpdateEmployeeContractInput.startDate ● Date! non-null scalar

Start date of the contract

UpdateEmployeeContractInput.status ● ContractStatus! non-null enum

Status of the employee's contract

UpdateEmployeeContractInput.typeId ● OdooID! non-null scalar

Type of the contract (comes from Odoo)

UpdateEmployeeContractInput.workScheduleId ● OdooID! non-null scalar

Structure of the employee's weekly working schedule

Member Of

updateEmployeeContract mutation