createOrUpdateSiteworksAppointment
Create or update a Siteworks appointment.
Arguments
Input fields for creating or updating siteworks appointments.
Returns
CreateOrUpdateSiteworksAppointmentCreate a new job or update the status of an existing one.
Possible Errors
- KT-CT-1112: 'Authorization' header not provided.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-13043: Cannot update appointment as it has terminal status.
- KT-CT-4231: Unauthorized.
- KT-CT-7899: An internal error occurred.
- KT-GB-4224: Error processing siteworks appointment.
- KT-GB-4230: Invalid data.
Allowed Viewers
Required Permissions
Can create siteworks 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 CreateOrUpdateSiteworksAppointment($input: CreateOrUpdateSiteworksAppointmentInput!) {
createOrUpdateSiteworksAppointment(input: $input) {
result {
...CreateOrUpdateSiteworksAppointmentOutputFragment
}
}
}
Variables
{
"input": CreateOrUpdateSiteworksAppointmentInput
}
Response
{
"data": {
"createOrUpdateSiteworksAppointment": {
"result": CreateOrUpdateSiteworksAppointmentOutput
}
}
}