List bookings
List the bookings of one microsite by creation date, with optional filters on departure, update and cancellation dates, a reference and the user. Returns each booking's reference, status and creation date, so read the details with Get booking.
Behaviour
fromandtoare required, so every query is bounded by creation date, even when you filter by update, cancellation or departure date.- Only
from/to(yyyyMMdd) and the time bounds (HH:mm:ss) have a documented format. The other date pairs probably useyyyyMMddtoo. Test them in your test account. - Pages hold 100 results. Read
pagination.totalResultsand advancefirstuntil you have them all. - There is no status filter and no sales channel filter. Filter the results yourself.
- Each entry carries four fields:
bookingReference,status,creationDateandmicrositeId. For hotels, prices or passengers, read the trip with Get booking. - The older listing variant of
GET /booking/getBookings(without a microsite and reference in the path) is deprecated. Use this endpoint.
Finding a booking after a Book timeout
externalReference is not searchable here: ref matches platform and provider references, order numbers (deferred ones included) and PNRs only. To find a booking whose Book call timed out, list today's bookings for your API user (username), then read each with Get booking and compare its agencyBookingReference with your externalReference. The full sequence is in If Book times out.
Reconciliation
Webhooks go missing in practice. A microsite without a configured webhook never notifies you. Because this listing omits bookings from sibling microsites, a "list and diff" sweep misses them.
Walk your reference sequence instead (<PREFIX>-1043, <PREFIX>-1044, and so on) and probe Get booking for each. 200 means the booking is real, 404 means the number was never issued. Continue past your high-water mark until you see several 404s in a row. More in Webhooks.
Related
- Get booking: the whole trip for one reference
- Book: reconciling a Book timeout
- Webhooks: signals and the reconciliation sweep
Get booking
Read a whole trip, every service type included, by microsite and booking reference. This is the call to make after a webhook, and the source of truth for back-office and accounting syncs.
Cancel service
The generic cancel for a hotel service in a booking. It takes a cancellation type, PROVIDER or MANUAL, and optional manual fees.