Changes for page 4. Hotel Search
Last modified by Giorgi Mdivnishvili on 2024/09/04 09:58
From version 24.1
edited by Giorgi Mdivnishvili
on 2024/02/29 11:22
on 2024/02/29 11:22
Change comment:
There is no comment for this version
To version 18.1
edited by Giorgi Mdivnishvili
on 2024/02/29 10:35
on 2024/02/29 10:35
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,6 +15,7 @@ 15 15 Method POST 16 16 17 17 18 + 18 18 == **Request example:** == 19 19 20 20 {{code language="Json"}} ... ... @@ -40,8 +40,6 @@ 40 40 {{/code}} 41 41 42 42 43 -== Definition of Request Parameters == 44 - 45 45 (% class="table-bordered" %) 46 46 (% class="info" %)|**Parameter**|**Value**|**Description** 47 47 |** "MaxResultCount"**|2,|Maximum number of results to display ... ... @@ -55,8 +55,8 @@ 55 55 |** "ChildrenAges"**| "",|children ages, the must be separated with "," 56 56 |** "cityUID"**| "e1344ba0-5273-4fc1-b6c4-72446260f430"|Code of the city, which is available in method [[Get Cities>>Get Cities]] in parameter [cityid] 57 57 57 +== == 58 58 59 - 60 60 (% class="wikigeneratedid" %) 61 61 In case there is need to display hotels in whole country, no mater cities, it's possible to remove "arrivalCities" parameter. 62 62 ... ... @@ -63,6 +63,7 @@ 63 63 64 64 == Response Example == 65 65 65 + 66 66 {{code language="json"}} 67 67 { 68 68 "result": [ ... ... @@ -184,28 +184,27 @@ 184 184 {{/code}} 185 185 186 186 187 -== Definition of Response Parameters == 188 188 189 189 (% class="table-bordered" %) 190 190 (% class="info" %)|**Parameter**|**value**|**Description** 191 191 |**{**| | 192 -|** "resultID"**| 1656436810005000001,| UniqueID of the Result193 -|** "hotelID"**| 871186,| UniqueID of the hotel194 -|** "providerID"**| 5,| providerid - (system internal)195 -|** "roomCategoryCode"**| "ECO",| Specialcode for Room Category type196 -|** "roomCategoryName"**| "Economic Room",| Nameof the Room Category Type - definition of the ** "roomCategoryCode"**197 -|** "mealPlanName"**| "BB",| MealPlan code198 -|** "placementType"**| 1,| Placementtype code - in this case 1 means single199 -|** "placementTypeName"**| "1 Adult",| Placementtype name - definition of the ** "placementType"**200 -|** "priceCode"**| "BASERATE BB ECO",| pricecode for the current option191 +|** "resultID"**| 1656436810005000001,| 192 +|** "hotelID"**| 871186,| 193 +|** "providerID"**| 5,| 194 +|** "roomCategoryCode"**| "ECO",| 195 +|** "roomCategoryName"**| "Economic Room",| 196 +|** "mealPlanName"**| "BB",| 197 +|** "placementType"**| 1,| 198 +|** "placementTypeName"**| "1 Adult",| 199 +|** "priceCode"**| "BASERATE BB ECO",| 201 201 |** "priceCurrency"**| "EUR",| 202 202 |** "priceCurrencySrc"**| "EUR",| 203 -|** "availability"**| 3,| Availability204 -|** "availableRoomsCount"**| 1,| Numberof available rooms for the current type of options202 +|** "availability"**| 3,| 203 +|** "availableRoomsCount"**| 1,| 205 205 |** "totalSellPriceSrc"**| 40.70,| 206 206 |** "totalSellPrice"**| 40.70,| 207 207 |** "totalPriceSurcharge"**| 0.00,| 208 -|** "cancellationPolicyDescription"**| "Cancellation Policy Non refundable",| TEXTDESCRIPTION OF THE CANCELLATION POLICY207 +|** "cancellationPolicyDescription"**| "Cancellation Policy Non refundable",| 209 209 |** "cancellationPolicy"**| {| 210 210 |** "noShowChargeValue"**| 100.00,| 211 211 |** "noShowChargeValueType"**| "%",| ... ... @@ -221,26 +221,27 @@ 221 221 |** }**| | 222 222 |** ]**| | 223 223 |** },**| | 224 -|** "searchId"**| 1656436810,| searchid of the hotel225 -|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",| UniqueID of the Hotel. Full List of the hotels is available in [[Get Hotels>>Get Hotels]] method223 +|** "searchId"**| 1656436810,| 224 +|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",| 226 226 |** "id"**| 1656436810005000001,| 227 227 |** "hotel"**| {| 228 -|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",| UniqueID of the Hotel. Full List of the hotels is available in [[Get Hotels>>Get Hotels]] method229 -|** "hotelName"**| "Istanbul Holiday Hotel",| Fullname of the Hotel230 -|** "hotelClass"**| "~*~**",| HotelClass in Stars231 -|** "cityId"**| "e1344ba0-5273-4fc1-b6c4-72446260f430",| Codeof the city where hotel is located, which is available in method [[Get Cities>>Get Cities]] in parameter [cityid]232 -|** "cityName"**| "Istanbul",| FullName of the City233 -|** "countryCode"**| "TR",| Countrycode, which can be retrieved in [[Get Cities>>Get Cities]] method, in parameter [countrycode]234 -|** "districtId"**| "6ca0ed7e-7412-4e45-85b5-dd0d74cabc62",| Districtunique code, where hotel is located.235 -|** "districtName"**| "Fatih",| Fullname of the District236 -|** "note"**| ""| Hotelnote - this is optional227 +|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",| 228 +|** "hotelName"**| "Istanbul Holiday Hotel",| 229 +|** "hotelClass"**| "~*~**",| 230 +|** "cityId"**| "e1344ba0-5273-4fc1-b6c4-72446260f430",| 231 +|** "cityName"**| "Istanbul",| 232 +|** "countryCode"**| "TR",| 233 +|** "districtId"**| "6ca0ed7e-7412-4e45-85b5-dd0d74cabc62",| 234 +|** "districtName"**| "Fatih",| 235 +|** "note"**| ""| 237 237 |** },**| | 238 -|** "adults"**| 1,| Numberof the adults239 -|** "children"**| 0,| Numberof the children240 -|** "childrenAges"**| "",| incase of children, here will be their ages237 +|** "adults"**| 1,| 238 +|** "children"**| 0,| 239 +|** "childrenAges"**| "",| 241 241 |** "childrenExeptInfants"**| 0,| 242 -|** "checkInDate"**| "2024-05-06T00000",| dateof the check in243 -|** "checkOutDate"**| "2024-05-07T00000",| dateof the check out241 +|** "checkInDate"**| "2024-05-06T00000",| 242 +|** "checkOutDate"**| "2024-05-07T00000",| 244 244 |** "includedExtrasAmount"**| 0,| 245 245 |** "extraServices"**| []| 246 246 |** },**| | 246 +