Hotel API · Content
StaticDataRQ()
This function is dedicated to get a list of currencies, languages, destinations , hotels , categories and boardings.
Request
<StaticDataRQ gethotelslist="?">
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<Ilng>?</Ilng>
<User>?</User>
<IdCity>?</IdCity>
</StaticDataRQ>| Root | Sub Root | Description | Valeurs & Format | Tag |
|---|---|---|---|---|
| StaticDataRQ :@gethotelslist | Return hotels or no | Boolean | ||
| Credential | Mandatory | |||
| Login | Login | Text | ||
| Password | Password | Text | ||
| User | Current user ID | Numeric | Mandatory | |
| Ilng | Id of language | Numeric | Madatory | |
| IdCity | Id of City | Numeric | To filter hotels |
Response
<Root>
<Currencies>
<Currency>
<Id>?</Id>
<Title>?</Title>
</Currency>
</Currencies>
<Languages>
<Language>
<Id>?</Id>
<Title>?</Title>
</Language>
</Languages>
<Destinations>
<Destination id="’?’">
<Title>?</Title>
<Cities>
<City>
<Id>?</Id>
<Title>?</Title>
</City>
</Cities>
</Destination>
</Destinations>
<Hotels>
<Hotel>
<Id>?</Id>
<Source>?</Source>
<Title>?</Title>
<IdCity>?</IdCity>
<Address>?</Address>
<Longitude>?</Longitude>
<Latitude>?</Latitude>
<Child_minage>?</Child_minage>
<Child_maxage>?</Child_maxage>
<Category>?</Category>
<FixedSalesDates>
<FixedSalesDate>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
</FixedSalesDate>
<FixedSalesDate>
...
</FixedSalesDate>
</FixedSalesDates>
</Hotel>
</Hotels>
<Categories>
<Category>
<Id>?</Id>
<Title>?</Title>
</Category>
</Categories>
<HotelBoardings>
<HotelBoarding>
<Id>?</Id>
<Priority>?</Priority>
<XFTCode>?</XFTCode>
</HotelBoarding>
</HotelBoardings>
<HotelBoardingsL>
<HotelBoardingL>
<IdHotelsBoarding>?</IdHotelsBoarding>
<Title>?</Title>
<SMSTitle>?</SMSTitle>
</HotelBoardingL>
</HotelBoardingsL>
<Facilities>
<Facility>
<Id></Id>
<Title></Title>
<XFTCode></XFTCode>
</Facility>
</Facilities>
<Boardings>
<Boarding>
<IdHotelBoarding>?</IdHotelBoarding>
<IdHotel>?</IdHotel>
<Title>?</Title>
</Boarding>
</Boardings>
<Rooms>
<Room>
<Id>?</Id>
<Title>?</Title>
<Generic>?</Generic>
<MinPax>?</MinPax>
<MaxPax>?</MaxPax>
<MinAdult>?</MinAdult>
<MaxAdult>?</MaxAdult>
<MinChild>?</MinChild>
<MaxChild>?</MaxChild>
<MinInfant>?</MinInfant>
<MaxInfant>?</MaxInfant>
<PricePerPax>?</PricePerPax>
<XFTCode>?</XFTCode>
</Room>
</Rooms>
<Options>
<Option id="?">?</Option>
</Options>
</Root>| Root | Sub Root | Description | Valeurs & Format | Tag |
|---|---|---|---|---|
| Currencies | ||||
| Currency : Id | Id of Currency | Numeric | ||
| Currency : Title | Title of Currency | Text | ||
| Languages | ||||
| Language : Id | Id of language | Numeric | ||
| Language : Title | Title of language | Text | ||
| Destinations | ||||
| Destination : @Id | Id of destination | Numeric | ||
| Destination : Title | Title of destination | Text | ||
| Destination : Cities | Destination 's cities | |||
| Cities : City | Selected city | |||
| City : Id | Id of city | Numeric | ||
| City : Title | Title of City | Text | ||
| Categories | ||||
| Category : Id | Id of Category | Numeric | ||
| Category : Title | Title of category | Text | ||
| Hotels | Returned only if you specified gethotelslist = true in request | |||
| Hotel : Id | Id of Hotel | Text | ||
| Hotel : source | Source of the Hotel | Text | in case of hotel coming from a 3rd party supplier | |
| Hotel : Title | Title of Hotel | Text | ||
| Hotel : IdCity | Id of city | Numeric | ||
| Hotel : Address | Address of the hotel | Text | ||
| Hotel : Longitude | Longitude of the hotel | Numeric | ||
| Hotel : Latitude | Latitude of the hotel | Numeric | ||
| Hotel : Child_minage | Children Min age | Numeric | ||
| Hotel: Child_maxage | Children Max age | Numeric | ||
| Hotel: Category | Category Hotel | Numeric | ||
| Hotel:FixedSalesDates | List of Sales Fixed Dates | Text | only for idCategory= FixedSalesDates | |
| Hotel:FixedSalesDates:FixedSalesDate: @FromDate @ToDate | Sales begin/end interval dates | Text | only for idCategory= FixedSalesDates | |
| HotelBoardings | Return id & priority of all boardings | |||
| HotelBoarding : ID | Id of boarding | Numeric | ||
| HotelBoarding: Priority | Priority of boarding | Numeric | ||
| HotelBoarding: XFTCode | XFT Code | Text | ||
| HotelBoardingsL | Return titles of all boardings | |||
| HotelBoardingL: IdHotelsBoarding | Id of boarding | Numeric | ||
| HotelBoardingL: IdLanguage | Id of language | Numeric | ||
| HotelBoardingL: Title | Title of boarding | Text | ||
| HotelBoardingL: SMSTitle | SMS Title of boarding | Text | ||
| Facilities | Returns all facilities | |||
| Faciliity:Id | Id of Facility | Numeric | ||
| Facility: Title | Title of Facility | Text | ||
| Facility: XFTCode | XFT Code of Facility | Text | ||
| Boardings | Return supported boardings by hotel | |||
| Boarding: IdHotelBoarding | Id of boarding | Numeric | ||
| Boarding : IdHotel | Id of hotel | Numeric | ||
| Boarding : Title | Title of boarding | Text | ||
| Rooms | Return supported rooms by hotel | |||
| Room : Id | Id of room | Numeric | ||
| Room :Title | Title of room | Text | ||
| Room :Generic | Generic (by default) or Custom | Boolean (True/False) | ||
| Room :MinPax | Minimum of Pax | Numeric | ||
| Room :MaxPax | Maximum of Pax | Numeric | ||
| Room :MinAdult | Minimum of adult | Numeric | ||
| Room :MaxAdult | Maximum of adult | Numeric | ||
| Room :MinChild | Minimum of child | Numeric | ||
| Room :MaxChild | Maximum of child | Numeric | ||
| Room :MinInfant | Minimum of Infant | Numeric | ||
| Room :MaxInfant | Maximum of Infant | Numeric | ||
| Room : PricePerPax | Price per pax or per room | Boolean (True/False) | ||
| Room: XFTCode | XFT Code for the room | Text | ||
| Options | ||||
| Options : Options | Title of option | Text | ||
| Option : @id | Id of Option | Numeric |