Skip to main content

Pagination

Pagination

Use pagination to access the response data in smaller sets.

ParameterDescriptionType
pageStartIndicates the starting record to be returned in the response.Integer
pageSizeIndicates 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.

ParameterDescriptionType
Paging/@SizeNumber of records returned in the responseInteger
Paging/@StartStarting record returned in the responseInteger
Paging/@TotalTotal number of recordsInteger

 

{
    "contentLists": {},
    "productAvailability": {
        "Hotel": {},
        "Paging": {
            "Size": 5,
            "Start": 1,
            "Total": 15
        },
        "Prices": [],
        "AdditionalPrices": [],
        "ProductResult": "Success"
    }
}