Changes for page 4. Hotel Search

Last modified by Giorgi Mdivnishvili on 2024/09/04 09:58

From version 3.1
edited by Giorgi Mdivnishvili
on 2023/11/28 17:34
Change comment: There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2023/11/28 17:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,23 +4,21 @@
4 4  
5 5  
6 6  
7 -Request example:
8 -
9 -{{code language="Json"}}
10 -{
11 - "MaxResultCount":50,
12 - "MaxHotelCount":10,
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.
13 13   "ContragentContactUID":"55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e",
14 14   "CheckInDate":"2023-12-25T00:00:00",
15 15   "CheckOutDate":"2024-01-02T00:00:00",
16 16   "Adults":1,
17 - "Children":2,
18 - "ChildrenAges":"5,10",
19 - "CountryMask":"AE",
15 + "Children":0,
16 + "ChildrenAges":"", in case of several children, "5,10" numbers must be separated by comma
17 + "CountryMask":"AE", << country code
20 20  
21 21   "arrivalCities": [
22 22   {
23 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2"
21 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2" << city UID where we are searching hotels
24 24  
25 25   }
26 26   ]
... ... @@ -29,5 +29,4 @@
29 29  {{/code}}
30 30  
31 31  
32 -
33 33