confirmSiteworksAppointmentSlot
Confirm an appointment slot returned by the appointment slots query.
Arguments
Input fields for booking a siteworks appointment slot.
Returns
ConfirmSiteworksAppointmentSlotConfirm an appointment slot returned by the appointment slots query.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-GB-4210: Bookings not supported for agent appointed at property.
- KT-GB-4211: Timeslot no longer available.
- KT-GB-4212: Missing or invalid data for account or property.
- KT-GB-4217: Unknown agent carrying out the appointment.
- KT-GB-4219: Property does not exist.
- KT-GB-4220: No account currently active at property.
- KT-GB-4221: Could not confirm duplicate property.
- KT-GB-4229: A smart meter exchange appointment for this date already exists.
- KT-GB-4234: Booking service currently unavailable.
- KT-GB-4239: Job type value is not supported by the agent appointed at property.
- KT-GB-4240: Job type entry is not enabled.
Allowed Viewers
Required Permissions
Can book smart meter appointmentsQuery Complexity
6Examples
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 ConfirmSiteworksAppointmentSlot($input: ConfirmSiteworksAppointmentSlotInput!) {
confirmSiteworksAppointmentSlot(input: $input) {
siteworksAppointment {
...ActiveAppointmentTypeFragment
}
}
}
Variables
{
"input": ConfirmSiteworksAppointmentSlotInput
}
Response
{
"data": {
"confirmSiteworksAppointmentSlot": {
"siteworksAppointment": ActiveAppointmentType
}
}
}