Skip to main content

Arguments

appointmentBookingSessionId : UUID! required

The appointment booking session ID to pick a timeslot with.

slotId : UUID! required

The slot ID to book the appointment for.

Returns

PickTimeslotForOnSiteJobsAppointment

Pick a timeslot for an appointment that requires one. Used to complete a booking made via the WITHOUT_DATE_OR_TIME booking mode.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create on site jobs appointments

Query Complexity

6

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.

Query

mutation PickTimeslotForOnSiteJobsAppointment( $appointmentBookingSessionId: UUID!, $slotId: UUID! ) { pickTimeslotForOnSiteJobsAppointment( appointmentBookingSessionId: $appointmentBookingSessionId, slotId: $slotId ) { onSiteJobsAppointment { ...OnSiteJobsAppointmentTypeFragment } } }

Variables

{ "appointmentBookingSessionId": "35cd901a-cc60-41c9-b705-c3e1b62ba1d7", "slotId": "d9107ec8-d676-45dc-bf39-64c40ff8116d" }

Response

{ "data": { "pickTimeslotForOnSiteJobsAppointment": { "onSiteJobsAppointment": OnSiteJobsAppointmentType } } }