cancelOnSiteJobsAppointment
Cancel an Appointment.
Arguments
The input objects required to cancel an Appointment.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-13001: Appointment does not exist.
- KT-CT-13017: Appointment cancellation not supported.
- KT-CT-13018: Unable to record cancellation_category/cancellation_sub_category.
- KT-CT-13019: Vendor not found.
- KT-CT-13043: Cannot update appointment as it has terminal status.
- KT-CT-13053: Failed to cancel the appointment with the agent.
- KT-CT-13065: Cancellation sub-category is deprecated and can no longer be used.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can cancel on site jobs appointmentsQuery Complexity
1Examples
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 CancelOnSiteJobsAppointment($input: CancelOnSiteJobsAppointmentInputType!) {
cancelOnSiteJobsAppointment(input: $input) {
onSiteJobsAppointment {
...OnSiteJobsAppointmentTypeFragment
}
}
}
Variables
{
"input": CancelOnSiteJobsAppointmentInputType
}
Response
{
"data": {
"cancelOnSiteJobsAppointment": {
"onSiteJobsAppointment": OnSiteJobsAppointmentType
}
}
}