1. Help Center
  2. Working with TravelgateX

How should I indicate the dates when searching by reference in booking query?

Some Sellers require date range types in order to retrieve booking information when running a booking query by reference.

It's mandator for some Sellers to include some (or all) of the following date range types in booking request in order to retrieve bookings whenever searching by searchType REFERENCES:

  • Booking date
  • Check-in date
  • Check-out date

You can include this information by adding the dates in the graphQL's input BookReferenceDatesInput, inside references input from your booking query (BookReferenceInput/dates):


 

 

Bear in mind that "references" node is a list of BookReferenceInput, so you can add "dates" information for every "references" node.

Example: