Page 10 - demo demito
P. 10

<VisitId>
Integer The visit ID associated with this request in the roomsXML system.
3.3.2. TestMode
The TestMode parameter is simply a boolean value. If ‘true’, the request was sent in test mode, if ‘false’, the request was sent in live mode.
This parameter corresponds to the TestMode parameter in the Authority element and is returned whether the request contains a TestMode element or not.
3.4. Data download
The first step towards integration with roomsXML is to map the roomsXML regions and hotels into your database.
For this, roomsXML provides the regions and hotels data on the roomsXML Integration Portal.
3.4.1. Regions
The data is provided in a spreadsheet named Regions.xlsx. The sheet contains the regions and the country to which it belongs to.
The file is structured as:
RegionId RegionName StateCode CountryId CountryName
The Region Id should be used when searching for availability and prices of the regions / destinations.
3.4.2. Hotels
Hotel content is provided in the form of individual XML files for each hotel. Each file is named by the HotelId of that hotel.
Every Hotel element consists of a substantial amount of data:
         <Hotel>
         <Id>
         <Name>
         <Region>
         <Id>
         <Name>
         <CityId>
         </Region>
         <Type>
         <Address>
         <Address1>
roomsXML.com API Specifications
Page 10 of 36






































































   8   9   10   11   12