Changes for page 5. Get Price Details

Last modified by Giorgi Mdivnishvili on 2024/03/01 17:25

From version 4.1
edited by Giorgi Mdivnishvili
on 2024/02/29 12:16
Change comment: There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2024/02/29 12:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,7 +10,7 @@
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  
13 -endpoint : [[https:~~/~~/testapi.rustaronline.com/api/Hotels/Search>>url:https://testapi.rustaronline.com/api/Hotels/Search]]
13 +endpoint : [[https:~~/~~/testapi.rustaronline.com~~/~~/api/Hotels/GetPriceDetails>>https://testapi.rustaronline.com//api/Hotels/GetPriceDetails]]
14 14  
15 15  Method POST
16 16  
... ... @@ -41,16 +41,28 @@
41 41  
42 42  (% class="table-bordered" %)
43 43  (% class="info" %)|**Parameter**|**Value**|**Description**
44 -|** "MaxResultCount"**|2,|Maximum number of results to display
45 -|** "MaxHotelCount"**|2,|Maximum number of hotels to display results
46 -|** "contragentContactUID"**| "55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e",|A unique code assigned to each application user
47 -|** "countryMask"**| "TR",|Country code, which can be retrieved in [[Get Cities>>Get Cities]] method, in parameter [countrycode]
44 +|** "contragentContactUID"**| "55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e",|A unique code assigned to each application user
45 +|** "countryMask"**|"TR",|Country code, which can be retrieved in [[Get Cities>>Get Cities]] method, in parameter [countrycode]
48 48  |** "CheckInDate"**| "2024-05-06",|Check in date "YY-MM-DD"
49 49  |** "CheckOutDate"**| "2024-05-07",|Check out date "YY-MM-DD"
50 50  |** "Adults"**| 1,|number of Adults
51 51  |** "Children"**| 0,|Number of children
52 52  |** "ChildrenAges"**| "",|children ages, the must be separated with ","
53 -|** "cityUID"**| "e1344ba0-5273-4fc1-b6c4-72446260f430"|Code of the city, which is available in method [[Get Cities>>Get Cities]] in parameter [cityid]
51 +|(((
52 +**~ "priceCode"**
53 +)))|(((
54 +"CVNP",
55 +)))|
56 +|(((
57 +**"roomCategoryCode"**
58 +)))|(((
59 +"TWTW",
60 +)))|
61 +|(((
62 +**~ "hotelCode"**
63 +)))|(((
64 +"da9b081d-b963-4fb7-ad19-8c375ce60da1"
65 +)))|
54 54  
55 55  (% class="wikigeneratedid" %)
56 56  In case there is need to display hotels in whole country, no mater cities, it's possible to remove "arrivalCities" parameter.