Pagination API Reference
Get |
search/properties/{Identifier}?pageNumber={X} For {Identifier} send the value from the Search response in PropertiesResponse/Properties/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 Search by Location API Reference, Hotel Search by ID API Reference
Hotel Search uses pagination by default. The initial search response returns 25 properties, notes the total number of properties found, and includes an identifier to be used for retrieving additional pages. Call the GET pagination endpoint to retrieve each additional page of 25 properties until the end of the list is reached.
The identifier used for paging is saved for 30 minutes. A new hotel search 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 Search by Location API Reference for an example.
Example Request
GET https://api.travelport.com/11/hotel/search/properties/6789f215-02a7-4eb2-89f2-1502a7eeb2ad?pageNumber=2
Example Response
Same as the hotel search response. See the Hotel Search by Location API Reference for an example.
Error Messages
None.