Changes for page 4. Hotel Search

Last modified by Giorgi Mdivnishvili on 2024/09/04 09:58

From version 21.1
edited by Giorgi Mdivnishvili
on 2024/02/29 11:18
Change comment: There is no comment for this version
To version 18.1
edited by Giorgi Mdivnishvili
on 2024/02/29 10:35
Change comment: There is no comment for this version

Summary

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"}}
... ... @@ -187,23 +187,23 @@
187 187  (% class="table-bordered" %)
188 188  (% class="info" %)|**Parameter**|**value**|**Description**
189 189  |**{**| |
190 -|** "resultID"**| 1656436810005000001,|Unique ID of the Result
191 -|** "hotelID"**| 871186,|Unique ID of the hotel
192 -|** "providerID"**| 5,|provider id - (system internal)
193 -|** "roomCategoryCode"**| "ECO",|Special code for Room Category type
194 -|** "roomCategoryName"**| "Economic Room",|Name of the Room Category Type - definition of the ** "roomCategoryCode"**
195 -|** "mealPlanName"**| "BB",|Meal Plan code
196 -|** "placementType"**| 1,|Placement type code - in this case  1 means  single
197 -|** "placementTypeName"**| "1 Adult",|Placement type name - definition of the ** "placementType"**
198 -|** "priceCode"**| "BASERATE BB ECO",|price code for the current option
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",|
199 199  |** "priceCurrency"**| "EUR",|
200 200  |** "priceCurrencySrc"**| "EUR",|
201 -|** "availability"**| 3,|Availability
202 -|** "availableRoomsCount"**| 1,|Number of available rooms for the current type of options
202 +|** "availability"**| 3,|
203 +|** "availableRoomsCount"**| 1,|
203 203  |** "totalSellPriceSrc"**| 40.70,|
204 204  |** "totalSellPrice"**| 40.70,|
205 205  |** "totalPriceSurcharge"**| 0.00,|
206 -|** "cancellationPolicyDescription"**| "Cancellation Policy  Non refundable",|TEXT DESCRIPTION OF THE CANCELLATION POLICY
207 +|** "cancellationPolicyDescription"**| "Cancellation Policy  Non refundable",|
207 207  |** "cancellationPolicy"**| {|
208 208  |** "noShowChargeValue"**| 100.00,|
209 209  |** "noShowChargeValueType"**| "%",|
... ... @@ -219,26 +219,27 @@
219 219  |** }**| |
220 220  |** ]**| |
221 221  |** },**| |
222 -|** "searchId"**| 1656436810,|search id of the hotel
223 -|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",|Unique ID of the Hotel. Full List of the hotels is available in [[Get Hotels>>Get Hotels]] method
223 +|** "searchId"**| 1656436810,|
224 +|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",|
224 224  |** "id"**| 1656436810005000001,|
225 225  |** "hotel"**| {|
226 -|** "hotelCode"**| "10b7bc34-2a03-495e-94bc-1092b07823f7",|Unique ID of the Hotel. Full List of the hotels is available in [[Get Hotels>>Get Hotels]] method
227 -|** "hotelName"**| "Istanbul Holiday Hotel",|Full name of the Hotel
228 -|** "hotelClass"**| "~*~**",|Hotel Class in Stars
229 -|** "cityId"**| "e1344ba0-5273-4fc1-b6c4-72446260f430",|Code of the city where  hotel is located, which is available in method [[Get Cities>>Get Cities]] in parameter [cityid]
230 -|** "cityName"**| "Istanbul",|Full Name of the City
231 -|** "countryCode"**| "TR",|Country code, which can be retrieved in [[Get Cities>>Get Cities]] method, in parameter [countrycode]
232 -|** "districtId"**| "6ca0ed7e-7412-4e45-85b5-dd0d74cabc62",|District unique code, where hotel is located.
233 -|** "districtName"**| "Fatih",|Full name of the District
234 -|** "note"**| ""|Hotel note - this is optional
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"**| ""|
235 235  |** },**| |
236 -|** "adults"**| 1,|Number of the adults
237 -|** "children"**| 0,|Number of the children
238 -|** "childrenAges"**| "",|in case of children, here will be their ages
237 +|** "adults"**| 1,|
238 +|** "children"**| 0,|
239 +|** "childrenAges"**| "",|
239 239  |** "childrenExeptInfants"**| 0,|
240 -|** "checkInDate"**| "2024-05-06T00000",|date of the check in
241 -|** "checkOutDate"**| "2024-05-07T00000",|date of the check out
241 +|** "checkInDate"**| "2024-05-06T00000",|
242 +|** "checkOutDate"**| "2024-05-07T00000",|
242 242  |** "includedExtrasAmount"**| 0,|
243 243  |** "extraServices"**| []|
244 244  |** },**| |
246 +