Request
The request needs to contain the period (tag periodo, attributes start and end) and the identifier of the hotel (tag hotel, attribute code).
You can also set a contract for the hotel (tag contract, attribute code)
The (type) attribute has to be set to catalog.
<?xml version="1.0" encoding="UTF-8"?>
<envelope>
<header>
<actor>test</actor>
<user>test</user>
<password>test</password>
<version>1.6.1</version>
<timestamp>20030423170100</timestamp>
</header>
<query type="hotels" product="catalog">
<hotel code="30213"/>
<period start="20030423" end="20030426"/>
<contract code="31568"/>
</query>
</envelope>
Response
The response message contains in its response, tag the list of all the details of the hotel in the form as described in the following list:
- id
- contract
- contract identifier that uses this tariff
- startdate
- enddate
- singleprice_nett
- nett price for a single room
- singleprice_sell
- sell price for a single room
- doubleprice_nett
- nett price for a double room
- doubleprice_sell
- sell price for a double room
- twinprice_nett
- nett price for a twin room
- twinprice_sell
- sell price for a twin room
- tripleprice_nett
- nett price for a triple room
- tripleprice_sell
- sell price for a triple room
- quadrupleprice_nett
- nett price for a quadruple room
- quadrupleprice_sell
- sell price for a quadruple room
- suiteprice_nett
- suiteprice_sell
- jrsuiteprice_nett
- nett price for a junior suite
- jrsuiteprice_sell
- sell price for a junior suite
- tsuprice_nett
- nett price for a twin for sole use room
- tsuprice_sell
- sell price for a twin for sole use room
- extrabedprice_nett
- nett price for the extrabed
- extrabedprice_sell
- sell price for the extrabed
- cotprice_nett
- cotprice_sell
- period
- weekly period. 'W' for weekend, 'F' for working days and 'B' for both
- currency
- special
- states if the tariff is for a special offer