Skip Navigation

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/list?chainId=12723&pageStart=1&pageSize=5&include=Attributes

Note: Pagination is only applicable for the Hotel List operation


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": { . . . },
    "hotelList": [{ . . . }].
    "paging": {
        "Size": 5,
        "Start": 1,
        "Total": 15
    }
}