Hotel Buyers API (legacy) - Parameter HotelXAccessCode Mandatory

Have you noticed a new functionality in our website called Content Management? In order to take full advantage of all the functionalities available there, we have added a new mandatory parameter to the configuration you currently use in our Legacy API for content methods.

What functionalities will I be able to use on TravelgateX.com?

  • Check out the portfolio in all your connections
  • Filter property by country
  • Refresh content when required

Review relevant information such as:

  • Total properties found
  • Last refresh date
  • Next scheduled update
  • Property details, such as address, description, etc

Why is HotelXAccessCode mandatory?

This parameter is used to determine which access the client uses to retrieve the information.

Once you include this parameter, you’ll be able to manage content at an access level in MyConnetions and MyContent.

Currently, the configurations are saved in accesses. From now on the parameter will be required in the configuration.

Accesses can be managed in the “Myconnections” tab when you log on to travelgatex.com

What is an “access”?

Where do I find the accesses active in my account?

What are the Content methods?

  • Configuration
  • RoomList
  • MealPlanList
  • HotelList
  • GeographicDestinationTree
  • DescriptiveInfo
  • CurrencyList
  • CategoryList
  • MetaData

What do I have to do?

You should add the parameter into configuration.

<Configuration>
   <Parameters>
      <Parameter key = "HotelXAccessCode" value = "xxxx"/>
   </Parameters>
</Configuration>

Timeline:

  • 19 Nov 2021: We start supporting this parameter

  • 17 May 2022: We stop supporting the content methods without the parameter and you’ll receive the error message below:

<DescriptiveInfoRS xmlns = "" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
   <operationImplemented>true</operationImplemented>
   <applicationErrors>
      <type>208</type>
      <description>HotelXAccessCode Parameter not found</description>
      <httpStatusCode>0</httpStatusCode>
   </applicationErrors>
   <UpgradeUTCDate>0001-01-01T00:00:00</UpgradeUTCDate>
</DescriptiveInfoRS>