Content Services for Lodging: API Support
Postman & SOAP UI collections
Postman and SOAP UI collections have been created for Content Services for Lodging (CSL) APIs to enable you to quickly get familiar with the different ways to make requests for content. Links to download these collections are shown below:
|Collection||Version 2||Version 3 (new)|
API reference data / values
A list of all the reference data / codes used in the CSL APIs can be found here (Excel file).
Global ID to Sabre ID Property mapping list
A list of all current properties available in CSL APIs, including Global ID to Sabre ID property mapping, can be found here.
For the CERT (non production environment), developers are suggested to utilize these properties for testing: here (Excel file).
This property list is updated frequently, but to ensure access to the latest content, refer to the Resource tab on the API's page.
CSL API header format
A Customer APP ID (
CustomerAppId) is required in each request for the Get Hotel Avail, Get Hotel Details, Hotel Price Check, Get Hotel Lead Rate, and Get Hotel Rate Info APIs.
Include the following in the header (key value pair) – note the dash between Application and ID:
For SOAP, include the following in the header:
Individual APP IDs can be requested through your Sabre Account Manager when your Shopping/Booking tool is ready to go to production.
SOAP Users: If you encounter an error when sending a request similar to
Service [Service Name]not found with
code="ERR.NGHP-DISTRIBUTION.SERVICE_NOT_FOUND", check the Header message and ensure it DOES NOT have
<Service>[ServiceName]</eb:Service>in the request; only the
<Action>is required in the header.
Common error messages
A list of common error messages and their meaning can be found below:
|Error||Meaning / Action|
||Security token is invalid / expired. Create a new security token using
||API access issue. Please contact email@example.com to request access to this API|
||Request is for aggregator content but no aggregator credentials exist. Use Hotel Manager to add aggregator credentials.|