1. Help Center Home
  2. Buying on TravelgateX
  3. Hotel-X Development/Booking Flow: Search

Hotel-X Single Mode and Multimode Search

Exploring the Features of Single mode and Multimode Search in Hotel-X API

Our Hotel-X APIs is packed with lots of features and one of them is the possibility to chose between searching in a single mode vs searching in a multi mode.

Single Mode Search๐ŸŒŸ

What does Single Mode mean?๐Ÿ’ก

In Hotel-X, Single Mode refers to the capability for Partners to conduct a single search per Seller at any given time (default mode).

How does Hotel-X Single Mode work?๐Ÿ”Ž

  1. Check the tags added to your Hotel- X Search Query and make sure you include the HotelXFilterSearchInput. You will find more detailed information on how to filter your searches by Hotel-X access code here.
  2. Add the access code of the desired Seller you wish to query in your HotelXFilterSearchInput.

Note that you should use the Seller context in your Search requests unless you have previously uploaded your mapping files to our FTP.

Multimode Search๐Ÿš€

What does Multimode mean?๐Ÿ’ก

In Hotel-X, Multimode refers to the capability for Partners to search multiple Sellers at the same time in just one request.

How does Hotel-X Multimode work?๐Ÿ”Ž

  1. To search in Multimode, you should start by uploading your hotel mapping files to your FTP.
  2. Once the files are processed, you'll have the ability to search multiple Sellers simultaneously by using your own context and hotel codes. You can search Multimode in two ways:
    1. Specifying the Hotel-X access codes in your the filterSearch node: the query will only be sent to the accesses specified:
          "filterSearch": {

              "access": {

                  "includes": [

                      "xx",

                      "xxx",

                      "xxxx"

                  ]

              }

          }
    2. Not specifying any access codes: The Query will be sent to all the accesses connected to your account as Buyer, taking into account the following information:
      1. The request will be sent only to the Sellers' accesses for whom you have already uploaded the mapping file.
      2. This query will also check the value of the "testMode" tag in your Query in order to request only the test or production accesses.