Wiki source code of Hotel Search
Version 2.1 by Giorgi Mdivnishvili on 2023/11/28 17:32
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | |
| 2 | |||
| 3 | With the parameters provided in GetHotels and GetCities reponse, it’s avaible to search hotels with the desired parameters in Hotels Search. | ||
| 4 | |||
| 5 | |||
| 6 | |||
| |
2.1 | 7 | Request example:{{code language="Json"}}{ |
| 8 | "MaxResultCount":50, <<< max result count in response | ||
| 9 | "MaxHotelCount":10, <<< max hotel count with the cheapest to expensive | ||
| 10 | "ProviderIds":[5], <<< Dynamic channel, which cheeks prices during search, if you change it to 13 request will be immediate, but prices wont be the latest and cheapest. | ||
| 11 | "ContragentContactUID":"55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e", | ||
| 12 | "CheckInDate":"2023-12-25T00:00:00", | ||
| 13 | "CheckOutDate":"2024-01-02T00:00:00", | ||
| 14 | "Adults":1, | ||
| 15 | "Children":0, | ||
| 16 | "ChildrenAges":"", in case of several children, "5,10" numbers must be separated by comma | ||
| 17 | "CountryMask":"AE", << country code | ||
| 18 | |||
| 19 | "arrivalCities": [ | ||
| |
1.1 | 20 | { |
| |
2.1 | 21 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2" << city UID where we are searching hotels |
| 22 | |||
| |
1.1 | 23 | } |
| 24 | ] | ||
| 25 | |||
| |
2.1 | 26 | } |
| 27 | {{/code}} | ||
| |
1.1 | 28 | |
| |
2.1 | 29 | |
| 30 |