Hotel Only Search Example XML

The following XML example will search for all hotels near a particular location without checking availability. It is useful for drawing maps or for allowing the user to browse hotels. Responses are instant as no connections need to be made to the suppliers. General information about the hotels is returned, such as average and minimum prices. Some of the sorting and filtering features are available here, as with the availability searching. Locations can also be specified as IATA codes and a radius can be supplied as in the availability search.

Note, the token attribute must be set to a valid token.

<GetHotelsRequest token="******" xmlns="http://www.travelfusion.com/xml/api/simple">
    <location>
        <locationResolutionResultItem id="43"/>
    </location>
    <currency>EUR</currency>
</GetHotelsRequest>

If the user selects a hotel from this list, a 'static' request for that hotel could be used to give full details of the hotel, with or without availability search. See here for details.


Comments