Wiki source code of 4. CalcCheckout

Version 5.1 by Giorgi Mdivnishvili on 2024/04/11 07:33

Hide last authors
Giorgi Mdivnishvili 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
Giorgi Mdivnishvili 2.1 2
3
Giorgi Mdivnishvili 1.1 4 {{toc/}}
5 {{/box}}
6
Giorgi Mdivnishvili 2.1 7 = Method Description =
Giorgi Mdivnishvili 1.1 8
Giorgi Mdivnishvili 2.1 9 This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book.
Giorgi Mdivnishvili 1.1 10
Giorgi Mdivnishvili 4.1 11
Giorgi Mdivnishvili 2.1 12 == Endpoint URL - [POST] ==
Giorgi Mdivnishvili 1.1 13
Giorgi Mdivnishvili 2.1 14 {{info}}
Giorgi Mdivnishvili 4.1 15 [[https:~~/~~/integration.kazunion.com/api/Checkout/CalcCheckout>>https://integration.kazunion.com/api/Checkout/CalcCheckout]]
Giorgi Mdivnishvili 2.1 16 {{/info}}
Giorgi Mdivnishvili 1.1 17
18
Giorgi Mdivnishvili 2.1 19 == Request Parameters ==
Giorgi Mdivnishvili 1.1 20
Giorgi Mdivnishvili 2.1 21 (% class="box infomessage" %)
22 (((
23 None
24 )))
Giorgi Mdivnishvili 1.1 25
26
Giorgi Mdivnishvili 2.1 27 == Request Body ==
Giorgi Mdivnishvili 1.1 28
Giorgi Mdivnishvili 2.1 29 {{code language="Json"}}
30 {
Giorgi Mdivnishvili 5.1 31 "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
32 "calcTourPackageRequests": [
33 {
34 "packageId": "string",
35 "extraServicePriceCodes": [
36 "string"
37 ],
38 "flightPassengers": [
39 {
40 "id": "string",
41 "selectedForwardBaggageCode": "string",
42 "selectedBackwardBaggageCode": "string"
43 }
44 ],
45 "includeInsurance": true,
46 "refreshPrices": true
47 }
Giorgi Mdivnishvili 2.1 48 ],
Giorgi Mdivnishvili 5.1 49 "calcOnlyHotelPackageRequests": [
Giorgi Mdivnishvili 2.1 50 {
Giorgi Mdivnishvili 5.1 51 "packageId": "string",
52 "extraServicePriceCodes": [
53 "string"
54 ],
55 "includeInsurance": true,
56 "refreshPrices": true
Giorgi Mdivnishvili 2.1 57 }
58 ],
Giorgi Mdivnishvili 5.1 59 "calcOnlyAviaPackageRequests": [
60 {
61 "packageId": "string",
62 "refreshPrices": true,
63 "flightPassengers": [
64 {
65 "id": "string",
66 "selectedForwardBaggageCode": "string",
67 "selectedBackwardBaggageCode": "string"
68 }
69 ]
70 }
71 ],
72 "hotels": [
73 {
74 "hotelPriceId": "string",
75 "agentConfirmationNumber": "string",
76 "note": "string",
77 "touristIds": [
78 "3fa85f64-5717-4562-b3fc-2c963f66afa6"
79 ]
80 }
81 ],
82 "tourists": [
83 {
84 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
85 "firstName": "string",
86 "lastName": "string",
87 "birthDate": "2024-04-11T03:34:15.828Z",
88 "passportNumber": "string",
89 "passportExpiry": "2024-04-11T03:34:15.828Z",
90 "passportIssue": "2024-04-11T03:34:15.828Z",
91 "citizenship": "string",
92 "tin": "string",
93 "isMale": true,
94 "flightIds": [
95 "string"
96 ],
97 "arrivalFlightInfo": {
98 "flightNumber": "string",
99 "terminalCode": "string",
100 "date": "2024-04-11T03:34:15.828Z",
101 "time": "string"
102 },
103 "departureFlightInfo": {
104 "flightNumber": "string",
105 "terminalCode": "string",
106 "date": "2024-04-11T03:34:15.828Z",
107 "time": "string"
108 },
109 "selectedVisaId": "string",
110 "transfers": [
111 {
112 "id": "string",
113 "selectedTransferPriceId": "string"
114 }
115 ]
116 }
117 ],
118 "note": "string",
119 "contactPhone": "string"
Giorgi Mdivnishvili 2.1 120 }
Giorgi Mdivnishvili 5.1 121
Giorgi Mdivnishvili 2.1 122 {{/code}}
Giorgi Mdivnishvili 1.1 123
Giorgi Mdivnishvili 2.1 124 (% class="wikigeneratedid" id="HRequestBodyexample" %)
125 (% id="cke_bm_10575S" style="display:none" %)
Giorgi Mdivnishvili 1.1 126
127
128
Giorgi Mdivnishvili 2.1 129 == Request Body example ==
Giorgi Mdivnishvili 1.1 130
Giorgi Mdivnishvili 2.1 131 {{code language="Json"}}
132 {
Giorgi Mdivnishvili 4.1 133 "calcTourPackageRequests": [
134 {
135 "refreshPrices": true,
136 "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d",
137 "flightPassengers": [
138 {
139 "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1",
140 "selectedForwardBaggageCode": "INCLUDED",
141 "selectedBackwardBaggageCode": "INCLUDED"
142 },
143 {
144 "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2",
145 "selectedForwardBaggageCode": "INCLUDED",
146 "selectedBackwardBaggageCode": "INCLUDED"
147 }
148 ],
149 "extraServicePriceCodes": [],
150 "includeInsurance": true
151 }
152 ],
153 "calcOnlyHotelPackageRequests": [],
154 "calcOnlyAviaPackageRequests": []
Giorgi Mdivnishvili 2.1 155 }
156 {{/code}}
157
158
159 == Response ==
160
161 {{code language="json"}}
162 {
163 "error": true,
164 "errorCode": "string",
165 "errorDescription": "string",
166 "userErrorDescription": "string",
167 "package": {
168 "cacheKey": "string",
169 "id": "string",
170 "priceCurrency": "string",
171 "totalPrice": 0,
172 "agentCommissionPercent": 0,
173 "agentCommissionAmount": 0,
174 "includedExtrasAmount": 0,
175 "priceDifference": 0,
176 "hotel": {
177 "hotelPriceId": "string",
178 "providerId": 0,
179 "hotelName": "string",
180 "hotelCode": "string",
181 "nigths": 0,
182 "mealPlan": "string",
183 "hotelClass": "string",
184 "availabilityType": "OnRequest",
185 "availableRoomsCount": 0,
186 "fewRooms": true,
187 "roomCategoryCode": "string",
188 "roomCategoryName": "string",
189 "placementTypeName": "string",
190 "placementDescription": "string",
191 "checkInDate": "2023-12-26T12:55:59.433Z",
192 "checkOutDate": "2023-12-26T12:55:59.433Z",
193 "adults": 0,
194 "children": 0,
195 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
196 "districtName": "string",
197 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
198 "cityName": "string",
199 "countryCode": "string",
200 "countryName": "string",
201 "hasAlcohol": true,
202 "hasFreeWifi": true,
203 "hasMetro": true,
204 "hasPool": true,
205 "hasMall": true,
206 "cancellationPolicyDescription": "string",
207 "cancellationPolicy": {
208 "cancellationPolicyCode": "string",
209 "noShowChargeValue": 0,
210 "noShowChargeValueType": "string",
211 "earlyDepartureChargeValue": 0,
212 "earlyDepartureChargeValueType": "string",
213 "conditions": [
214 {
215 "timeunits": 0,
216 "timeunitType": "string",
217 "timeOffsetTypeName": "string",
218 "chargeValue": 0,
219 "chargeValueType": "string"
220 }
221 ]
222 }
223 },
224 "flight": {
225 "id": "string",
226 "departureDate": "2023-12-26T12:55:59.433Z",
227 "returnDate": "2023-12-26T12:55:59.433Z",
228 "departureTicketsLeft": 0,
229 "returnTicketsLeft": 0,
230 "departureAvailabilityType": "OnRequest",
231 "returnAvailabilityType": "OnRequest",
232 "isTwoWay": true,
233 "sameBaggageForAll": true,
234 "totalBaggage": true,
235 "departureSegments": [
236 {
237 "airlineCode": "string",
238 "airlineName": "string",
239 "flightCode": "string",
240 "class": "string",
241 "lugageWeight": 0,
242 "handLugageWeight": 0,
243 "departureFlightDate": "2023-12-26T12:55:59.433Z",
244 "departureCountryName": "string",
245 "departureCityName": "string",
246 "departureAirportCode": "string",
247 "departureAirportName": "string",
248 "departureTerminalCode": "string",
249 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
250 "arrivalCountryName": "string",
251 "arrivalCityName": "string",
252 "arrivalAirportCode": "string",
253 "arrivalAirportName": "string",
254 "arrivalTerminalCode": "string",
255 "flightDuration": "string"
256 }
257 ],
258 "returnSegments": [
259 {
260 "airlineCode": "string",
261 "airlineName": "string",
262 "flightCode": "string",
263 "class": "string",
264 "lugageWeight": 0,
265 "handLugageWeight": 0,
266 "departureFlightDate": "2023-12-26T12:55:59.433Z",
267 "departureCountryName": "string",
268 "departureCityName": "string",
269 "departureAirportCode": "string",
270 "departureAirportName": "string",
271 "departureTerminalCode": "string",
272 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
273 "arrivalCountryName": "string",
274 "arrivalCityName": "string",
275 "arrivalAirportCode": "string",
276 "arrivalAirportName": "string",
277 "arrivalTerminalCode": "string",
278 "flightDuration": "string"
279 }
280 ],
281 "passengers": [
282 {
283 "id": "string",
284 "isAdult": true,
285 "selectedForwardBaggageCode": "string",
286 "selectedBackwardBaggageCode": "string",
287 "forwardBaggages": [
288 {
289 "baggageCode": "string",
290 "description": "string",
291 "price": 0,
292 "currency": "string",
293 "included": true
294 }
295 ],
296 "backwardBaggages": [
297 {
298 "baggageCode": "string",
299 "description": "string",
300 "price": 0,
301 "currency": "string",
302 "included": true
303 }
304 ]
305 }
306 ]
307 },
308 "extraServices": [
309 {
310 "extraServiceCode": "string",
311 "extraServiceTypeCode": "string",
312 "isMandatory": 0,
313 "extraServiceName": "string",
314 "minimalServiceAmount": 0,
315 "includedPriceCode": "string",
316 "prices": [
317 {
318 "extraServicePriceCode": "string",
319 "displayName": "string",
320 "restrictionInfo": "string",
321 "additionalInfo": "string",
322 "price": 0,
323 "extraPrice": 0,
324 "currency": "string"
325 }
326 ]
327 }
328 ],
329 "insurancePrice": {
330 "name": "string",
331 "price": 0,
332 "priceSurcarge": 0,
333 "actualStartDate": "2023-12-26T12:55:59.433Z",
334 "actualEndDate": "2023-12-26T12:55:59.433Z",
335 "optional": true,
336 "includedInPackagePrice": true
337 }
338 },
339 "altPackages": [
340 {
341 "cacheKey": "string",
342 "id": "string",
343 "priceCurrency": "string",
344 "totalPrice": 0,
345 "agentCommissionPercent": 0,
346 "agentCommissionAmount": 0,
347 "includedExtrasAmount": 0,
348 "priceDifference": 0,
349 "hotel": {
350 "hotelPriceId": "string",
351 "providerId": 0,
352 "hotelName": "string",
353 "hotelCode": "string",
354 "nigths": 0,
355 "mealPlan": "string",
356 "hotelClass": "string",
357 "availabilityType": "OnRequest",
358 "availableRoomsCount": 0,
359 "fewRooms": true,
360 "roomCategoryCode": "string",
361 "roomCategoryName": "string",
362 "placementTypeName": "string",
363 "placementDescription": "string",
364 "checkInDate": "2023-12-26T12:55:59.433Z",
365 "checkOutDate": "2023-12-26T12:55:59.433Z",
366 "adults": 0,
367 "children": 0,
368 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
369 "districtName": "string",
370 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
371 "cityName": "string",
372 "countryCode": "string",
373 "countryName": "string",
374 "hasAlcohol": true,
375 "hasFreeWifi": true,
376 "hasMetro": true,
377 "hasPool": true,
378 "hasMall": true,
379 "cancellationPolicyDescription": "string",
380 "cancellationPolicy": {
381 "cancellationPolicyCode": "string",
382 "noShowChargeValue": 0,
383 "noShowChargeValueType": "string",
384 "earlyDepartureChargeValue": 0,
385 "earlyDepartureChargeValueType": "string",
386 "conditions": [
387 {
388 "timeunits": 0,
389 "timeunitType": "string",
390 "timeOffsetTypeName": "string",
391 "chargeValue": 0,
392 "chargeValueType": "string"
393 }
394 ]
395 }
396 },
397 "flight": {
398 "id": "string",
399 "departureDate": "2023-12-26T12:55:59.433Z",
400 "returnDate": "2023-12-26T12:55:59.433Z",
401 "departureTicketsLeft": 0,
402 "returnTicketsLeft": 0,
403 "departureAvailabilityType": "OnRequest",
404 "returnAvailabilityType": "OnRequest",
405 "isTwoWay": true,
406 "sameBaggageForAll": true,
407 "totalBaggage": true,
408 "departureSegments": [
409 {
410 "airlineCode": "string",
411 "airlineName": "string",
412 "flightCode": "string",
413 "class": "string",
414 "lugageWeight": 0,
415 "handLugageWeight": 0,
416 "departureFlightDate": "2023-12-26T12:55:59.433Z",
417 "departureCountryName": "string",
418 "departureCityName": "string",
419 "departureAirportCode": "string",
420 "departureAirportName": "string",
421 "departureTerminalCode": "string",
422 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
423 "arrivalCountryName": "string",
424 "arrivalCityName": "string",
425 "arrivalAirportCode": "string",
426 "arrivalAirportName": "string",
427 "arrivalTerminalCode": "string",
428 "flightDuration": "string"
429 }
430 ],
431 "returnSegments": [
432 {
433 "airlineCode": "string",
434 "airlineName": "string",
435 "flightCode": "string",
436 "class": "string",
437 "lugageWeight": 0,
438 "handLugageWeight": 0,
439 "departureFlightDate": "2023-12-26T12:55:59.433Z",
440 "departureCountryName": "string",
441 "departureCityName": "string",
442 "departureAirportCode": "string",
443 "departureAirportName": "string",
444 "departureTerminalCode": "string",
445 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
446 "arrivalCountryName": "string",
447 "arrivalCityName": "string",
448 "arrivalAirportCode": "string",
449 "arrivalAirportName": "string",
450 "arrivalTerminalCode": "string",
451 "flightDuration": "string"
452 }
453 ],
454 "passengers": [
455 {
456 "id": "string",
457 "isAdult": true,
458 "selectedForwardBaggageCode": "string",
459 "selectedBackwardBaggageCode": "string",
460 "forwardBaggages": [
461 {
462 "baggageCode": "string",
463 "description": "string",
464 "price": 0,
465 "currency": "string",
466 "included": true
467 }
468 ],
469 "backwardBaggages": [
470 {
471 "baggageCode": "string",
472 "description": "string",
473 "price": 0,
474 "currency": "string",
475 "included": true
476 }
477 ]
478 }
479 ]
480 },
481 "extraServices": [
482 {
483 "extraServiceCode": "string",
484 "extraServiceTypeCode": "string",
485 "isMandatory": 0,
486 "extraServiceName": "string",
487 "minimalServiceAmount": 0,
488 "includedPriceCode": "string",
489 "prices": [
490 {
491 "extraServicePriceCode": "string",
492 "displayName": "string",
493 "restrictionInfo": "string",
494 "additionalInfo": "string",
495 "price": 0,
496 "extraPrice": 0,
497 "currency": "string"
498 }
499 ]
500 }
501 ],
502 "insurancePrice": {
503 "name": "string",
504 "price": 0,
505 "priceSurcarge": 0,
506 "actualStartDate": "2023-12-26T12:55:59.433Z",
507 "actualEndDate": "2023-12-26T12:55:59.433Z",
508 "optional": true,
509 "includedInPackagePrice": true
510 }
511 }
512 ],
513 "refreshPriceResult": "Success"
514 }
515 {{/code}}
516
517
518 === Response example ===
519
520 {{code language="Json"}}
521 {
522 "package": {
523 "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57",
524 "priceCurrency": "USD",
525 "totalPrice": 937.16,
526 "agentCommissionPercent": 0.00,
527 "agentCommissionAmount": 0.00,
528 "includedExtrasAmount": 0,
529 "priceDifference": 0,
530 "hotel": {
531 "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f",
532 "providerId": 13,
533 "hotelName": "Mercure Dubai Barsha Heights Suites Apartments",
534 "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14",
535 "nigths": 2,
536 "mealPlan": "BB",
537 "hotelClass": "4",
538 "availabilityType": "StopSale",
539 "availableRoomsCount": 0,
540 "fewRooms": true,
541 "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4",
542 "roomCategoryName": "1 B/R Apartment City View",
543 "placementTypeName": "SNGL + CHILD(2-5.99)sharing",
544 "checkInDate": "2024-02-15T20:00:00.000Z",
545 "checkOutDate": "2024-02-17T20:00:00.000Z",
546 "adults": 1,
547 "children": 1,
548 "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e",
549 "districtName": "Al Barsha",
550 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
551 "cityName": "Dubai",
552 "countryCode": "AE",
553 "countryName": "United Arab Emirates",
554 "hasAlcohol": false,
555 "hasFreeWifi": true,
556 "hasMetro": true,
557 "hasPool": true,
558 "hasMall": false,
559 "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %",
560 "cancellationPolicy": {
561 "noShowChargeValue": 100.00,
562 "noShowChargeValueType": "%",
563 "earlyDepartureChargeValue": 100.00,
564 "earlyDepartureChargeValueType": "%",
565 "conditions": [
566 {
567 "timeunits": 5,
568 "timeunitType": "Day",
569 "timeOffsetTypeName": "Before Arrival",
570 "chargeValue": 100.00,
571 "chargeValueType": "%"
572 }
573 ]
574 }
575 },
576 "flight": {
577 "id": "0c299240-6fc6-4f79-ba99-3548f2de3f57",
578 "departureDate": "2024-02-15T20:00:00.000Z",
579 "returnDate": "2024-02-17T20:00:00.000Z",
580 "departureTicketsLeft": 7,
581 "returnTicketsLeft": 7,
582 "departureAvailabilityType": "FewPlaces",
583 "returnAvailabilityType": "FewPlaces",
584 "isTwoWay": true,
585 "sameBaggageForAll": false,
586 "totalBaggage": true,
587 "departureSegments": [
588 {
589 "airlineCode": "KC",
590 "airlineName": "Air Astana-",
591 "flightCode": "KC899",
592 "class": "econom",
593 "lugageWeight": 20,
594 "handLugageWeight": 6,
595 "departureFlightDate": "2024-02-15T20:00:00.000Z",
596 "departureCountryName": "Kazakhstan",
597 "departureCityName": "Almaty",
598 "departureAirportCode": "ALA",
599 "departureAirportName": "Almaty Intl Airport",
600 "departureTerminalCode": "ALA",
601 "arrivalFlightDate": "2024-02-15T20:00:00.000Z",
602 "arrivalCountryName": "United Arab Emirates",
603 "arrivalCityName": "Dubai",
604 "arrivalAirportCode": "DXB",
605 "arrivalAirportName": "Dubai Intl Airport",
606 "arrivalTerminalCode": "DXB1",
607 "flightDuration": "0h 50m"
608 }
609 ],
610 "returnSegments": [
611 {
612 "airlineCode": "KC",
613 "airlineName": "Air Astana-",
614 "flightCode": "KC900",
615 "class": "econom",
616 "lugageWeight": 20,
617 "handLugageWeight": 6,
618 "departureFlightDate": "2024-02-17T20:00:00.000Z",
619 "departureCountryName": "United Arab Emirates",
620 "departureCityName": "Dubai",
621 "departureAirportCode": "DXB",
622 "departureAirportName": "Dubai Intl Airport",
623 "departureTerminalCode": "DXB1",
624 "arrivalFlightDate": "2024-02-17T20:00:00.000Z",
625 "arrivalCountryName": "Kazakhstan",
626 "arrivalCityName": "Almaty",
627 "arrivalAirportCode": "ALA",
628 "arrivalAirportName": "Almaty Intl Airport",
629 "arrivalTerminalCode": "ALA",
630 "flightDuration": "8h 15m"
631 }
632 ],
633 "passengers": [
634 {
635 "id": "42779531011000004-A1",
636 "isAdult": true,
637 "forwardBaggages": [
638 {
639 "baggageCode": "TOTAL_BAGGAGE",
640 "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS",
641 "price": 45.00,
642 "currency": "USD",
643 "included": false
644 }
645 ],
646 "backwardBaggages": [
647 {
648 "baggageCode": "INCLUDED_IN_FORWARD",
649 "price": 0,
650 "included": false
651 }
652 ]
653 },
654 {
655 "id": "42779531011000004-C1",
656 "isAdult": false,
657 "forwardBaggages": [
658 {
659 "baggageCode": "TOTAL_BAGGAGE",
660 "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS",
661 "price": 45.00,
662 "currency": "USD",
663 "included": false
664 }
665 ],
666 "backwardBaggages": [
667 {
668 "baggageCode": "INCLUDED_IN_FORWARD",
669 "price": 0,
670 "included": false
671 }
672 ]
673 }
674 ]
675 },
676 "extraServices": [],
677 "insurancePrice": {
678 "name": "Medical INS (N10000)",
679 "price": 13.44,
680 "priceSurcarge": 0.00,
681 "actualStartDate": "2024-02-15T20:00:00.000Z",
682 "actualEndDate": "2024-02-17T20:00:00.000Z",
683 "optional": false,
684 "includedInPackagePrice": true
685 }
686 },
687 "altPackages": [
688 {
689 "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:63d79c94-1e19-443f-8a17-50e59e633ea8",
690 "priceCurrency": "USD",
691 "totalPrice": 968.40,
692 "agentCommissionPercent": 0.00,
693 "agentCommissionAmount": 0.00,
694 "includedExtrasAmount": 0,
695 "priceDifference": 31.24,
696 "hotel": {
697 "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f",
698 "providerId": 13,
699 "hotelName": "Mercure Dubai Barsha Heights Suites Apartments",
700 "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14",
701 "nigths": 2,
702 "mealPlan": "BB",
703 "hotelClass": "4",
704 "availabilityType": "StopSale",
705 "availableRoomsCount": 0,
706 "fewRooms": true,
707 "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4",
708 "roomCategoryName": "1 B/R Apartment City View",
709 "placementTypeName": "SNGL + CHILD(2-5.99)sharing",
710 "checkInDate": "2024-02-15T20:00:00.000Z",
711 "checkOutDate": "2024-02-17T20:00:00.000Z",
712 "adults": 1,
713 "children": 1,
714 "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e",
715 "districtName": "Al Barsha",
716 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
717 "cityName": "Dubai",
718 "countryCode": "AE",
719 "countryName": "United Arab Emirates",
720 "hasAlcohol": false,
721 "hasFreeWifi": true,
722 "hasMetro": true,
723 "hasPool": true,
724 "hasMall": false,
725 "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %",
726 "cancellationPolicy": {
727 "noShowChargeValue": 100.00,
728 "noShowChargeValueType": "%",
729 "earlyDepartureChargeValue": 100.00,
730 "earlyDepartureChargeValueType": "%",
731 "conditions": [
732 {
733 "timeunits": 5,
734 "timeunitType": "Day",
735 "timeOffsetTypeName": "Before Arrival",
736 "chargeValue": 100.00,
737 "chargeValueType": "%"
738 }
739 ]
740 }
741 },
742 "flight": {
743 "id": "63d79c94-1e19-443f-8a17-50e59e633ea8",
744 "departureDate": "2024-02-15T20:00:00.000Z",
745 "returnDate": "2024-02-17T20:00:00.000Z",
746 "departureTicketsLeft": 50,
747 "returnTicketsLeft": 50,
748 "departureAvailabilityType": "FewPlaces",
749 "returnAvailabilityType": "FewPlaces",
750 "isTwoWay": true,
751 "sameBaggageForAll": false,
752 "totalBaggage": false,
753 "departureSegments": [
754 {
755 "airlineCode": "FZ",
756 "airlineName": "Fly Dubai.",
757 "flightCode": "FZ1722",
758 "class": "econom",
759 "lugageWeight": 20,
760 "handLugageWeight": 6,
761 "departureFlightDate": "2024-02-15T20:00:00.000Z",
762 "departureCountryName": "Kazakhstan",
763 "departureCityName": "Almaty",
764 "departureAirportCode": "ALA",
765 "departureAirportName": "Almaty Intl Airport",
766 "departureTerminalCode": "ALA",
767 "arrivalFlightDate": "2024-02-15T20:00:00.000Z",
768 "arrivalCountryName": "United Arab Emirates",
769 "arrivalCityName": "Dubai",
770 "arrivalAirportCode": "DXB",
771 "arrivalAirportName": "Dubai Intl Airport",
772 "arrivalTerminalCode": "DXB3",
773 "flightDuration": "0h 55m"
774 }
775 ],
776 "returnSegments": [
777 {
778 "airlineCode": "FZ",
779 "airlineName": "Fly Dubai.",
780 "flightCode": "FZ1721",
781 "class": "econom",
782 "lugageWeight": 20,
783 "handLugageWeight": 6,
784 "departureFlightDate": "2024-02-17T20:00:00.000Z",
785 "departureCountryName": "United Arab Emirates",
786 "departureCityName": "Dubai",
787 "departureAirportCode": "DXB",
788 "departureAirportName": "Dubai Intl Airport",
789 "departureTerminalCode": "DXB3",
790 "arrivalFlightDate": "2024-02-18T20:00:00.000Z",
791 "arrivalCountryName": "Kazakhstan",
792 "arrivalCityName": "Almaty",
793 "arrivalAirportCode": "ALA",
794 "arrivalAirportName": "Almaty Intl Airport",
795 "arrivalTerminalCode": "DXB3",
796 "flightDuration": "8h 10m"
797 }
798 ],
799 "passengers": [
800 {
801 "id": "42779547001000004-A1",
802 "isAdult": true,
803 "selectedForwardBaggageCode": "INCLUDED",
804 "selectedBackwardBaggageCode": "INCLUDED",
805 "forwardBaggages": [
806 {
807 "baggageCode": "INCLUDED",
808 "description": "20 KG INCLUDED",
809 "price": 0.0,
810 "currency": "USD",
811 "included": true
812 }
813 ],
814 "backwardBaggages": [
815 {
816 "baggageCode": "INCLUDED",
817 "description": "20 KG INCLUDED",
818 "price": 0.0,
819 "currency": "USD",
820 "included": true
821 }
822 ]
823 },
824 {
825 "id": "42779547001000004-C1",
826 "isAdult": false,
827 "selectedForwardBaggageCode": "INCLUDED",
828 "selectedBackwardBaggageCode": "INCLUDED",
829 "forwardBaggages": [
830 {
831 "baggageCode": "INCLUDED",
832 "description": "20 KG INCLUDED",
833 "price": 0.0,
834 "currency": "USD",
835 "included": true
836 }
837 ],
838 "backwardBaggages": [
839 {
840 "baggageCode": "INCLUDED",
841 "description": "20 KG INCLUDED",
842 "price": 0.0,
843 "currency": "USD",
844 "included": true
845 }
846 ]
847 }
848 ]
849 },
850 "extraServices": [],
851 "insurancePrice": {
852 "name": "Medical INS (N10000)",
853 "price": 13.44,
854 "priceSurcarge": 0.00,
855 "actualStartDate": "2024-02-15T20:00:00.000Z",
856 "actualEndDate": "2024-02-17T20:00:00.000Z",
857 "optional": false,
858 "includedInPackagePrice": true
859 }
860 },
861 {
862 {{/code}}
863
864
865 === Schema ===
866
867 {{success}}
868 |error|boolean
869 |errorCode|string
870 nullable: true
871 |errorDescription|string
872 nullable: true
873 |userErrorDescription|string
874 nullable: true
875 |priceCurrency|string
876 nullable: true
877 |totalPrice|number($double)
878 |agentCommissionPercent|number($double)
879 |agentCommissionAmount|number($double)
Giorgi Mdivnishvili 5.1 880 |requiredCitizenIdentifiers|[
881 nullable: trueCitizenIdentifier{(((
882 |countryCode|[...]
883 |identifierType|IdentifierTypeEnumstringEnum:
884 [ TIN, FIN ]
885
886 }]
887 )))
888 |hotels|[
889 nullable: trueCheckoutHotelOut{(((
Giorgi Mdivnishvili 2.1 890 |hotelPriceId|string
891 nullable: true
Giorgi Mdivnishvili 5.1 892 |touristIds|[
893 nullable: truestring($uuid)]
894 |errorCode|string
Giorgi Mdivnishvili 2.1 895 nullable: true
Giorgi Mdivnishvili 5.1 896 |errorMessage|string
Giorgi Mdivnishvili 2.1 897 nullable: true
Giorgi Mdivnishvili 5.1 898 |description|string
Giorgi Mdivnishvili 2.1 899 nullable: true
Giorgi Mdivnishvili 5.1 900
901 }]
902 )))
903 |tourists|[
904 nullable: trueCheckoutTouristOut{(((
905 |id|[...]
906 |age|[...]
907 |isAdult|[...]
908 |flightIds|[...]
909 |flights|[...]
910 |arrivalFlightInfo|ManualFlightInfo{(((
911 |flightNumber|string
Giorgi Mdivnishvili 2.1 912 nullable: true
Giorgi Mdivnishvili 5.1 913 |terminalCode|string
Giorgi Mdivnishvili 2.1 914 nullable: true
Giorgi Mdivnishvili 5.1 915 |date|string($date-time)
Giorgi Mdivnishvili 2.1 916 nullable: true
Giorgi Mdivnishvili 5.1 917 |time|string
Giorgi Mdivnishvili 2.1 918 nullable: true
Giorgi Mdivnishvili 5.1 919
920 }
921 )))
922 |departureFlightInfo|ManualFlightInfo{(((
923 |flightNumber|string
Giorgi Mdivnishvili 2.1 924 nullable: true
Giorgi Mdivnishvili 5.1 925 |terminalCode|string
Giorgi Mdivnishvili 2.1 926 nullable: true
Giorgi Mdivnishvili 5.1 927 |date|string($date-time)
Giorgi Mdivnishvili 2.1 928 nullable: true
Giorgi Mdivnishvili 5.1 929 |time|string
Giorgi Mdivnishvili 2.1 930 nullable: true
Giorgi Mdivnishvili 5.1 931
932 }
933 )))
934 |insurancePrice|InsurancePriceForTourist{(((
935 |insuranceId|string($uuid)
936 |insuranceServiceId|string($uuid)
937 |insurancePriceId|string($uuid)
938 |touristId|string($uuid)
939 |insuranceName|string
Giorgi Mdivnishvili 2.1 940 nullable: true
Giorgi Mdivnishvili 5.1 941 |insuranceDescription|string
Giorgi Mdivnishvili 2.1 942 nullable: true
Giorgi Mdivnishvili 5.1 943 |contragentName|string
Giorgi Mdivnishvili 2.1 944 nullable: true
Giorgi Mdivnishvili 5.1 945 |contragentFullName|string
Giorgi Mdivnishvili 2.1 946 nullable: true
Giorgi Mdivnishvili 5.1 947 |actualStartDate|string($date-time)
948 |actualEndDate|string($date-time)
949 |costCurrencyCode|string
Giorgi Mdivnishvili 2.1 950 nullable: true
Giorgi Mdivnishvili 5.1 951 |costAmount|number($double)
952 |priceCurrencyCode|string
Giorgi Mdivnishvili 2.1 953 nullable: true
Giorgi Mdivnishvili 5.1 954 |priceAmount|number($double)
955 |coverageCurrencyCode|string
Giorgi Mdivnishvili 2.1 956 nullable: true
Giorgi Mdivnishvili 5.1 957 |coverageAmount|number($double)
958
959 }
960 )))
961 |selectedVisaId|string
Giorgi Mdivnishvili 2.1 962 nullable: true
Giorgi Mdivnishvili 5.1 963 |transfers|[
964 nullable: trueCheckoutTransferOut{(((
965 |id|string
Giorgi Mdivnishvili 2.1 966 nullable: true
Giorgi Mdivnishvili 5.1 967 |type|CheckoutTransferTypeEnumstringEnum:
968 [ Arrival, Departure, HotelToHotel ]
969 |flightId|string
Giorgi Mdivnishvili 2.1 970 nullable: true
Giorgi Mdivnishvili 5.1 971 |flightInfo|ManualFlightInfo{(((
972 |flightNumber|string
Giorgi Mdivnishvili 2.1 973 nullable: true
Giorgi Mdivnishvili 5.1 974 |terminalCode|string
Giorgi Mdivnishvili 2.1 975 nullable: true
Giorgi Mdivnishvili 5.1 976 |date|string($date-time)
Giorgi Mdivnishvili 2.1 977 nullable: true
Giorgi Mdivnishvili 5.1 978 |time|string
979 nullable: true
Giorgi Mdivnishvili 2.1 980
981 }
982 )))
Giorgi Mdivnishvili 5.1 983 |checkInHotelId|string
Giorgi Mdivnishvili 2.1 984 nullable: true
Giorgi Mdivnishvili 5.1 985 |checkOutHotelId|string
Giorgi Mdivnishvili 2.1 986 nullable: true
Giorgi Mdivnishvili 5.1 987 |selectedTransferPriceId|string
Giorgi Mdivnishvili 2.1 988 nullable: true
Giorgi Mdivnishvili 5.1 989 |transferPrices|[
990 nullable: trueCheckoutTransferPrice{(((
991 |id|string
Giorgi Mdivnishvili 2.1 992 nullable: true
Giorgi Mdivnishvili 5.1 993 |name|string
Giorgi Mdivnishvili 2.1 994 nullable: true
Giorgi Mdivnishvili 5.1 995 |adultPlaces|integer($int32)
996 |childPlaces|integer($int32)
997 |perPersonPrice|boolean
998 |adultPrice|number($double)
999 |childPrice|number($double)
1000
1001 }]
1002 )))
1003
1004 }]
1005 )))
1006 |errorCode|string
Giorgi Mdivnishvili 2.1 1007 nullable: true
Giorgi Mdivnishvili 5.1 1008 |errorMessage|string
Giorgi Mdivnishvili 2.1 1009 nullable: true
Giorgi Mdivnishvili 5.1 1010 |description|string
Giorgi Mdivnishvili 2.1 1011 nullable: true
1012
1013 }]
1014 )))
Giorgi Mdivnishvili 5.1 1015 |visas|[
1016 nullable: trueServicePrice{(((
1017 |prid|string($uuid)
1018 |prName|string
1019 nullable: true
1020 |prValue|number($double)
1021 |sortingOrder|integer($int32)
Giorgi Mdivnishvili 2.1 1022
1023 }]
1024 )))
Giorgi Mdivnishvili 5.1 1025 |terminals|[
1026 nullable: trueTerminal{(((
1027 |terminalCode|string
1028 nullable: true
1029 |cityUID|string($uuid)
1030 nullable: true
1031 |districtUID|string($uuid)
1032 nullable: true
1033 |terminalName|string
1034 nullable: true
1035 |countryCode|string
1036 nullable: true
1037 |note|string
1038 nullable: true
Giorgi Mdivnishvili 2.1 1039
Giorgi Mdivnishvili 5.1 1040 }]
Giorgi Mdivnishvili 2.1 1041 )))
Giorgi Mdivnishvili 5.1 1042 |containsError|boolean
1043 |refreshPriceResult|RefreshPriceResultEnumstringEnum:
1044 [ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ]
1045 |reservationId|string($uuid)
1046 |reservationDetailsUnavailable|boolean
Giorgi Mdivnishvili 2.1 1047
1048 }
1049 {{/success}}