Changes for page 4. Hotel Search
Last modified by Giorgi Mdivnishvili on 2024/09/04 09:58
From version 11.1
edited by Giorgi Mdivnishvili
on 2024/02/29 09:49
on 2024/02/29 09:49
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
-
... ... @@ -42,19 +42,24 @@ 42 42 43 43 44 44 (% class="table-bordered" %) 45 -(% class="info" %)|**Parameter**|** value**|**Description**46 -|** "MaxResultCount"**|2,| 47 -|** "MaxHotelCount"**|2,| 48 -|** "contragentContactUID"**| "55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e",| 49 -|** "countryMask"**| "TR",| 50 -|** "CheckInDate"**| "2024-05-06",| 51 -|** "CheckOutDate"**| "2024-05-07",| 52 -|** "Adults"**| 1,| 53 -|** "Children"**| 0,| 54 -|** "ChildrenAges"**| "",| 55 -|** "cityUID"**| "e1344ba0-5273-4fc1-b6c4-72446260f430"| 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] 56 56 57 +== == 57 57 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 + 58 58 == Response Example == 59 59 60 60 ... ... @@ -178,4 +178,64 @@ 178 178 } 179 179 {{/code}} 180 180 181 - 186 + 187 + 188 +(% class="table-bordered" %) 189 +(% class="info" %)|**Parameter**|**value**|**Description** 190 +|**{**| | 191 +|** "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",| 200 +|** "priceCurrency"**| "EUR",| 201 +|** "priceCurrencySrc"**| "EUR",| 202 +|** "availability"**| 3,| 203 +|** "availableRoomsCount"**| 1,| 204 +|** "totalSellPriceSrc"**| 40.70,| 205 +|** "totalSellPrice"**| 40.70,| 206 +|** "totalPriceSurcharge"**| 0.00,| 207 +|** "cancellationPolicyDescription"**| "Cancellation Policy Non refundable",| 208 +|** "cancellationPolicy"**| {| 209 +|** "noShowChargeValue"**| 100.00,| 210 +|** "noShowChargeValueType"**| "%",| 211 +|** "earlyDepartureChargeValue"**| 100.00,| 212 +|** "earlyDepartureChargeValueType"**| "%",| 213 +|** "conditions"**| [| 214 +|** {**| | 215 +|** "timeunits"**| 365,| 216 +|** "timeunitType"**| "Day",| 217 +|** "timeOffsetTypeName"**| "Before Arrival",| 218 +|** "chargeValue"**| 100.00,| 219 +|** "chargeValueType"**| "%"| 220 +|** }**| | 221 +|** ]**| | 222 +|** },**| | 223 +|** "searchId"**| 1656436810,| 224 +|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",| 225 +|** "id"**| 1656436810005000001,| 226 +|** "hotel"**| {| 227 +|** "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"**| ""| 236 +|** },**| | 237 +|** "adults"**| 1,| 238 +|** "children"**| 0,| 239 +|** "childrenAges"**| "",| 240 +|** "childrenExeptInfants"**| 0,| 241 +|** "checkInDate"**| "2024-05-06T00000",| 242 +|** "checkOutDate"**| "2024-05-07T00000",| 243 +|** "includedExtrasAmount"**| 0,| 244 +|** "extraServices"**| []| 245 +|** },**| | 246 +