Changes for page 5. Get Price Details
Last modified by Giorgi Mdivnishvili on 2024/03/01 17:25
From version 7.1
edited by Giorgi Mdivnishvili
on 2024/03/01 17:23
on 2024/03/01 17:23
Change comment:
There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2024/02/29 12:16
on 2024/02/29 12:16
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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/GetPriceDetails>>https://testapi.rustaronline.com//api/Hotels/GetPriceDetails]]13 +endpoint : [[https:~~/~~/testapi.rustaronline.com/api/Hotels/Search>>url:https://testapi.rustaronline.com/api/Hotels/Search]] 14 14 15 15 Method POST 16 16 ... ... @@ -41,28 +41,16 @@ 41 41 42 42 (% class="table-bordered" %) 43 43 (% class="info" %)|**Parameter**|**Value**|**Description** 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] 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] 46 46 |** "CheckInDate"**| "2024-05-06",|Check in date "YY-MM-DD" 47 47 |** "CheckOutDate"**| "2024-05-07",|Check out date "YY-MM-DD" 48 48 |** "Adults"**| 1,|number of Adults 49 49 |** "Children"**| 0,|Number of children 50 50 |** "ChildrenAges"**| "",|children ages, the must be separated with "," 51 -|((( 52 -**~ "priceCode"** 53 -)))|((( 54 -"CVNP", 55 -)))|Price code taken from [[Hotel Search >>Hotel Search]]method 56 -|((( 57 -**"roomCategoryCode"** 58 -)))|((( 59 -"TWTW", 60 -)))|Price code taken from [[Hotel Search >>Hotel Search]]method 61 -|((( 62 -**~ "hotelCode"** 63 -)))|((( 64 -"da9b081d-b963-4fb7-ad19-8c375ce60da1" 65 -)))|Price code taken from [[Hotel Search >>Hotel Search]]method or [[Get Hotels>>Get Hotels]] 53 +|** "cityUID"**| "e1344ba0-5273-4fc1-b6c4-72446260f430"|Code of the city, which is available in method [[Get Cities>>Get Cities]] in parameter [cityid] 66 66 67 67 (% class="wikigeneratedid" %) 68 68 In case there is need to display hotels in whole country, no mater cities, it's possible to remove "arrivalCities" parameter.