Skip to main content

Arguments

agentReference : String

The booking agent appointment reference number.

calculationId : String
fromDate : Date

The date to search for appointments from.

jobType : String

If job type is not specified, the default job type for the booking adapter will be used.

propertyId : ID! required

The property ID to search for.

slotDuration : SlotDuration

The duration of the appointment to search for.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

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

query SiteworksAppointmentSlots( $agentReference: String, $calculationId: String, $fromDate: Date, $jobType: String, $propertyId: ID!, $slotDuration: SlotDuration ) { siteworksAppointmentSlots( agentReference: $agentReference, calculationId: $calculationId, fromDate: $fromDate, jobType: $jobType, propertyId: $propertyId, slotDuration: $slotDuration ) { calculationId expectedJobDurationMinutes fetchStatus slots { ...SiteworksAppointmentSlotTypeFragment } } }

Variables

{ "agentReference": "sign-argue-itself-heavy-family", "calculationId": "55799917", "fromDate": "1994-12-15", "jobType": "recognize-play-million-argue-pull", "propertyId": "78859520", "slotDuration": "TWO_HOUR" }

Response

{ "data": { "siteworksAppointmentSlots": { "calculationId": "33112216", "expectedJobDurationMinutes": 70, "fetchStatus": "PENDING", "slots": [SiteworksAppointmentSlotType] } } }