Changes for page 4. Hotel Search

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

From version 17.1
edited by Giorgi Mdivnishvili
on 2024/02/29 10:31
Change comment: There is no comment for this version
To version 7.1
edited by Giorgi Mdivnishvili
on 2024/02/28 10:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,12 +2,5 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}
2 2  
3 3  
4 -{{toc/}}
5 -{{/box}}
6 -
7 -= Method Description =
8 -
9 -
10 10  With the parameters provided in GetHotels and GetCities reponse, it’s avaible to search hotels with the desired parameters in Hotels Search.
11 11  
12 12  
... ... @@ -16,7 +16,7 @@
16 16  
17 17  
18 18  
19 -== **Request example:** ==
12 +**Request example:**
20 20  
21 21  {{code language="Json"}}
22 22  {
... ... @@ -41,28 +41,9 @@
41 41  {{/code}}
42 42  
43 43  
44 -(% class="table-bordered" %)
45 -(% class="info" %)|**Parameter**|**Value**|**Description**
46 -|** "MaxResultCount"**|2,|Maximum number of results to display
47 -|** "MaxHotelCount"**|2,|Maximum number of hotels to display results
48 -|** "contragentContactUID"**| "55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e",|A unique code assigned to each application user
49 -|** "countryMask"**| "TR",|Country code, which can be retrieved in [[Get Cities>>Get Cities]] method, in parameter [countrycode]
50 -|** "CheckInDate"**| "2024-05-06",|Check in date "YY-MM-DD"
51 -|** "CheckOutDate"**| "2024-05-07",|Check out date "YY-MM-DD"
52 -|** "Adults"**| 1,|number of Adults
53 -|** "Children"**| 0,|Number of children
54 -|** "ChildrenAges"**| "",|children ages, the must be separated with ","
55 -|** "cityUID"**| "e1344ba0-5273-4fc1-b6c4-72446260f430"|Code of the city, which is available in method [[Get Cities>>Get Cities]] in parameter [cityid]
37 +Response Example
56 56  
57 -== ==
58 58  
59 -(% class="wikigeneratedid" %)
60 -In case there is need to display hotels in whole country, no mater cities, it's possible to remove "arrivalCities" parameter.
61 -
62 -
63 -== Response Example ==
64 -
65 -
66 66  {{code language="json"}}
67 67  {
68 68   "result": [