Breadcrumb
- Hotel Availability
- Request
- Use Cases
- Sort Results
Sort Results
Sort Results
The overall response sort order can be specified in the request using the sortResults parameter.
Parameter | Description | Type |
---|---|---|
sortResults | Specifies how the response results should be sorted based on availability. Values: Default, AvailableFirst | String |
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&sortResults=AvailableFirst