Wiki source code of 5. ConfirmCheckout

Version 5.1 by Giorgi Mdivnishvili on 2024/04/11 09:18

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2
3
4 {{toc/}}
5 {{/box}}
6
7 = Method Description =
8
9 This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book.
10
11
12 == Endpoint URL - [POST] ==
13
14 {{info}}
15 [[https:~~/~~/integration.kazunion.com/api/Checkout/ConfirmCheckout>>https://integration.kazunion.com/api/Checkout/ConfirmCheckout]]
16 {{/info}}
17
18
19 == Request Parameters ==
20
21 (% class="box infomessage" %)
22 (((
23 None
24 )))
25
26
27 == Request Body ==
28
29 {{code language="Json"}}
30 {
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 }
48 ],
49 "calcOnlyHotelPackageRequests": [
50 {
51 "packageId": "string",
52 "extraServicePriceCodes": [
53 "string"
54 ],
55 "includeInsurance": true,
56 "refreshPrices": true
57 }
58 ],
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-11T05:16:08.319Z",
88 "passportNumber": "string",
89 "passportExpiry": "2024-04-11T05:16:08.319Z",
90 "passportIssue": "2024-04-11T05:16:08.319Z",
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-11T05:16:08.319Z",
101 "time": "string"
102 },
103 "departureFlightInfo": {
104 "flightNumber": "string",
105 "terminalCode": "string",
106 "date": "2024-04-11T05:16:08.319Z",
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"
120 }
121 {{/code}}
122
123 (% class="wikigeneratedid" id="HRequestBodyexample" %)
124 (% id="cke_bm_10575S" style="display:none" %)
125
126
127
128 == Request Body example ==
129
130 {{code language="Json"}}
131 {
132 "calcTourPackageRequests": [
133 {
134 "refreshPrices": false,
135 "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d",
136 "flightPassengers": [
137 {
138 "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1",
139 "selectedForwardBaggageCode": "INCLUDED",
140 "selectedBackwardBaggageCode": "INCLUDED"
141 },
142 {
143 "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2",
144 "selectedForwardBaggageCode": "INCLUDED",
145 "selectedBackwardBaggageCode": "INCLUDED"
146 }
147 ],
148 "extraServicePriceCodes": [],
149 "includeInsurance": true
150 }
151 ],
152 "calcOnlyHotelPackageRequests": [],
153 "calcOnlyAviaPackageRequests": [],
154 "hotels": [
155 {
156 "note": null,
157 "agentConfirmationNumber": null,
158 "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
159 "touristIds": [
160 "27977a19-045e-4990-95a8-fbd7d49083de",
161 "0b3cb288-00c5-4c68-946e-87fc5f5d5b82"
162 ]
163 }
164 ],
165 "tourists": [
166 {
167 "id": "27977a19-045e-4990-95a8-fbd7d49083de",
168 "isMale": true,
169 "firstName": "Test",
170 "lastName": "Teeeest",
171 "birthDate": "1990-09-23T00:00:00",
172 "citizenship": "GE",
173 "passportNumber": "123123",
174 "passportIssue": "2020-09-23T00:00:00",
175 "passportExpiry": "2029-12-23T00:00:00",
176 "tin": null,
177 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
178 "flights": [
179 {
180 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
181 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
182 }
183 ],
184 "flightIds": [
185 "53552191-59ea-469d-ae9d-5b848da8839d"
186 ],
187 "insurancePrice": {
188 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
189 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
190 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
191 "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
192 "insuranceName": "Medical INS (N10000)",
193 "contragentName": "Nomad Insurance",
194 "contragentFullName": "Nomad Insurance",
195 "actualStartDate": "2024-05-17T00:00:00.000",
196 "actualEndDate": "2024-05-21T00:00:00.000",
197 "costCurrencyCode": "USD",
198 "costAmount": 6.7,
199 "priceCurrencyCode": "USD",
200 "priceAmount": 11.2,
201 "coverageCurrencyCode": "USD",
202 "coverageAmount": 10000
203 },
204 "departureFlightInfo": {
205 "date": null,
206 "time": null,
207 "flightNumber": null,
208 "terminalCode": null
209 },
210 "arrivalFlightInfo": {
211 "date": null,
212 "time": null,
213 "flightNumber": null,
214 "terminalCode": null
215 },
216 "transfers": [
217 {
218 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
219 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
220 },
221 {
222 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
223 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
224 }
225 ]
226 },
227 {
228 "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
229 "isMale": true,
230 "firstName": "Teeeeest",
231 "lastName": "Teest",
232 "birthDate": "1990-09-23T00:00:00",
233 "citizenship": "GE",
234 "passportNumber": "1231233",
235 "passportIssue": "2020-09-23T00:00:00",
236 "passportExpiry": "2029-12-23T00:00:00",
237 "tin": null,
238 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
239 "flights": [
240 {
241 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
242 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
243 }
244 ],
245 "flightIds": [
246 "53552191-59ea-469d-ae9d-5b848da8839d"
247 ],
248 "insurancePrice": {
249 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
250 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
251 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
252 "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
253 "insuranceName": "Medical INS (N10000)",
254 "contragentName": "Nomad Insurance",
255 "contragentFullName": "Nomad Insurance",
256 "actualStartDate": "2024-05-17T00:00:00.000",
257 "actualEndDate": "2024-05-21T00:00:00.000",
258 "costCurrencyCode": "USD",
259 "costAmount": 6.7,
260 "priceCurrencyCode": "USD",
261 "priceAmount": 11.2,
262 "coverageCurrencyCode": "USD",
263 "coverageAmount": 10000
264 },
265 "departureFlightInfo": {
266 "date": null,
267 "time": null,
268 "flightNumber": null,
269 "terminalCode": null
270 },
271 "arrivalFlightInfo": {
272 "date": null,
273 "time": null,
274 "flightNumber": null,
275 "terminalCode": null
276 },
277 "transfers": [
278 {
279 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
280 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
281 },
282 {
283 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
284 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
285 }
286 ]
287 }
288 ],
289 "note": "teeeest, for testing purpose !",
290 "contactPhone": "597101803",
291 "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d"
292 }
293 {{/code}}
294
295
296 == Response ==
297
298 {{code language="json"}}
299 {
300 "error": true,
301 "errorCode": "string",
302 "errorDescription": "string",
303 "userErrorDescription": "string",
304 "package": {
305 "cacheKey": "string",
306 "id": "string",
307 "priceCurrency": "string",
308 "totalPrice": 0,
309 "agentCommissionPercent": 0,
310 "agentCommissionAmount": 0,
311 "includedExtrasAmount": 0,
312 "priceDifference": 0,
313 "hotel": {
314 "hotelPriceId": "string",
315 "providerId": 0,
316 "hotelName": "string",
317 "hotelCode": "string",
318 "nigths": 0,
319 "mealPlan": "string",
320 "hotelClass": "string",
321 "availabilityType": "OnRequest",
322 "availableRoomsCount": 0,
323 "fewRooms": true,
324 "roomCategoryCode": "string",
325 "roomCategoryName": "string",
326 "placementTypeName": "string",
327 "placementDescription": "string",
328 "checkInDate": "2023-12-26T12:55:59.433Z",
329 "checkOutDate": "2023-12-26T12:55:59.433Z",
330 "adults": 0,
331 "children": 0,
332 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
333 "districtName": "string",
334 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
335 "cityName": "string",
336 "countryCode": "string",
337 "countryName": "string",
338 "hasAlcohol": true,
339 "hasFreeWifi": true,
340 "hasMetro": true,
341 "hasPool": true,
342 "hasMall": true,
343 "cancellationPolicyDescription": "string",
344 "cancellationPolicy": {
345 "cancellationPolicyCode": "string",
346 "noShowChargeValue": 0,
347 "noShowChargeValueType": "string",
348 "earlyDepartureChargeValue": 0,
349 "earlyDepartureChargeValueType": "string",
350 "conditions": [
351 {
352 "timeunits": 0,
353 "timeunitType": "string",
354 "timeOffsetTypeName": "string",
355 "chargeValue": 0,
356 "chargeValueType": "string"
357 }
358 ]
359 }
360 },
361 "flight": {
362 "id": "string",
363 "departureDate": "2023-12-26T12:55:59.433Z",
364 "returnDate": "2023-12-26T12:55:59.433Z",
365 "departureTicketsLeft": 0,
366 "returnTicketsLeft": 0,
367 "departureAvailabilityType": "OnRequest",
368 "returnAvailabilityType": "OnRequest",
369 "isTwoWay": true,
370 "sameBaggageForAll": true,
371 "totalBaggage": true,
372 "departureSegments": [
373 {
374 "airlineCode": "string",
375 "airlineName": "string",
376 "flightCode": "string",
377 "class": "string",
378 "lugageWeight": 0,
379 "handLugageWeight": 0,
380 "departureFlightDate": "2023-12-26T12:55:59.433Z",
381 "departureCountryName": "string",
382 "departureCityName": "string",
383 "departureAirportCode": "string",
384 "departureAirportName": "string",
385 "departureTerminalCode": "string",
386 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
387 "arrivalCountryName": "string",
388 "arrivalCityName": "string",
389 "arrivalAirportCode": "string",
390 "arrivalAirportName": "string",
391 "arrivalTerminalCode": "string",
392 "flightDuration": "string"
393 }
394 ],
395 "returnSegments": [
396 {
397 "airlineCode": "string",
398 "airlineName": "string",
399 "flightCode": "string",
400 "class": "string",
401 "lugageWeight": 0,
402 "handLugageWeight": 0,
403 "departureFlightDate": "2023-12-26T12:55:59.433Z",
404 "departureCountryName": "string",
405 "departureCityName": "string",
406 "departureAirportCode": "string",
407 "departureAirportName": "string",
408 "departureTerminalCode": "string",
409 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
410 "arrivalCountryName": "string",
411 "arrivalCityName": "string",
412 "arrivalAirportCode": "string",
413 "arrivalAirportName": "string",
414 "arrivalTerminalCode": "string",
415 "flightDuration": "string"
416 }
417 ],
418 "passengers": [
419 {
420 "id": "string",
421 "isAdult": true,
422 "selectedForwardBaggageCode": "string",
423 "selectedBackwardBaggageCode": "string",
424 "forwardBaggages": [
425 {
426 "baggageCode": "string",
427 "description": "string",
428 "price": 0,
429 "currency": "string",
430 "included": true
431 }
432 ],
433 "backwardBaggages": [
434 {
435 "baggageCode": "string",
436 "description": "string",
437 "price": 0,
438 "currency": "string",
439 "included": true
440 }
441 ]
442 }
443 ]
444 },
445 "extraServices": [
446 {
447 "extraServiceCode": "string",
448 "extraServiceTypeCode": "string",
449 "isMandatory": 0,
450 "extraServiceName": "string",
451 "minimalServiceAmount": 0,
452 "includedPriceCode": "string",
453 "prices": [
454 {
455 "extraServicePriceCode": "string",
456 "displayName": "string",
457 "restrictionInfo": "string",
458 "additionalInfo": "string",
459 "price": 0,
460 "extraPrice": 0,
461 "currency": "string"
462 }
463 ]
464 }
465 ],
466 "insurancePrice": {
467 "name": "string",
468 "price": 0,
469 "priceSurcarge": 0,
470 "actualStartDate": "2023-12-26T12:55:59.433Z",
471 "actualEndDate": "2023-12-26T12:55:59.433Z",
472 "optional": true,
473 "includedInPackagePrice": true
474 }
475 },
476 "altPackages": [
477 {
478 "cacheKey": "string",
479 "id": "string",
480 "priceCurrency": "string",
481 "totalPrice": 0,
482 "agentCommissionPercent": 0,
483 "agentCommissionAmount": 0,
484 "includedExtrasAmount": 0,
485 "priceDifference": 0,
486 "hotel": {
487 "hotelPriceId": "string",
488 "providerId": 0,
489 "hotelName": "string",
490 "hotelCode": "string",
491 "nigths": 0,
492 "mealPlan": "string",
493 "hotelClass": "string",
494 "availabilityType": "OnRequest",
495 "availableRoomsCount": 0,
496 "fewRooms": true,
497 "roomCategoryCode": "string",
498 "roomCategoryName": "string",
499 "placementTypeName": "string",
500 "placementDescription": "string",
501 "checkInDate": "2023-12-26T12:55:59.433Z",
502 "checkOutDate": "2023-12-26T12:55:59.433Z",
503 "adults": 0,
504 "children": 0,
505 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
506 "districtName": "string",
507 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
508 "cityName": "string",
509 "countryCode": "string",
510 "countryName": "string",
511 "hasAlcohol": true,
512 "hasFreeWifi": true,
513 "hasMetro": true,
514 "hasPool": true,
515 "hasMall": true,
516 "cancellationPolicyDescription": "string",
517 "cancellationPolicy": {
518 "cancellationPolicyCode": "string",
519 "noShowChargeValue": 0,
520 "noShowChargeValueType": "string",
521 "earlyDepartureChargeValue": 0,
522 "earlyDepartureChargeValueType": "string",
523 "conditions": [
524 {
525 "timeunits": 0,
526 "timeunitType": "string",
527 "timeOffsetTypeName": "string",
528 "chargeValue": 0,
529 "chargeValueType": "string"
530 }
531 ]
532 }
533 },
534 "flight": {
535 "id": "string",
536 "departureDate": "2023-12-26T12:55:59.433Z",
537 "returnDate": "2023-12-26T12:55:59.433Z",
538 "departureTicketsLeft": 0,
539 "returnTicketsLeft": 0,
540 "departureAvailabilityType": "OnRequest",
541 "returnAvailabilityType": "OnRequest",
542 "isTwoWay": true,
543 "sameBaggageForAll": true,
544 "totalBaggage": true,
545 "departureSegments": [
546 {
547 "airlineCode": "string",
548 "airlineName": "string",
549 "flightCode": "string",
550 "class": "string",
551 "lugageWeight": 0,
552 "handLugageWeight": 0,
553 "departureFlightDate": "2023-12-26T12:55:59.433Z",
554 "departureCountryName": "string",
555 "departureCityName": "string",
556 "departureAirportCode": "string",
557 "departureAirportName": "string",
558 "departureTerminalCode": "string",
559 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
560 "arrivalCountryName": "string",
561 "arrivalCityName": "string",
562 "arrivalAirportCode": "string",
563 "arrivalAirportName": "string",
564 "arrivalTerminalCode": "string",
565 "flightDuration": "string"
566 }
567 ],
568 "returnSegments": [
569 {
570 "airlineCode": "string",
571 "airlineName": "string",
572 "flightCode": "string",
573 "class": "string",
574 "lugageWeight": 0,
575 "handLugageWeight": 0,
576 "departureFlightDate": "2023-12-26T12:55:59.433Z",
577 "departureCountryName": "string",
578 "departureCityName": "string",
579 "departureAirportCode": "string",
580 "departureAirportName": "string",
581 "departureTerminalCode": "string",
582 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
583 "arrivalCountryName": "string",
584 "arrivalCityName": "string",
585 "arrivalAirportCode": "string",
586 "arrivalAirportName": "string",
587 "arrivalTerminalCode": "string",
588 "flightDuration": "string"
589 }
590 ],
591 "passengers": [
592 {
593 "id": "string",
594 "isAdult": true,
595 "selectedForwardBaggageCode": "string",
596 "selectedBackwardBaggageCode": "string",
597 "forwardBaggages": [
598 {
599 "baggageCode": "string",
600 "description": "string",
601 "price": 0,
602 "currency": "string",
603 "included": true
604 }
605 ],
606 "backwardBaggages": [
607 {
608 "baggageCode": "string",
609 "description": "string",
610 "price": 0,
611 "currency": "string",
612 "included": true
613 }
614 ]
615 }
616 ]
617 },
618 "extraServices": [
619 {
620 "extraServiceCode": "string",
621 "extraServiceTypeCode": "string",
622 "isMandatory": 0,
623 "extraServiceName": "string",
624 "minimalServiceAmount": 0,
625 "includedPriceCode": "string",
626 "prices": [
627 {
628 "extraServicePriceCode": "string",
629 "displayName": "string",
630 "restrictionInfo": "string",
631 "additionalInfo": "string",
632 "price": 0,
633 "extraPrice": 0,
634 "currency": "string"
635 }
636 ]
637 }
638 ],
639 "insurancePrice": {
640 "name": "string",
641 "price": 0,
642 "priceSurcarge": 0,
643 "actualStartDate": "2023-12-26T12:55:59.433Z",
644 "actualEndDate": "2023-12-26T12:55:59.433Z",
645 "optional": true,
646 "includedInPackagePrice": true
647 }
648 }
649 ],
650 "refreshPriceResult": "Success"
651 }
652 {{/code}}
653
654
655 === Response example ===
656
657 {{code language="Json"}}
658 {
659 "priceCurrency": "USD",
660 "totalPrice": 782,
661 "agentCommissionPercent": 0.00,
662 "agentCommissionAmount": 0,
663 "requiredCitizenIdentifiers": [
664 {
665 "countryCode": "KZ",
666 "identifierType": "TIN"
667 },
668 {
669 "countryCode": "AZ",
670 "identifierType": "FIN"
671 }
672 ],
673 "hotels": [
674 {
675 "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
676 "touristIds": [
677 "27977a19-045e-4990-95a8-fbd7d49083de",
678 "0b3cb288-00c5-4c68-946e-87fc5f5d5b82"
679 ],
680 "description": "Ibis Al Rigga"
681 }
682 ],
683 "tourists": [
684 {
685 "id": "27977a19-045e-4990-95a8-fbd7d49083de",
686 "age": 33,
687 "isAdult": true,
688 "flightIds": [
689 "53552191-59ea-469d-ae9d-5b848da8839d"
690 ],
691 "flights": [
692 {
693 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
694 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
695 }
696 ],
697 "insurancePrice": {
698 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
699 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
700 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
701 "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
702 "insuranceName": "Medical INS (N10000)",
703 "contragentName": "Nomad Insurance",
704 "contragentFullName": "Nomad Insurance",
705 "actualStartDate": "2024-05-17T00:00:00.000",
706 "actualEndDate": "2024-05-21T00:00:00.000",
707 "costCurrencyCode": "USD",
708 "costAmount": 6.70,
709 "priceCurrencyCode": "USD",
710 "priceAmount": 11.20,
711 "coverageCurrencyCode": "USD",
712 "coverageAmount": 10000.0000
713 },
714 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
715 "transfers": [
716 {
717 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
718 "type": "Arrival",
719 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
720 "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
721 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
722 "transferPrices": [
723 {
724 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
725 "name": "GROUP",
726 "adultPlaces": 1,
727 "childPlaces": 1,
728 "perPersonPrice": true,
729 "adultPrice": 0,
730 "childPrice": 0
731 },
732 {
733 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
734 "name": "MINIVAN",
735 "adultPlaces": 5,
736 "childPlaces": 0,
737 "perPersonPrice": false,
738 "adultPrice": 45.00000000,
739 "childPrice": 0
740 },
741 {
742 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
743 "name": "TOYOTA HIACE",
744 "adultPlaces": 9,
745 "childPlaces": 0,
746 "perPersonPrice": false,
747 "adultPrice": 50.00000000,
748 "childPrice": 0
749 },
750 {
751 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
752 "name": "HIGER BUS (27 SEATERS)",
753 "adultPlaces": 27,
754 "childPlaces": 0,
755 "perPersonPrice": false,
756 "adultPrice": 85.00000000,
757 "childPrice": 0
758 },
759 {
760 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
761 "name": "HIGER 53",
762 "adultPlaces": 51,
763 "childPlaces": 0,
764 "perPersonPrice": false,
765 "adultPrice": 120.00000000,
766 "childPrice": 0
767 },
768 {
769 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
770 "name": "MERCEDES S CLASS 400",
771 "adultPlaces": 3,
772 "childPlaces": 0,
773 "perPersonPrice": false,
774 "adultPrice": 140.00000000,
775 "childPrice": 0
776 },
777 {
778 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
779 "name": "MERCEDES V CLASS",
780 "adultPlaces": 7,
781 "childPlaces": 0,
782 "perPersonPrice": false,
783 "adultPrice": 140.00000000,
784 "childPrice": 0
785 },
786 {
787 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
788 "name": "MERCEDES S CLASS 500",
789 "adultPlaces": 3,
790 "childPlaces": 0,
791 "perPersonPrice": false,
792 "adultPrice": 165.00000000,
793 "childPrice": 0
794 }
795 ]
796 },
797 {
798 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
799 "type": "Departure",
800 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
801 "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
802 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
803 "transferPrices": [
804 {
805 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
806 "name": "GROUP",
807 "adultPlaces": 1,
808 "childPlaces": 1,
809 "perPersonPrice": true,
810 "adultPrice": 0,
811 "childPrice": 0
812 },
813 {
814 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
815 "name": "MINIVAN",
816 "adultPlaces": 5,
817 "childPlaces": 0,
818 "perPersonPrice": false,
819 "adultPrice": 45.00000000,
820 "childPrice": 0
821 },
822 {
823 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
824 "name": "TOYOTA HIACE",
825 "adultPlaces": 9,
826 "childPlaces": 0,
827 "perPersonPrice": false,
828 "adultPrice": 50.00000000,
829 "childPrice": 0
830 },
831 {
832 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
833 "name": "HIGER BUS (27 SEATERS)",
834 "adultPlaces": 27,
835 "childPlaces": 0,
836 "perPersonPrice": false,
837 "adultPrice": 85.00000000,
838 "childPrice": 0
839 },
840 {
841 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
842 "name": "HIGER 53",
843 "adultPlaces": 51,
844 "childPlaces": 0,
845 "perPersonPrice": false,
846 "adultPrice": 120.00000000,
847 "childPrice": 0
848 },
849 {
850 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
851 "name": "MERCEDES S CLASS 400",
852 "adultPlaces": 3,
853 "childPlaces": 0,
854 "perPersonPrice": false,
855 "adultPrice": 140.00000000,
856 "childPrice": 0
857 },
858 {
859 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
860 "name": "MERCEDES V CLASS",
861 "adultPlaces": 7,
862 "childPlaces": 0,
863 "perPersonPrice": false,
864 "adultPrice": 140.00000000,
865 "childPrice": 0
866 },
867 {
868 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
869 "name": "MERCEDES S CLASS 500",
870 "adultPlaces": 3,
871 "childPlaces": 0,
872 "perPersonPrice": false,
873 "adultPrice": 165.00000000,
874 "childPrice": 0
875 }
876 ]
877 }
878 ],
879 "description": "Test Teeeest"
880 },
881 {
882 "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
883 "age": 33,
884 "isAdult": true,
885 "flightIds": [
886 "53552191-59ea-469d-ae9d-5b848da8839d"
887 ],
888 "flights": [
889 {
890 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
891 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
892 }
893 ],
894 "insurancePrice": {
895 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
896 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
897 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
898 "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
899 "insuranceName": "Medical INS (N10000)",
900 "contragentName": "Nomad Insurance",
901 "contragentFullName": "Nomad Insurance",
902 "actualStartDate": "2024-05-17T00:00:00.000",
903 "actualEndDate": "2024-05-21T00:00:00.000",
904 "costCurrencyCode": "USD",
905 "costAmount": 6.70,
906 "priceCurrencyCode": "USD",
907 "priceAmount": 11.20,
908 "coverageCurrencyCode": "USD",
909 "coverageAmount": 10000.0000
910 },
911 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
912 "transfers": [
913 {
914 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
915 "type": "Arrival",
916 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
917 "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
918 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
919 "transferPrices": [
920 {
921 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
922 "name": "GROUP",
923 "adultPlaces": 1,
924 "childPlaces": 1,
925 "perPersonPrice": true,
926 "adultPrice": 0,
927 "childPrice": 0
928 },
929 {
930 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
931 "name": "MINIVAN",
932 "adultPlaces": 5,
933 "childPlaces": 0,
934 "perPersonPrice": false,
935 "adultPrice": 45.00000000,
936 "childPrice": 0
937 },
938 {
939 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
940 "name": "TOYOTA HIACE",
941 "adultPlaces": 9,
942 "childPlaces": 0,
943 "perPersonPrice": false,
944 "adultPrice": 50.00000000,
945 "childPrice": 0
946 },
947 {
948 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
949 "name": "HIGER BUS (27 SEATERS)",
950 "adultPlaces": 27,
951 "childPlaces": 0,
952 "perPersonPrice": false,
953 "adultPrice": 85.00000000,
954 "childPrice": 0
955 },
956 {
957 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
958 "name": "HIGER 53",
959 "adultPlaces": 51,
960 "childPlaces": 0,
961 "perPersonPrice": false,
962 "adultPrice": 120.00000000,
963 "childPrice": 0
964 },
965 {
966 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
967 "name": "MERCEDES S CLASS 400",
968 "adultPlaces": 3,
969 "childPlaces": 0,
970 "perPersonPrice": false,
971 "adultPrice": 140.00000000,
972 "childPrice": 0
973 },
974 {
975 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
976 "name": "MERCEDES V CLASS",
977 "adultPlaces": 7,
978 "childPlaces": 0,
979 "perPersonPrice": false,
980 "adultPrice": 140.00000000,
981 "childPrice": 0
982 },
983 {
984 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
985 "name": "MERCEDES S CLASS 500",
986 "adultPlaces": 3,
987 "childPlaces": 0,
988 "perPersonPrice": false,
989 "adultPrice": 165.00000000,
990 "childPrice": 0
991 }
992 ]
993 },
994 {
995 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
996 "type": "Departure",
997 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
998 "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
999 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
1000 "transferPrices": [
1001 {
1002 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
1003 "name": "GROUP",
1004 "adultPlaces": 1,
1005 "childPlaces": 1,
1006 "perPersonPrice": true,
1007 "adultPrice": 0,
1008 "childPrice": 0
1009 },
1010 {
1011 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
1012 "name": "MINIVAN",
1013 "adultPlaces": 5,
1014 "childPlaces": 0,
1015 "perPersonPrice": false,
1016 "adultPrice": 45.00000000,
1017 "childPrice": 0
1018 },
1019 {
1020 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
1021 "name": "TOYOTA HIACE",
1022 "adultPlaces": 9,
1023 "childPlaces": 0,
1024 "perPersonPrice": false,
1025 "adultPrice": 50.00000000,
1026 "childPrice": 0
1027 },
1028 {
1029 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
1030 "name": "HIGER BUS (27 SEATERS)",
1031 "adultPlaces": 27,
1032 "childPlaces": 0,
1033 "perPersonPrice": false,
1034 "adultPrice": 85.00000000,
1035 "childPrice": 0
1036 },
1037 {
1038 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
1039 "name": "HIGER 53",
1040 "adultPlaces": 51,
1041 "childPlaces": 0,
1042 "perPersonPrice": false,
1043 "adultPrice": 120.00000000,
1044 "childPrice": 0
1045 },
1046 {
1047 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
1048 "name": "MERCEDES S CLASS 400",
1049 "adultPlaces": 3,
1050 "childPlaces": 0,
1051 "perPersonPrice": false,
1052 "adultPrice": 140.00000000,
1053 "childPrice": 0
1054 },
1055 {
1056 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
1057 "name": "MERCEDES V CLASS",
1058 "adultPlaces": 7,
1059 "childPlaces": 0,
1060 "perPersonPrice": false,
1061 "adultPrice": 140.00000000,
1062 "childPrice": 0
1063 },
1064 {
1065 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
1066 "name": "MERCEDES S CLASS 500",
1067 "adultPlaces": 3,
1068 "childPlaces": 0,
1069 "perPersonPrice": false,
1070 "adultPrice": 165.00000000,
1071 "childPrice": 0
1072 }
1073 ]
1074 }
1075 ],
1076 "description": "Teeeeest Teest"
1077 }
1078 ],
1079 "visas": [
1080 {
1081 "prid": "00000000-0000-0000-0000-000000000000",
1082 "prName": "WITHOUT VISA",
1083 "prValue": 0.00000000,
1084 "sortingOrder": 4
1085 },
1086 {
1087 "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b",
1088 "prName": "TOURIST VISA",
1089 "prValue": 80.01000000,
1090 "sortingOrder": 2
1091 },
1092 {
1093 "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb",
1094 "prName": "SERVICE VISA",
1095 "prValue": 120.08000000,
1096 "sortingOrder": 3
1097 }
1098 ],
1099 "terminals": [
1100 {
1101 "terminalCode": "DXB2",
1102 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1103 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
1104 "terminalName": "DXB2",
1105 "countryCode": "AE"
1106 },
1107 {
1108 "terminalCode": "DXB3",
1109 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1110 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
1111 "terminalName": "DXB3",
1112 "countryCode": "AE"
1113 },
1114 {
1115 "terminalCode": "ETD",
1116 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1117 "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
1118 "terminalName": "Etihad Main Office Dubai",
1119 "countryCode": "AE",
1120 "note": "Noor Islamic Bank MS"
1121 },
1122 {
1123 "terminalCode": "XGD",
1124 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
1125 "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf",
1126 "terminalName": "Dnata - Clock Tower",
1127 "countryCode": "AE"
1128 },
1129 {
1130 "terminalCode": "Etihad Bus Station",
1131 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1132 "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
1133 "terminalName": "Etihad Bus Station",
1134 "countryCode": "AE"
1135 },
1136 {
1137 "terminalCode": "DXB1",
1138 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1139 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
1140 "terminalName": "DXB1",
1141 "countryCode": "AE"
1142 },
1143 {
1144 "terminalCode": "DWC",
1145 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1146 "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444",
1147 "terminalName": "DWC",
1148 "countryCode": "AE",
1149 "note": "Al Maktoum intl. airport"
1150 },
1151 {
1152 "terminalCode": "DXB",
1153 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
1154 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
1155 "terminalName": "DXB",
1156 "countryCode": "AE"
1157 },
1158 {
1159 "terminalCode": "SHJ",
1160 "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
1161 "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d",
1162 "terminalName": "SHJ",
1163 "countryCode": "AE"
1164 },
1165 {
1166 "terminalCode": "AUH",
1167 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
1168 "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
1169 "terminalName": "AUH",
1170 "countryCode": "AE"
1171 },
1172 {
1173 "terminalCode": "QIW",
1174 "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88",
1175 "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94",
1176 "terminalName": "Um Al Quwain Terminal ",
1177 "countryCode": "AE"
1178 },
1179 {
1180 "terminalCode": "AUH3",
1181 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
1182 "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
1183 "terminalName": "AUH3",
1184 "countryCode": "AE"
1185 },
1186 {
1187 "terminalCode": "QAJ",
1188 "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d",
1189 "districtUID": "70e57708-9de2-4505-b550-f4627ae40877",
1190 "terminalName": "Ajman Terminal ",
1191 "countryCode": "AE"
1192 },
1193 {
1194 "terminalCode": "RKT",
1195 "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b",
1196 "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42",
1197 "terminalName": "Ras Al Khaimah Terminal ",
1198 "countryCode": "AE"
1199 },
1200 {
1201 "terminalCode": "FJR",
1202 "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222",
1203 "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82",
1204 "terminalName": "Fujairah Terminal ",
1205 "countryCode": "AE"
1206 }
1207 ],
1208 "containsError": false,
1209 "refreshPriceResult": "Success",
1210 "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
1211 "reservationDetailsUnavailable": false,
1212 "error": false
1213 }
1214 {{/code}}
1215
1216
1217 === Schema ===
1218
1219 {{success}}
1220 CalcOnlyHotelPackageResponse{
1221
1222 |error|boolean
1223 |errorCode|string
1224 nullable: true
1225 |errorDescription|string
1226 nullable: true
1227 |userErrorDescription|string
1228 nullable: true
1229 |package|OnlyHotelPackage{(((
1230 |id|string
1231 nullable: true
1232 |priceCurrency|string
1233 nullable: true
1234 |totalPrice|number($double)
1235 |agentCommissionPercent|number($double)
1236 |agentCommissionAmount|number($double)
1237 |hotel|PackageHotel{(((
1238 |hotelPriceId|string
1239 nullable: true
1240 |providerId|integer($int32)
1241 |hotelName|string
1242 nullable: true
1243 |hotelCode|string
1244 nullable: true
1245 |nigths|integer($int32)
1246 |mealPlan|string
1247 nullable: true
1248 |hotelClass|string
1249 nullable: true
1250 |availabilityType|RoomAvailabilityTypeEnumstringEnum:
1251 [ OnRequest, FreeSale, StopSale ]
1252 |availableRoomsCount|integer($int32)
1253 |fewRooms|boolean
1254 |roomCategoryCode|string
1255 nullable: true
1256 |roomCategoryName|string
1257 nullable: true
1258 |placementTypeName|string
1259 nullable: true
1260 |placementDescription|string
1261 nullable: true
1262 |checkInDate|string($date-time)
1263 |checkOutDate|string($date-time)
1264 |adults|integer($int32)
1265 |children|integer($int32)
1266 |districtUID|string($uuid)
1267 nullable: true
1268 |districtName|string
1269 nullable: true
1270 |cityUID|string($uuid)
1271 nullable: true
1272 |cityName|string
1273 nullable: true
1274 |countryCode|string
1275 nullable: true
1276 |countryName|string
1277 nullable: true
1278 |hasAlcohol|boolean
1279 |hasFreeWifi|boolean
1280 |hasMetro|boolean
1281 |hasPool|boolean
1282 |hasMall|boolean
1283 |cancellationPolicyDescription|string
1284 nullable: true
1285 |cancellationPolicy|CancellationPolicyExchange{(((
1286 |cancellationPolicyCode|string
1287 nullable: true
1288 |noShowChargeValue|number($double)
1289 nullable: true
1290 |noShowChargeValueType|string
1291 nullable: true
1292 |earlyDepartureChargeValue|number($double)
1293 nullable: true
1294 |earlyDepartureChargeValueType|string
1295 nullable: true
1296 |conditions|[
1297 nullable: trueCancellationPolicyConditionExchange{(((
1298 |timeunits|integer($int32)
1299 |timeunitType|string
1300 nullable: true
1301 |timeOffsetTypeName|string
1302 nullable: true
1303 |chargeValue|number($double)
1304 nullable: true
1305 |chargeValueType|string
1306 nullable: true
1307
1308 }]
1309 )))
1310
1311 }
1312 )))
1313
1314 }
1315 )))
1316 |extraServices|[
1317 nullable: trueHotelExtraServiceBase{(((
1318 |extraServiceCode|string
1319 nullable: true
1320 |extraServiceTypeCode|string
1321 nullable: true
1322 |isMandatory|integer($int32)
1323 |extraServiceName|string
1324 nullable: true
1325 |minimalServiceAmount|number($double)
1326 |includedPriceCode|string
1327 nullable: true
1328 |prices|[
1329 nullable: trueHotelExtraServicePriceBase{(((
1330 |extraServicePriceCode|string
1331 nullable: true
1332 |displayName|string
1333 nullable: true
1334 |restrictionInfo|string
1335 nullable: true
1336 |additionalInfo|string
1337 nullable: true
1338 |price|number($double)
1339 |extraPrice|number($double)
1340 |currency|string
1341 nullable: true
1342
1343 }]
1344 )))
1345
1346 }]
1347 )))
1348
1349 }
1350 )))
1351
1352 }
1353 {{/success}}