updateLeaveSupplierProcess
Update the supply points of an existing leave supplier process.
Arguments
The input argument to update the supply points information that are leaving.
- KT-CT-10302: Invalid data.
- KT-CT-10309: Failed to update leave supplier process - the service is not enabled.
- KT-CT-10310: Failed to update leave supplier process. The process status is not in updatable status.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1605: Invalid input.
- KT-CT-1607: Value cannot be empty.
- KT-CT-7899: An internal error occurred.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateLeaveSupplierProcess($input: UpdateLeaveSupplierProcessInput!) {
updateLeaveSupplierProcess(input: $input) {
appliedUpdates {
...LeaveSupplierProcessSupplyPointUpdateTypeFragment
}
failedUpdates {
...LeaveSupplierProcessFailedSupplyPointUpdateTypeFragment
}
noUpdatesRequired {
...LeaveSupplierProcessSupplyPointUpdateTypeFragment
}
number
}
}
Variables
{
"input": UpdateLeaveSupplierProcessInput
}
Response
{
"data": {
"updateLeaveSupplierProcess": {
"appliedUpdates": [LeaveSupplierProcessSupplyPointUpdateType],
"failedUpdates": [LeaveSupplierProcessFailedSupplyPointUpdateType],
"noUpdatesRequired": [LeaveSupplierProcessSupplyPointUpdateType],
"number": "adult-chair-responsibility-civil-relate"
}
}
}