Skip to main content

AddEmployeeContractPayload

Payload of the addEmployeeContract mutation

type AddEmployeeContractPayload {
archivable: Boolean!
contract: EmployeeContract!
success: Boolean!
}

Fields​

AddEmployeeContractPayload.archivable ● Boolean! non-null scalar​

True when the employee has no current or future contract any more, so they can be archived now.

AddEmployeeContractPayload.contract ● EmployeeContract! non-null object​

The created contract.

AddEmployeeContractPayload.success ● Boolean! non-null scalar​

Always true.

Returned By​

addEmployeeContract mutation