Search this site
Embedded Files
Fast API Documentation
  • 'Fast API' - Overview
    • Images
  • Change Record
  • Connection Guide
    • HTTP cookies submit example
    • HTTP request gzip example
  • Dynamic Filters and Filtering
  • Flight API Specification
  • Fusion API Platform
  • Fuzzy Ranking and Filtering
  • Hotel API Specification June 2012
    • Hotel Details Element
    • Hotel Result Modification
    • Hotel Search Example XML
      • Hotel Availability Search Example XML
      • Hotel Details Request Example XML
      • Hotel Filter, Sort and Paging Example XML
      • Hotel Only Search Example XML
      • Hotel Results Static Linking Example XML
      • Hotel Search Location Resolution Example XML
      • Obtaining a Login Token
  • Hotel API Specification October 2011
  • Hotel Results Polling Example XML
  • Location Resolution
  • Prepackaged API Spec
  • Referral and Acquisition Tracking
  • Terms, Conditions and Guidelines
  • TF Tracking Benefits
Fast API Documentation

Hotel API Specification June 2012 > Hotel Search Example XML

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.

Report abuse
Page details
Page updated
Report abuse