Attention: Please check the Hotel Release Notes page for the latest updates and enhancements.
Availability Pagination API Reference
Get |
availability/catalogofferingshospitality/{{Identifier}}?pageNumber={X} For {Identifier} send the value from the Availability response in CatalogOfferingsHospitalityResponse/CatalogOfferings/Identifier/value. Base path: Pre-production https://api.pp.travelport.com/11/hotel/ Production https://api.travelport.com/11/hotel/ |
Related Content: Hotel Guide, Hotel Workflow Diagram, Hotel Standard Availability API Reference, Hotel Precision Availability API Reference
Hotel Availability uses pagination by default. The initial availability response returns a maximum of 100 rates per property in the request, notes the total number of rates found, and includes an identifier to be used for retrieving additional pages. Call the POST pagination endpoint to retrieve each additional page of 100 rates until the end of the list is reached.
The identifier used for paging is saved for 30 minutes. A new hotel search and/or availability request must be performed after it expires.
Request
Also see Authorization and Common Hotel API Headers.
Query Parameters
Parameter | Description | Required/Optional |
---|---|---|
pageNumber |
The page number of properties to be retrieved (e.g., second page is pageNumber=2, etc.) |
Required |
Request Body
None.
Response
Same as the hotel search response. See the Hotel Standard Availability API Reference for an example.
Example Request
GET https://api.travelport.com/11/hotel/availability/catalogofferingshospitality/e4ef5a5b-b556-45dd-9e17-5f5d01c1c2ff?pageNumber=2
Example Response
Same as the hotel search response. See the Hotel Standard Availability API Reference for an example.
Error Messages
None.