Page 15 - demo demito
P. 15
you will be able to link all roomsXML hotels in New York City to your New York City. Below are extracts from the hotel static data file for 2 New York City hotels.
<HotelElement>
<Id>963208</Id>
<Name>Blakely</Name>
<Region>
<Id>64379</Id>
<Name>Midtown Manhattan</Name>
<CityId>19793</CityId>
</HotelElement>
<HotelElement>
<Id>58910</Id>
<Name>Affinia Manhattan</Name>
<Region>
<Id>64379</Id>
<Name>Midtown Manhattan</Name>
<CityId>19793</CityId>
</HotelElement>
If you see, both these hotels have a link to ‘19793’. If you have mapped this region code to the correct region (I.e. New York City) in your database, the above hotels will then be correctly linked to New York City on mapping.
Alternatively, for certain regions, you will find that the valid region code is <Region><Id> and not <CityId> in the regions spreadsheet. For example, the code for Nice, France is 20510...
<HotelElement>
<Id>39909</Id>
<Name>Ellington</Name>
<Region>
<Id>20510</Id>
<Name>Nice</Name>
<CityId>16466</CityId>
<HotelElement>
<Id>39642</Id>
<Name>Ambassador</Name>
<Region>
<Id>20510</Id>
<Name>Nice</Name>
<CityId>16466</CityId>
Basically, if you don’t find the <Region><Id> in the regions spreadsheet, use the <CityId>.
3.5. Operations
The roomsXML Web Service interface is implemented as a dual XML and SOAP interface using Microsoft .NET XML web services. The interface is exposed via:
http://www.roomsxmldemo.com/RXLStaging Services/ASMX/XmlService.asmx
If you navigate to this URL in a web browser, the .NET web services framework will display descriptions of the interfaces and their methods and offer SOAP
roomsXML.com API Specifications Page 15 of 36