Skip to main content

Arguments

appointmentBookingDetails : OnSiteJobsAppointmentBookingDetailsInput! required

The appointment booking details.

overrideAppointmentCheckWarnings : Boolean

Whether to override appointment booking check warnings. Defaults to False.

requestId : UUID! required

The ID of the request to book an appointment for.

Returns

CreateOnSiteJobsAppointmentWithoutDateOrTime

Create an Appointment using WITHOUT_DATE_OR_TIME booking mode. Used when the field agent arranges the appointment date and time externally. Once arranged, the field service system will inform on-site jobs of the date and time.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create on site jobs appointments

Query Complexity

5

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 CreateOnSiteJobsAppointmentWithoutDateOrTime( $appointmentBookingDetails: OnSiteJobsAppointmentBookingDetailsInput!, $overrideAppointmentCheckWarnings: Boolean, $requestId: UUID! ) { createOnSiteJobsAppointmentWithoutDateOrTime( appointmentBookingDetails: $appointmentBookingDetails, overrideAppointmentCheckWarnings: $overrideAppointmentCheckWarnings, requestId: $requestId ) { onSiteJobsAppointment { ...OnSiteJobsAppointmentTypeFragment } } }

Variables

{ "appointmentBookingDetails": OnSiteJobsAppointmentBookingDetailsInput, "overrideAppointmentCheckWarnings": true, "requestId": "fc315153-08f3-4f18-88db-f8cc7ac5d58c" }

Response

{ "data": { "createOnSiteJobsAppointmentWithoutDateOrTime": { "onSiteJobsAppointment": OnSiteJobsAppointmentType } } }