Changes for page 2. CalcPackage

Last modified by Giorgi Mdivnishvili on 2024/04/12 18:58

From version 10.1
edited by Giorgi Mdivnishvili
on 2024/01/09 07:18
Change comment: There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2023/12/14 12:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -2. CalcPackage
1 +CalcPackage
Content
... ... @@ -9,10 +9,10 @@
9 9  The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods.
10 10  
11 11  
12 -== Endpoint URL - [POST] ==
12 +== Endpoint URL - [GET] ==
13 13  
14 14  {{info}}
15 -[[https:~~/~~/integration.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://integration.kazunion.com/api/OnlyHotelPackages/CalcPackage]]
15 +[[https:~~/~~/online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage]]
16 16  {{/info}}
17 17  
18 18  
... ... @@ -76,8 +76,8 @@
76 76   "roomCategoryName": "string",
77 77   "placementTypeName": "string",
78 78   "placementDescription": "string",
79 - "checkInDate": "2023-12-14T08:49:36.703Z",
80 - "checkOutDate": "2023-12-14T08:49:36.703Z",
79 + "checkInDate": "2023-12-14T08:42:01.525Z",
80 + "checkOutDate": "2023-12-14T08:42:01.525Z",
81 81   "adults": 0,
82 82   "children": 0,
83 83   "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
... ... @@ -200,140 +200,37 @@
200 200  
201 201  === Schema ===
202 202  
203 -{{success}}
204 -CalcOnlyHotelPackageResponse{
205 -
206 -|error|boolean
207 -|errorCode|string
208 -nullable: true
209 -|errorDescription|string
210 -nullable: true
211 -|userErrorDescription|string
212 -nullable: true
213 -|package|OnlyHotelPackage{(((
214 -|id|string
215 -nullable: true
216 -|priceCurrency|string
217 -nullable: true
218 -|totalPrice|number($double)
219 -|agentCommissionPercent|number($double)
220 -|agentCommissionAmount|number($double)
221 -|hotel|PackageHotel{(((
222 -|hotelPriceId|string
223 -nullable: true
224 -|providerId|integer($int32)
225 -|hotelName|string
226 -nullable: true
227 -|hotelCode|string
228 -nullable: true
229 -|nigths|integer($int32)
230 -|mealPlan|string
231 -nullable: true
232 -|hotelClass|string
233 -nullable: true
234 -|availabilityType|RoomAvailabilityTypeEnumstringEnum:
235 -[ OnRequest, FreeSale, StopSale ]
236 -|availableRoomsCount|integer($int32)
237 -|fewRooms|boolean
238 -|roomCategoryCode|string
239 -nullable: true
240 -|roomCategoryName|string
241 -nullable: true
242 -|placementTypeName|string
243 -nullable: true
244 -|placementDescription|string
245 -nullable: true
246 -|checkInDate|string($date-time)
247 -|checkOutDate|string($date-time)
248 -|adults|integer($int32)
249 -|children|integer($int32)
250 -|districtUID|string($uuid)
251 -nullable: true
252 -|districtName|string
253 -nullable: true
254 -|cityUID|string($uuid)
255 -nullable: true
256 -|cityName|string
257 -nullable: true
258 -|countryCode|string
259 -nullable: true
260 -|countryName|string
261 -nullable: true
262 -|hasAlcohol|boolean
263 -|hasFreeWifi|boolean
264 -|hasMetro|boolean
265 -|hasPool|boolean
266 -|hasMall|boolean
267 -|cancellationPolicyDescription|string
268 -nullable: true
269 -|cancellationPolicy|CancellationPolicyExchange{(((
270 -|cancellationPolicyCode|string
271 -nullable: true
272 -|noShowChargeValue|number($double)
273 -nullable: true
274 -|noShowChargeValueType|string
275 -nullable: true
276 -|earlyDepartureChargeValue|number($double)
277 -nullable: true
278 -|earlyDepartureChargeValueType|string
279 -nullable: true
280 -|conditions|[
281 -nullable: trueCancellationPolicyConditionExchange{(((
282 -|timeunits|integer($int32)
283 -|timeunitType|string
284 -nullable: true
285 -|timeOffsetTypeName|string
286 -nullable: true
287 -|chargeValue|number($double)
288 -nullable: true
289 -|chargeValueType|string
290 -nullable: true
291 -
203 +{{code language="none"}}
204 +[Hotel{
205 +hotelCode string
206 +nullable: true
207 +hotelName string
208 +nullable: true
209 +hotelClass string
210 +nullable: true
211 +cityUID string($uuid)
212 +nullable: true
213 +countryCode string
214 +nullable: true
215 +countryName string
216 +nullable: true
217 +districtUID string($uuid)
218 +nullable: true
219 +cityName string
220 +nullable: true
221 +districtName string
222 +nullable: true
223 +hotelType HotelTypeEnumstring
224 +Enum:
225 +[ CityHotel, BeachHotel, SecondLineBeach ]
226 +latitude string
227 +nullable: true
228 +longitude string
229 +nullable: true
230 +hasAlcohol boolean
231 +hasFreeWifi boolean
232 +hasMetro boolean
233 +hasPool boolean
234 +hasMall boolean
292 292  }]
293 -)))
294 -
295 -}
296 -)))
297 -
298 -}
299 -)))
300 -|extraServices|[
301 -nullable: trueHotelExtraServiceBase{(((
302 -|extraServiceCode|string
303 -nullable: true
304 -|extraServiceTypeCode|string
305 -nullable: true
306 -|isMandatory|integer($int32)
307 -|extraServiceName|string
308 -nullable: true
309 -|minimalServiceAmount|number($double)
310 -|includedPriceCode|string
311 -nullable: true
312 -|prices|[
313 -nullable: trueHotelExtraServicePriceBase{(((
314 -|extraServicePriceCode|string
315 -nullable: true
316 -|displayName|string
317 -nullable: true
318 -|restrictionInfo|string
319 -nullable: true
320 -|additionalInfo|string
321 -nullable: true
322 -|price|number($double)
323 -|extraPrice|number($double)
324 -|currency|string
325 -nullable: true
326 -
327 -}]
328 -)))
329 -
330 -}]
331 -)))
332 -
333 -}
334 -)))
335 -
336 -}
337 -{{/success}}
338 -
339 -
236 +{{/code}}