GET /searchAccommodation method
GET /searchAccommodation method is used to search for accommodation. Main search parameters are:
- cityId – id of a city where you want to search for hotels. Id is received in the response of GET /locations method;
- startDate - check-in date in YYYY-MM-DD format, e.g. 2022-12-20;
- endDate – check-out date in YYYY-MM-DD format, e.g. 2022-12-21;
- rooms – in format adults:2,childrenAges:7,8 (childrenAges parameter is optional and mentioned only if search is performed for both adults and children). When search is made, e.g. for 2 adults – set adults:2.
...