Availability Pagination API Reference
Get |
availability/catalogofferingshospitality/{AvailabilityIdentifier }?pageNumber={x} For {AvailabilityIdentifier} send the value from the Availability response in CatalogOfferings/Identifier/value. Use this base path if you have not yet received or not migrated to the new credentials from Travelport:
Use this base path after you have migrated to the new credentials from Travelport (using .net instead of .com):
|
Related Content: JSON Hotel APIs Guide, Hotel Availability API Reference
Hotel Availability uses pagination by default. Hotel Availability returns up to 100 rates, or all available if fewer than 100. The response notes the total number of rates found and, if more than 100, it also returns an identifier to be used for retrieving additional pages of results. ( See the JSON Hotel APIs Guide for more details.) You can then send the Availability Pagination request to retrieve each additional page of 100 rates until all available rates have been retrieved
Request
Query Parameters
Parameter | Description | Required/Optional |
---|---|---|
pageNumber |
The page number of the page of availability results to retrieve (e.g., second page is pageNumber=2, etc.). The Availability response returns page 1, so values here should be between 2 and 5 inclusive. . You are not required to retrieve pages consecutively. |
Required |
Request Body
This API does not send a request payload.
Response
Pagination responses use the standard Hotel Availability response structure. See the Hotel Availability API Reference for documentation.