From HTNG Connectivity Wiki

Jump to: navigation, search



The Location Object describes a location and provides a collection of hotel that are within a certain radius of the location. This object may be hard coded into a table or other data structure or may be calculated dynamically.


GET location?search=location
returns a list of matching locations
GET location-id
returns the description of the location, the hotels URL, and the maximum radius supported
GET location-id/hotels?radius=x&units=d
returns the list of hotels within the radius of the location where the radius is express units of miles or kilometers


Location ObjectID
A Unique identifier for the location object
Location Short Description
Airport Code for example, BWI
Location Brief Description
Airport Name for example Baltimore/Washington Thurgood Marshall International Airport
Location Long Description
This is a really long description of the location. For example
Baltimore/Washington International Thurgood Marshall Airport (IATA: BWI, ICAO: KBWI, FAA LID: BWI) is currently the largest, by passenger count, of three major airports serving the Baltimore/Washington Metropolitan Area in the United States, the other two being Ronald Reagan Washington National Airport and Washington Dulles International Airport. It is commonly referred to as BWI or BWI Marshall. Located next to the CDP Linthicum[3] in northern unincorporated Anne Arundel County, Maryland, the airport is about 10 miles (16 km) south of Baltimore[4] and 32 miles (51 km) northeast of Washington, D.C.[5] The airport is named after Thurgood Marshall, a Baltimore native who was the first African American to serve on the Supreme Court of the United States.
Location Geo Coordinates
Geographical Coordinates, for example see the GeoCoordinate Utility Object
Location getNearbyHotels
Link to a command that returns a list of Hotel objects within a radius of the location


OTA HotelSearchCriteriaType

Personal tools
administrative tools