OnSiteJobsCreateAppointmentInput
Input fields
When true, automatically updates the request status to match its appointments. Defaults to true.
The current status of the appointment.
List of assets associated with the appointment.
The cancellation reason for this appointment.
Appointment related comments.
The comms strategy.
The end date/time of this appointment.
The external reference provided by the vendor/contractor for the appointment.
Appointment job details.
The job notes.
The type of job this appointment is for.
The UUID of the On-Site Jobs request appointment is for.
The resolution reason code for the appointment status.
Whether to run the side-effect action based on the new appointment status. Only applicable if a value was provided in the status field. Defaults to true.
The start date/time of this appointment.
Example
{
"alignRequestStatusWithAppointment": true,
"appointmentStatus": "PENDING_KRAKEN_TIMESLOT_SELECTION",
"assets": OnSiteJobsAssetInput,
"cancellationCategory": "CANCELLED_BY_CUSTOMER___COMPLAINT",
"comments": "protect-month-central-body-trouble",
"commsStrategy": "SEND_ALL",
"endAt": "1990-02-19T22:41:28.620903+00:00",
"externalReference": "challenge-I-less-TV-source",
"jobDetails": OnSiteJobsAppointmentJobDetailsInput,
"jobNotes": {"key": "value"},
"jobType": "serve-wonder-lay-argue-light",
"requestId": "6ce5a1a0-0fe1-423f-b418-4c701850382c",
"resolutionReasonCode": "identify-inside-it-threat-no",
"runActionsBasedOnStatus": true,
"startAt": "1999-09-30T19:46:53.973167+00:00"
}