updateOnSiteJobsAppointment
Update an Appointment.
Arguments
The appointment and its details to update.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-13001: Appointment does not exist.
- KT-CT-13018: Unable to record cancellation_category/cancellation_sub_category.
- KT-CT-13039: Cancellation fields require CANCELLED status.
- KT-CT-13043: Cannot update appointment as it has terminal status.
- KT-CT-13044: Failed to update appointment slot.
- KT-CT-13045: Failed to update appointment assets.
- KT-CT-13050: Cannot provide both supply_point_identifier_to_market_name_mapping and supply_point_internal_id when creating assets.
- KT-CT-13051: Supply point not found when creating assets.
- KT-CT-13052: Multiple supply points found when creating assets.
- KT-CT-13058: Mutually exclusive parameters passed in.
- KT-CT-13062: Datetime field must be timezone-aware.
- KT-CT-13076: Appointment Job Notes must be represented as a string.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can update on site jobs appointmentQuery 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 UpdateOnSiteJobsAppointment($input: OnSiteJobsUpdateAppointmentInput!) {
updateOnSiteJobsAppointment(input: $input) {
onSiteJobsAppointment {
...OnSiteJobsAppointmentTypeFragment
}
}
}
Variables
{
"input": OnSiteJobsUpdateAppointmentInput
}
Response
{
"data": {
"updateOnSiteJobsAppointment": {
"onSiteJobsAppointment": OnSiteJobsAppointmentType
}
}
}