Request

The request needs to contain only the identifier of the city (tag city, attribute code)
You can also set a timestamp as for the country search and the city search
The (type) attribute has to be set to hotels.

If you prefer to obtain all the hotels regardless of their city, you should take a look at our new hotels inventory API

<?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="hotel">  
        <city code="VCEI"/>  
    <timestamp>20030423170100</timestamp>  
    </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: hotel'identifier
  • name: full hotel'sname
  • stars: number of stars
  • location: hotel position