- 10 Technologies that a Programmer Should Learn in 2019
- Ken’s Nordic 2018 Platform Summit Trip Report
- Creating a Passenger Name Record
- APIs are Made for People: Creating Human-Readable Messages
- Sessionless, It’s a State of Mind
- 5 Minutes to Reimagine the Business of Travel
- Spending tons of time creating customer proposals? Here`s how to fix it
- Better Development starts with Better Documentation
- Searching for the best Air offers with the Bargain Finder Max API
- User Feedback Guides the Developer Experience
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- March 2018
- January 2018
- November 2017
- October 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- January 2017
- December 2016
- November 2016
- September 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- December 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
Share this page
by David Cheese
Delivering on our promise to provide more robust hotel content and capabilities, the Sabre Hotel team is releasing new APIs this year, beginning with eight this month. The base APIs in the initial release will provide visual content, descriptive content, and the ability to obtain a list of hotels by location. Descriptive and visual content is available independently or combined through an orchestrated service. All new APIs are stateless and available in both SOAP/XML and REST/JSON. The new services include:
GeoSearchRQ* – Requestor submits a location identifier (such as geo code, airport code, address, point of interest) and distance radius and obtains a list of nearby hotels plus distance from each. (Available in both SOAP and REST).
GetHotelMediaRQ – Requestor submits Sabre Hotel ID(s) and a list of required visual content parameters and obtains all visual content for the requested hotels, up to 50. (Available in both SOAP and REST).
GetHotelDescriptiveInfoRQ* – Requestor submits Sabre Hotel ID(s) and a list of required content parameters and obtains the property descriptive content for the requested hotels. (Available in both SOAP and REST).
GetHotelContentRQ* – Requestor submits a list of specific Sabre Hotel ID(s) and a list of required descriptive and visual content parameters and obtains the requested content for the hotels, up to 50. (Available in both SOAP and REST).
GetHotelListRQ – Requestor submits a request with specific criteria, amenities, etc and receives a list of matching hotels
*SOAP version available now, REST available in Cert October 5 and Prod October 13th
Hotel Content APIs
The new Sabre Hotel content APIs can be used to identify and return hotels and their descriptive and visual content in different ways.
The GetHotelContent API accepts up to 50 Sabre Hotel IDs in a single request along with the content parameters in the request detailing what hotel details is required.
These include PropertyInfo, LocationInfo, Amenities, Descriptions (ShortDescription, Alerts, Dining, Facilities, Recreation, Services, Attractions, CancellationPolicy, DepositPolicy, Directions, Policies, SafetyInfo, TransportationInfo), Airports and AcceptedCreditCards. The final section of the request enables the size, count and categories of the hotel images which are required in the response.
Using this API, both Hotel descriptive and visual content can be retrieved for up to 50 hotels in a single request or most likely, creating a complete hotel content view for a single property.
A sample request is shown below.
If visual content is required without descriptive content, use the GetHotelMedia or GetHotelImage API to return all of the visual content for the hotel in Sabre’s Visual Content Platform. For accessing multiple/all images content in up to 50 Sabre Hotel IDs, use GetHotelMedia or for a single image per hotel in up to 300 Sabre Hotels, use GetHotelImage. A sample request for GetHotelMedia is shown below.
Hotel Location APIs
Use the new GeoSearch API to resolve a location from five different types and identify Hotels or Car Locations nearby. Place Name, IATA Airport Codes, Address, Point of Interest, and Geocode using Latitude and Longitudes can be used. Responses use a radius search which can be configured in the request using a defined distance and unit of measure (miles or kilometres).
Point of Interest Searching
Or use the Geo Autocomplete API to construct a list of location predictions for text-based geographic search queries.
Additional Hotel Utility APIs
In addition, two new Utility APIs are available enabling clients to retrieve specific type of content and which can be used in conjunction with existing Sabre Hotel services. The GetHotelChainInfo API returns a hierarchy of all supported Sabre Hotel Chain Codes, and the GetHotelContentChange API can be used to identify which hotels have updated their descriptive content during a given 2 week period. This is likely to be particularly useful to clients who store Sabre’s Hotel Descriptive content within their own content database.
All APIs are available in both SOAP/XML and REST/JSON protocols.