Skip to content

bookingsV2

Query

query {
bookingsV2(
filter: BookingsFilterInputV2 = null
start: Int = 0
count: Int = 50
ordering: BookingOrdering = "Time"
ascending: Boolean = true
): BookingQuery!
}
ArgumentTypeDefaultDescription
filterBookingsFilterInputV2nullThe inclusive filter on bookings that will be returned
startInt0The index of the first booking in the list to be returned
countInt50The number of bookings to be returned. Max 1000
orderingBookingOrdering"Time"The ordering method of the bookings being returned
ascendingBooleantrueA flag indicating whether the bookings are in ascending order by the ordering method. True indicates ascending order. False indicates descending order.

BookingQuery (BookingQuery!)

query BookingsV2($filter: BookingsFilterInputV2, $start: Int, $count: Int, $ordering: BookingOrdering, $ascending: Boolean) {
bookingsV2(filter: $filter, start: $start, count: $count, ordering: $ordering, ascending: $ascending) {
pageNumber
pageSize
totalPages
results
bookings {
id
pin
requestedTime
}
}
}
{
"data": {
"bookingsV2": {
"pageNumber": 1,
"pageSize": 100,
"totalPages": 5,
"results": 42,
"bookings": [
{
"id": "MDB-26-GS8Q-8Q30",
"pin": "65471",
"requestedTime": "2026-03-28T19:00:00Z"
}
]
}
}
}