Changes for page 5. Get Price Details
Last modified by Giorgi Mdivnishvili on 2024/03/01 17:25
From version 3.1
edited by Giorgi Mdivnishvili
on 2024/02/29 11:53
on 2024/02/29 11:53
Change comment:
There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2024/02/29 12:23
on 2024/02/29 12:23
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/ 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. ... ... @@ -62,8 +62,8 @@ 62 62 { 63 63 "result": [ 64 64 { 65 - "resultID": 165644 7933000000001,66 - "hotelID": 715569,77 + "resultID": 1656448260000000001, 78 + "hotelID": 177798, 67 67 "providerID": 8, 68 68 "roomCategoryCode": "TWTW", 69 69 "roomCategoryName": "Deluxe Guest room, 2 Twins", ... ... @@ -95,9 +95,9 @@ 95 95 } 96 96 ] 97 97 }, 98 - "searchId": 170919 3102,110 + "searchId": 1709194519, 99 99 "hotelCode": "da9b081d-b963-4fb7-ad19-8c375ce60da1", 100 - "id": 165644 7933000000001,112 + "id": 1656448260000000001, 101 101 "hotel": { 102 102 "hotelCode": "da9b081d-b963-4fb7-ad19-8c375ce60da1", 103 103 "hotelName": "Delta Hotels Istanbul Halic",