Query
query GetBookingAvailability($requestId: ID!, $selectedEstimatorIds: [ID!]!) {
getBookingAvailability(requestId: $requestId, selectedEstimatorIds: $selectedEstimatorIds) {
estimatorId
month {
calendarMonth
calendarVerified
slots {
estimatorId
estimatorEmail
estimatorName
start
end
firstAppointmentOfDay
}
dayCounts {
date
count
}
slotCounts {
date
count
}
}
day {
selectedCalendarDate
dayDetail {
calendarVerified
date
timezone
visibleStartMinute
visibleEndMinute
availabilityWindows {
__typename
}
}
customPreviewSlot {
estimatorId
estimatorEmail
estimatorName
start
end
firstAppointmentOfDay
}
}
capacityDays {
date
status
tooltip
}
}
}Variables
{
"requestId": "id",
"selectedEstimatorIds": [
"id"
]
}Response
{
"data": {
"getBookingAvailability": [
{
"estimatorId": "id",
"month": {
"calendarMonth": "value",
"calendarVerified": true,
"slots": [
{
"estimatorId": "id",
"estimatorEmail": "string",
"estimatorName": "string",
"start": "value",
"end": "value",
"firstAppointmentOfDay": true
}
],
"dayCounts": [
{
"date": "value",
"count": 1
}
],
"slotCounts": [
{
"date": "value",
"count": 1
}
]
},
"day": {
"selectedCalendarDate": "string",
"dayDetail": {
"calendarVerified": true,
"date": "string",
"timezone": "string",
"visibleStartMinute": 1,
"visibleEndMinute": 1,
"availabilityWindows": [
{
"__typename": "BookingAvailabilityWindow"
}
]
},
"customPreviewSlot": {
"estimatorId": "id",
"estimatorEmail": "string",
"estimatorName": "string",
"start": "value",
"end": "value",
"firstAppointmentOfDay": true
}
},
"capacityDays": [
{
"date": "value",
"status": "string",
"tooltip": "string"
}
]
}
]
}
}Queries
getBookingAvailability
QUERY
getBookingAvailability(requestId: ID!, timezone: String, selectedEstimatorIds: [ID!]!, calendarMonth: Date, selectedCalendarDate: Date, selectedSlotSizeId: ID, capacityStartDate: Date, slotDates: [Date!], includeDayDetail: Boolean): [BookingEstimatorAvailability!]!Arguments
requestId
ID!
required
timezone
String
selectedEstimatorIds
[ID!]!
required
calendarMonth
Date
selectedCalendarDate
Date
selectedSlotSizeId
ID
capacityStartDate
Date
slotDates
[Date!]
includeDayDetail
Boolean
Returns
estimatorId
ID!
capacityDays
Query
query GetBookingAvailability($requestId: ID!, $selectedEstimatorIds: [ID!]!) {
getBookingAvailability(requestId: $requestId, selectedEstimatorIds: $selectedEstimatorIds) {
estimatorId
month {
calendarMonth
calendarVerified
slots {
estimatorId
estimatorEmail
estimatorName
start
end
firstAppointmentOfDay
}
dayCounts {
date
count
}
slotCounts {
date
count
}
}
day {
selectedCalendarDate
dayDetail {
calendarVerified
date
timezone
visibleStartMinute
visibleEndMinute
availabilityWindows {
__typename
}
}
customPreviewSlot {
estimatorId
estimatorEmail
estimatorName
start
end
firstAppointmentOfDay
}
}
capacityDays {
date
status
tooltip
}
}
}Variables
{
"requestId": "id",
"selectedEstimatorIds": [
"id"
]
}Response
{
"data": {
"getBookingAvailability": [
{
"estimatorId": "id",
"month": {
"calendarMonth": "value",
"calendarVerified": true,
"slots": [
{
"estimatorId": "id",
"estimatorEmail": "string",
"estimatorName": "string",
"start": "value",
"end": "value",
"firstAppointmentOfDay": true
}
],
"dayCounts": [
{
"date": "value",
"count": 1
}
],
"slotCounts": [
{
"date": "value",
"count": 1
}
]
},
"day": {
"selectedCalendarDate": "string",
"dayDetail": {
"calendarVerified": true,
"date": "string",
"timezone": "string",
"visibleStartMinute": 1,
"visibleEndMinute": 1,
"availabilityWindows": [
{
"__typename": "BookingAvailabilityWindow"
}
]
},
"customPreviewSlot": {
"estimatorId": "id",
"estimatorEmail": "string",
"estimatorName": "string",
"start": "value",
"end": "value",
"firstAppointmentOfDay": true
}
},
"capacityDays": [
{
"date": "value",
"status": "string",
"tooltip": "string"
}
]
}
]
}
}