Changes for page 4. Hotel Search

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

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

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,12 @@
1 +{{box cssClass="floatinginfobox" title="**Contents**"}}
1 1  
2 2  
4 +{{toc/}}
5 +{{/box}}
6 +
7 += Method Description =
8 +
9 +
3 3  With the parameters provided in GetHotels and GetCities reponse, it’s avaible to search hotels with the desired parameters in Hotels Search.
4 4  
5 5  
... ... @@ -9,7 +9,7 @@
9 9  
10 10  
11 11  
12 -**Request example:**
19 +== **Request example:** ==
13 13  
14 14  {{code language="Json"}}
15 15  {
... ... @@ -34,9 +34,28 @@
34 34  {{/code}}
35 35  
36 36  
37 -Response Example
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]
38 38  
57 +== ==
39 39  
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 +
40 40  {{code language="json"}}
41 41  {
42 42   "result": [