Search for a room using this GET request:
https://hotels-api.smartling.com/rooms/search?startDate=1234&endDate=5678&zipCode=12345
We will only ever return up to 1,000 rooms.
Additional optional parameters are:
| rooms | integer | total number of rooms for a single property |
| beds | integer | total number of beds in each room |
| petFriendly | boolean | set to true to include only petFriendly properties |
Don't forget to look for:
invalidRequest
and
autoExpandedSearchArea
in the response.
Any valid request may still produce a result that has 0 hotels.
0 Comments