Breadcrumb
- Hotel Availability
- Request
- Use Cases
- Pagination
Pagination
Pagination
Use pagination to access the response data in smaller sets.
Parameter | Description | Type |
---|---|---|
pageStart | Indicates the starting record to be returned in the response. | Integer |
pageSize | Indicates the number of records to return in the response (0 = return maximum size of 50). | Integer |
Sample Request
/v1/api/hotel/availability?hotelId=13098&chainId=12723&adults=2&startDate=2022-12-17&endDate=2022-12-20&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&pageStart=1&pageSize=15
Successful Response (partial)
A successful response will return a Paging node.
Parameter | Description | Type |
---|---|---|
Paging/@Size | Number of records returned in the response | Integer |
Paging/@Start | Starting record returned in the response | Integer |
Paging/@Total | Total number of records | Integer |
{
"contentLists": {},
"productAvailability": {
"Hotel": {},
"Paging": {
"Size": 5,
"Start": 1,
"Total": 15
},
"Prices": [],
"AdditionalPrices": [],
"ProductResult": "Success"
}
}