Wiki source code of 5. ConfirmCheckout

Version 9.1 by Giorgi Mdivnishvili on 2024/04/11 13:05

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 "priceCurrency": "string",
305 "totalPrice": 0,
306 "agentCommissionPercent": 0,
307 "agentCommissionAmount": 0,
308 "requiredCitizenIdentifiers": [
309 {
310 "countryCode": "string",
311 "identifierType": "TIN"
312 }
313 ],
314 "hotels": [
315 {
316 "hotelPriceId": "string",
317 "touristIds": [
318 "3fa85f64-5717-4562-b3fc-2c963f66afa6"
319 ],
320 "errorCode": "string",
321 "errorMessage": "string",
322 "description": "string"
323 }
324 ],
325 "tourists": [
326 {
327 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
328 "age": 0,
329 "isAdult": true,
330 "flightIds": [
331 "string"
332 ],
333 "flights": [
334 {
335 "flightId": "string",
336 "note": "string"
337 }
338 ],
339 "arrivalFlightInfo": {
340 "flightNumber": "string",
341 "terminalCode": "string",
342 "date": "2024-04-11T05:16:08.335Z",
343 "time": "string"
344 },
345 "departureFlightInfo": {
346 "flightNumber": "string",
347 "terminalCode": "string",
348 "date": "2024-04-11T05:16:08.335Z",
349 "time": "string"
350 },
351 "insurancePrice": {
352 "insuranceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
353 "insuranceServiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
354 "insurancePriceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
355 "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
356 "insuranceName": "string",
357 "insuranceDescription": "string",
358 "contragentName": "string",
359 "contragentFullName": "string",
360 "actualStartDate": "2024-04-11T05:16:08.335Z",
361 "actualEndDate": "2024-04-11T05:16:08.335Z",
362 "costCurrencyCode": "string",
363 "costAmount": 0,
364 "priceCurrencyCode": "string",
365 "priceAmount": 0,
366 "coverageCurrencyCode": "string",
367 "coverageAmount": 0
368 },
369 "selectedVisaId": "string",
370 "transfers": [
371 {
372 "id": "string",
373 "type": "Arrival",
374 "flightId": "string",
375 "flightInfo": {
376 "flightNumber": "string",
377 "terminalCode": "string",
378 "date": "2024-04-11T05:16:08.335Z",
379 "time": "string"
380 },
381 "checkInHotelId": "string",
382 "checkOutHotelId": "string",
383 "selectedTransferPriceId": "string",
384 "transferPrices": [
385 {
386 "id": "string",
387 "name": "string",
388 "adultPlaces": 0,
389 "childPlaces": 0,
390 "perPersonPrice": true,
391 "adultPrice": 0,
392 "childPrice": 0
393 }
394 ]
395 }
396 ],
397 "errorCode": "string",
398 "errorMessage": "string",
399 "description": "string"
400 }
401 ],
402 "visas": [
403 {
404 "prid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
405 "prName": "string",
406 "prValue": 0,
407 "sortingOrder": 0
408 }
409 ],
410 "terminals": [
411 {
412 "terminalCode": "string",
413 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
414 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
415 "terminalName": "string",
416 "countryCode": "string",
417 "note": "string"
418 }
419 ],
420 "containsError": true,
421 "refreshPriceResult": "Success",
422 "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
423 "reservationDetailsUnavailable": true
424 }
425 {{/code}}
426
427
428 === Response example ===
429
430 {{code language="Json"}}
431 {
432 "priceCurrency": "USD",
433 "totalPrice": 782,
434 "agentCommissionPercent": 0.00,
435 "agentCommissionAmount": 0,
436 "requiredCitizenIdentifiers": [
437 {
438 "countryCode": "KZ",
439 "identifierType": "TIN"
440 },
441 {
442 "countryCode": "AZ",
443 "identifierType": "FIN"
444 }
445 ],
446 "hotels": [
447 {
448 "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
449 "touristIds": [
450 "27977a19-045e-4990-95a8-fbd7d49083de",
451 "0b3cb288-00c5-4c68-946e-87fc5f5d5b82"
452 ],
453 "description": "Ibis Al Rigga"
454 }
455 ],
456 "tourists": [
457 {
458 "id": "27977a19-045e-4990-95a8-fbd7d49083de",
459 "age": 33,
460 "isAdult": true,
461 "flightIds": [
462 "53552191-59ea-469d-ae9d-5b848da8839d"
463 ],
464 "flights": [
465 {
466 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
467 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
468 }
469 ],
470 "insurancePrice": {
471 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
472 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
473 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
474 "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
475 "insuranceName": "Medical INS (N10000)",
476 "contragentName": "Nomad Insurance",
477 "contragentFullName": "Nomad Insurance",
478 "actualStartDate": "2024-05-17T00:00:00.000",
479 "actualEndDate": "2024-05-21T00:00:00.000",
480 "costCurrencyCode": "USD",
481 "costAmount": 6.70,
482 "priceCurrencyCode": "USD",
483 "priceAmount": 11.20,
484 "coverageCurrencyCode": "USD",
485 "coverageAmount": 10000.0000
486 },
487 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
488 "transfers": [
489 {
490 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
491 "type": "Arrival",
492 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
493 "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
494 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
495 "transferPrices": [
496 {
497 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
498 "name": "GROUP",
499 "adultPlaces": 1,
500 "childPlaces": 1,
501 "perPersonPrice": true,
502 "adultPrice": 0,
503 "childPrice": 0
504 },
505 {
506 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
507 "name": "MINIVAN",
508 "adultPlaces": 5,
509 "childPlaces": 0,
510 "perPersonPrice": false,
511 "adultPrice": 45.00000000,
512 "childPrice": 0
513 },
514 {
515 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
516 "name": "TOYOTA HIACE",
517 "adultPlaces": 9,
518 "childPlaces": 0,
519 "perPersonPrice": false,
520 "adultPrice": 50.00000000,
521 "childPrice": 0
522 },
523 {
524 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
525 "name": "HIGER BUS (27 SEATERS)",
526 "adultPlaces": 27,
527 "childPlaces": 0,
528 "perPersonPrice": false,
529 "adultPrice": 85.00000000,
530 "childPrice": 0
531 },
532 {
533 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
534 "name": "HIGER 53",
535 "adultPlaces": 51,
536 "childPlaces": 0,
537 "perPersonPrice": false,
538 "adultPrice": 120.00000000,
539 "childPrice": 0
540 },
541 {
542 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
543 "name": "MERCEDES S CLASS 400",
544 "adultPlaces": 3,
545 "childPlaces": 0,
546 "perPersonPrice": false,
547 "adultPrice": 140.00000000,
548 "childPrice": 0
549 },
550 {
551 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
552 "name": "MERCEDES V CLASS",
553 "adultPlaces": 7,
554 "childPlaces": 0,
555 "perPersonPrice": false,
556 "adultPrice": 140.00000000,
557 "childPrice": 0
558 },
559 {
560 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
561 "name": "MERCEDES S CLASS 500",
562 "adultPlaces": 3,
563 "childPlaces": 0,
564 "perPersonPrice": false,
565 "adultPrice": 165.00000000,
566 "childPrice": 0
567 }
568 ]
569 },
570 {
571 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
572 "type": "Departure",
573 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
574 "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
575 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
576 "transferPrices": [
577 {
578 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
579 "name": "GROUP",
580 "adultPlaces": 1,
581 "childPlaces": 1,
582 "perPersonPrice": true,
583 "adultPrice": 0,
584 "childPrice": 0
585 },
586 {
587 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
588 "name": "MINIVAN",
589 "adultPlaces": 5,
590 "childPlaces": 0,
591 "perPersonPrice": false,
592 "adultPrice": 45.00000000,
593 "childPrice": 0
594 },
595 {
596 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
597 "name": "TOYOTA HIACE",
598 "adultPlaces": 9,
599 "childPlaces": 0,
600 "perPersonPrice": false,
601 "adultPrice": 50.00000000,
602 "childPrice": 0
603 },
604 {
605 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
606 "name": "HIGER BUS (27 SEATERS)",
607 "adultPlaces": 27,
608 "childPlaces": 0,
609 "perPersonPrice": false,
610 "adultPrice": 85.00000000,
611 "childPrice": 0
612 },
613 {
614 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
615 "name": "HIGER 53",
616 "adultPlaces": 51,
617 "childPlaces": 0,
618 "perPersonPrice": false,
619 "adultPrice": 120.00000000,
620 "childPrice": 0
621 },
622 {
623 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
624 "name": "MERCEDES S CLASS 400",
625 "adultPlaces": 3,
626 "childPlaces": 0,
627 "perPersonPrice": false,
628 "adultPrice": 140.00000000,
629 "childPrice": 0
630 },
631 {
632 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
633 "name": "MERCEDES V CLASS",
634 "adultPlaces": 7,
635 "childPlaces": 0,
636 "perPersonPrice": false,
637 "adultPrice": 140.00000000,
638 "childPrice": 0
639 },
640 {
641 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
642 "name": "MERCEDES S CLASS 500",
643 "adultPlaces": 3,
644 "childPlaces": 0,
645 "perPersonPrice": false,
646 "adultPrice": 165.00000000,
647 "childPrice": 0
648 }
649 ]
650 }
651 ],
652 "description": "Test Teeeest"
653 },
654 {
655 "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
656 "age": 33,
657 "isAdult": true,
658 "flightIds": [
659 "53552191-59ea-469d-ae9d-5b848da8839d"
660 ],
661 "flights": [
662 {
663 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
664 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
665 }
666 ],
667 "insurancePrice": {
668 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
669 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
670 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
671 "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
672 "insuranceName": "Medical INS (N10000)",
673 "contragentName": "Nomad Insurance",
674 "contragentFullName": "Nomad Insurance",
675 "actualStartDate": "2024-05-17T00:00:00.000",
676 "actualEndDate": "2024-05-21T00:00:00.000",
677 "costCurrencyCode": "USD",
678 "costAmount": 6.70,
679 "priceCurrencyCode": "USD",
680 "priceAmount": 11.20,
681 "coverageCurrencyCode": "USD",
682 "coverageAmount": 10000.0000
683 },
684 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
685 "transfers": [
686 {
687 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
688 "type": "Arrival",
689 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
690 "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
691 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
692 "transferPrices": [
693 {
694 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
695 "name": "GROUP",
696 "adultPlaces": 1,
697 "childPlaces": 1,
698 "perPersonPrice": true,
699 "adultPrice": 0,
700 "childPrice": 0
701 },
702 {
703 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
704 "name": "MINIVAN",
705 "adultPlaces": 5,
706 "childPlaces": 0,
707 "perPersonPrice": false,
708 "adultPrice": 45.00000000,
709 "childPrice": 0
710 },
711 {
712 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
713 "name": "TOYOTA HIACE",
714 "adultPlaces": 9,
715 "childPlaces": 0,
716 "perPersonPrice": false,
717 "adultPrice": 50.00000000,
718 "childPrice": 0
719 },
720 {
721 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
722 "name": "HIGER BUS (27 SEATERS)",
723 "adultPlaces": 27,
724 "childPlaces": 0,
725 "perPersonPrice": false,
726 "adultPrice": 85.00000000,
727 "childPrice": 0
728 },
729 {
730 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
731 "name": "HIGER 53",
732 "adultPlaces": 51,
733 "childPlaces": 0,
734 "perPersonPrice": false,
735 "adultPrice": 120.00000000,
736 "childPrice": 0
737 },
738 {
739 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
740 "name": "MERCEDES S CLASS 400",
741 "adultPlaces": 3,
742 "childPlaces": 0,
743 "perPersonPrice": false,
744 "adultPrice": 140.00000000,
745 "childPrice": 0
746 },
747 {
748 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
749 "name": "MERCEDES V CLASS",
750 "adultPlaces": 7,
751 "childPlaces": 0,
752 "perPersonPrice": false,
753 "adultPrice": 140.00000000,
754 "childPrice": 0
755 },
756 {
757 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
758 "name": "MERCEDES S CLASS 500",
759 "adultPlaces": 3,
760 "childPlaces": 0,
761 "perPersonPrice": false,
762 "adultPrice": 165.00000000,
763 "childPrice": 0
764 }
765 ]
766 },
767 {
768 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
769 "type": "Departure",
770 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
771 "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
772 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
773 "transferPrices": [
774 {
775 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
776 "name": "GROUP",
777 "adultPlaces": 1,
778 "childPlaces": 1,
779 "perPersonPrice": true,
780 "adultPrice": 0,
781 "childPrice": 0
782 },
783 {
784 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
785 "name": "MINIVAN",
786 "adultPlaces": 5,
787 "childPlaces": 0,
788 "perPersonPrice": false,
789 "adultPrice": 45.00000000,
790 "childPrice": 0
791 },
792 {
793 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
794 "name": "TOYOTA HIACE",
795 "adultPlaces": 9,
796 "childPlaces": 0,
797 "perPersonPrice": false,
798 "adultPrice": 50.00000000,
799 "childPrice": 0
800 },
801 {
802 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
803 "name": "HIGER BUS (27 SEATERS)",
804 "adultPlaces": 27,
805 "childPlaces": 0,
806 "perPersonPrice": false,
807 "adultPrice": 85.00000000,
808 "childPrice": 0
809 },
810 {
811 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
812 "name": "HIGER 53",
813 "adultPlaces": 51,
814 "childPlaces": 0,
815 "perPersonPrice": false,
816 "adultPrice": 120.00000000,
817 "childPrice": 0
818 },
819 {
820 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
821 "name": "MERCEDES S CLASS 400",
822 "adultPlaces": 3,
823 "childPlaces": 0,
824 "perPersonPrice": false,
825 "adultPrice": 140.00000000,
826 "childPrice": 0
827 },
828 {
829 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
830 "name": "MERCEDES V CLASS",
831 "adultPlaces": 7,
832 "childPlaces": 0,
833 "perPersonPrice": false,
834 "adultPrice": 140.00000000,
835 "childPrice": 0
836 },
837 {
838 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
839 "name": "MERCEDES S CLASS 500",
840 "adultPlaces": 3,
841 "childPlaces": 0,
842 "perPersonPrice": false,
843 "adultPrice": 165.00000000,
844 "childPrice": 0
845 }
846 ]
847 }
848 ],
849 "description": "Teeeeest Teest"
850 }
851 ],
852 "visas": [
853 {
854 "prid": "00000000-0000-0000-0000-000000000000",
855 "prName": "WITHOUT VISA",
856 "prValue": 0.00000000,
857 "sortingOrder": 4
858 },
859 {
860 "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b",
861 "prName": "TOURIST VISA",
862 "prValue": 80.01000000,
863 "sortingOrder": 2
864 },
865 {
866 "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb",
867 "prName": "SERVICE VISA",
868 "prValue": 120.08000000,
869 "sortingOrder": 3
870 }
871 ],
872 "terminals": [
873 {
874 "terminalCode": "DXB2",
875 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
876 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
877 "terminalName": "DXB2",
878 "countryCode": "AE"
879 },
880 {
881 "terminalCode": "DXB3",
882 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
883 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
884 "terminalName": "DXB3",
885 "countryCode": "AE"
886 },
887 {
888 "terminalCode": "ETD",
889 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
890 "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
891 "terminalName": "Etihad Main Office Dubai",
892 "countryCode": "AE",
893 "note": "Noor Islamic Bank MS"
894 },
895 {
896 "terminalCode": "XGD",
897 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
898 "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf",
899 "terminalName": "Dnata - Clock Tower",
900 "countryCode": "AE"
901 },
902 {
903 "terminalCode": "Etihad Bus Station",
904 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
905 "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
906 "terminalName": "Etihad Bus Station",
907 "countryCode": "AE"
908 },
909 {
910 "terminalCode": "DXB1",
911 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
912 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
913 "terminalName": "DXB1",
914 "countryCode": "AE"
915 },
916 {
917 "terminalCode": "DWC",
918 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
919 "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444",
920 "terminalName": "DWC",
921 "countryCode": "AE",
922 "note": "Al Maktoum intl. airport"
923 },
924 {
925 "terminalCode": "DXB",
926 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
927 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
928 "terminalName": "DXB",
929 "countryCode": "AE"
930 },
931 {
932 "terminalCode": "SHJ",
933 "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
934 "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d",
935 "terminalName": "SHJ",
936 "countryCode": "AE"
937 },
938 {
939 "terminalCode": "AUH",
940 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
941 "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
942 "terminalName": "AUH",
943 "countryCode": "AE"
944 },
945 {
946 "terminalCode": "QIW",
947 "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88",
948 "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94",
949 "terminalName": "Um Al Quwain Terminal ",
950 "countryCode": "AE"
951 },
952 {
953 "terminalCode": "AUH3",
954 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
955 "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
956 "terminalName": "AUH3",
957 "countryCode": "AE"
958 },
959 {
960 "terminalCode": "QAJ",
961 "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d",
962 "districtUID": "70e57708-9de2-4505-b550-f4627ae40877",
963 "terminalName": "Ajman Terminal ",
964 "countryCode": "AE"
965 },
966 {
967 "terminalCode": "RKT",
968 "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b",
969 "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42",
970 "terminalName": "Ras Al Khaimah Terminal ",
971 "countryCode": "AE"
972 },
973 {
974 "terminalCode": "FJR",
975 "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222",
976 "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82",
977 "terminalName": "Fujairah Terminal ",
978 "countryCode": "AE"
979 }
980 ],
981 "containsError": false,
982 "refreshPriceResult": "Success",
983 "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
984 "reservationDetailsUnavailable": false,
985 "error": false
986 }
987 {{/code}}
988
989
990 === Schema ===
991
992 {{success}}
993 CheckoutFormOut{
994
995 |error|boolean
996 |errorCode|string
997 nullable: true
998 |errorDescription|string
999 nullable: true
1000 |userErrorDescription|string
1001 nullable: true
1002 |priceCurrency|string
1003 nullable: true
1004 |totalPrice|number($double)
1005 |agentCommissionPercent|number($double)
1006 |agentCommissionAmount|number($double)
1007 |requiredCitizenIdentifiers|[
1008 nullable: trueCitizenIdentifier{(((
1009 |countryCode|string
1010 nullable: true
1011 |identifierType|IdentifierTypeEnumstringEnum:
1012 [ TIN, FIN ]
1013
1014 }]
1015 )))
1016 |hotels|[
1017 nullable: trueCheckoutHotelOut{(((
1018 |hotelPriceId|string
1019 nullable: true
1020 |touristIds|[
1021 nullable: truestring($uuid)]
1022 |errorCode|string
1023 nullable: true
1024 |errorMessage|string
1025 nullable: true
1026 |description|string
1027 nullable: true
1028
1029 }]
1030 )))
1031 |tourists|[
1032 nullable: trueCheckoutTouristOut{(((
1033 |id|string($uuid)
1034 |age|integer($int32)
1035 nullable: true
1036 |isAdult|boolean
1037 |flightIds|[
1038 nullable: truestring]
1039 |flights|[
1040 nullable: trueCheckoutFlightOut{(((
1041 |flightId|string
1042 nullable: true
1043 |note|string
1044 nullable: true
1045
1046 }]
1047 )))
1048 |arrivalFlightInfo|ManualFlightInfo{(((
1049 |flightNumber|string
1050 nullable: true
1051 |terminalCode|string
1052 nullable: true
1053 |date|string($date-time)
1054 nullable: true
1055 |time|string
1056 nullable: true
1057
1058 }
1059 )))
1060 |departureFlightInfo|ManualFlightInfo{(((
1061 |flightNumber|string
1062 nullable: true
1063 |terminalCode|string
1064 nullable: true
1065 |date|string($date-time)
1066 nullable: true
1067 |time|string
1068 nullable: true
1069
1070 }
1071 )))
1072 |insurancePrice|InsurancePriceForTourist{(((
1073 |insuranceId|string($uuid)
1074 |insuranceServiceId|string($uuid)
1075 |insurancePriceId|string($uuid)
1076 |touristId|string($uuid)
1077 |insuranceName|string
1078 nullable: true
1079 |insuranceDescription|string
1080 nullable: true
1081 |contragentName|string
1082 nullable: true
1083 |contragentFullName|string
1084 nullable: true
1085 |actualStartDate|string($date-time)
1086 |actualEndDate|string($date-time)
1087 |costCurrencyCode|string
1088 nullable: true
1089 |costAmount|number($double)
1090 |priceCurrencyCode|string
1091 nullable: true
1092 |priceAmount|number($double)
1093 |coverageCurrencyCode|string
1094 nullable: true
1095 |coverageAmount|number($double)
1096
1097 }
1098 )))
1099 |selectedVisaId|string
1100 nullable: true
1101 |transfers|[
1102 nullable: trueCheckoutTransferOut{(((
1103 |id|string
1104 nullable: true
1105 |type|CheckoutTransferTypeEnumstringEnum:
1106 [ Arrival, Departure, HotelToHotel ]
1107 |flightId|string
1108 nullable: true
1109 |flightInfo|ManualFlightInfo{(((
1110 |flightNumber|string
1111 nullable: true
1112 |terminalCode|string
1113 nullable: true
1114 |date|string($date-time)
1115 nullable: true
1116 |time|string
1117 nullable: true
1118
1119 }
1120 )))
1121 |checkInHotelId|string
1122 nullable: true
1123 |checkOutHotelId|string
1124 nullable: true
1125 |selectedTransferPriceId|string
1126 nullable: true
1127 |transferPrices|[
1128 nullable: trueCheckoutTransferPrice{(((
1129 |id|string
1130 nullable: true
1131 |name|string
1132 nullable: true
1133 |adultPlaces|integer($int32)
1134 |childPlaces|integer($int32)
1135 |perPersonPrice|boolean
1136 |adultPrice|number($double)
1137 |childPrice|number($double)
1138
1139 }]
1140 )))
1141
1142 }]
1143 )))
1144 |errorCode|string
1145 nullable: true
1146 |errorMessage|string
1147 nullable: true
1148 |description|string
1149 nullable: true
1150
1151 }]
1152 )))
1153 |visas|[
1154 nullable: trueServicePrice{(((
1155 |prid|string($uuid)
1156 |prName|string
1157 nullable: true
1158 |prValue|number($double)
1159 |sortingOrder|integer($int32)
1160
1161 }]
1162 )))
1163 |terminals|[
1164 nullable: trueTerminal{(((
1165 |terminalCode|string
1166 nullable: true
1167 |cityUID|string($uuid)
1168 nullable: true
1169 |districtUID|string($uuid)
1170 nullable: true
1171 |terminalName|string
1172 nullable: true
1173 |countryCode|string
1174 nullable: true
1175 |note|string
1176 nullable: true
1177
1178 }]
1179 )))
1180 |containsError|boolean
1181 |refreshPriceResult|RefreshPriceResultEnumstringEnum:
1182 [ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ]
1183 |reservationId|string($uuid)
1184 |reservationDetailsUnavailable|boolean
1185
1186 }
1187 {{/success}}
1188
1189
1190
1191 == Description ==
1192
1193
1194 === Request ===
1195
1196 (% class="table-bordered" %)
1197 |=Field Path|=Data Type|=Description
1198 |calcTourPackageRequests[*].refreshPrices|Boolean|Indicates whether to refresh the prices for the tour package.
1199 |calcTourPackageRequests[*].packageId|String|Unique identifier for the tour package.
1200 |calcTourPackageRequests[*].flightPassengers[*].id|String|Unique identifier for a flight passenger within the package.
1201 |calcTourPackageRequests[*].flightPassengers[*].selectedForwardBaggageCode|String|Code indicating the baggage option selected for the forward journey.
1202 |calcTourPackageRequests[*].flightPassengers[*].selectedBackwardBaggageCode|String|Code indicating the baggage option selected for the return journey.
1203 |calcTourPackageRequests[*].extraServicePriceCodes|Array|An array of codes for extra services priced within the package.
1204 |calcTourPackageRequests[*].includeInsurance|Boolean|Indicates if insurance is included in the tour package.
1205 |calcOnlyHotelPackageRequests|Array|Details about hotel-only package requests, if applicable.
1206 |calcOnlyAviaPackageRequests|Array|Details about avia-only package requests, if applicable.
1207 |hotels[*].note|String|Additional notes regarding the hotel booking.
1208 |hotels[*].agentConfirmationNumber|String|Confirmation number provided by the agent for the hotel booking.
1209 |hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1210 |hotels[*].touristIds[*]|String|List of IDs for tourists staying at the hotel.
1211 |tourists[*].id|String|Unique identifier for the tourist.
1212 |tourists[*].isMale|Boolean|Indicates if the tourist is male.
1213 |tourists[*].firstName|String|First name of the tourist.
1214 |tourists[*].lastName|String|Last name of the tourist.
1215 |tourists[*].birthDate|String|Birth date of the tourist.
1216 |tourists[*].citizenship|String|Citizenship of the tourist.
1217 |tourists[*].passportNumber|String|Passport number of the tourist.
1218 |tourists[*].passportIssue|String|Issue date of the tourist's passport.
1219 |tourists[*].passportExpiry|String|Expiry date of the tourist's passport.
1220 |tourists[*].tin|String|Tax identification number of the tourist, if applicable.
1221 |tourists[*].selectedVisaId|String|ID of the selected visa option for the tourist.
1222 |tourists[*].flights[*].flightId|String|Identifier for flights associated with the tourist.
1223 |tourists[*].flights[*].note|String|Additional notes or details about the flight.
1224 |tourists[*].flightIds[*]|String|Array of flight IDs associated with the tourist.
1225 |tourists[*].insurancePrice.insuranceId|String|Identifier for the insurance plan selected for the tourist.
1226 |...|...|Additional fields for insurancePrice as detailed in previous responses.
1227 |tourists[*].departureFlightInfo.date|String|Departure date for the tourist's flight, if applicable.
1228 |tourists[*].departureFlightInfo.time|String|Departure time for the tourist's flight, if applicable.
1229 |tourists[*].departureFlightInfo.flightNumber|String|Flight number for the tourist's departure flight, if applicable.
1230 |tourists[*].departureFlightInfo.terminalCode|String|Terminal code for the tourist's departure flight, if applicable.
1231 |tourists[*].arrivalFlightInfo.date|String|Arrival date for the tourist's flight, if applicable.
1232 |tourists[*].arrivalFlightInfo.time|String|Arrival time for the tourist's flight, if applicable.
1233 |tourists[*].arrivalFlightInfo.flightNumber|String|Flight number for the tourist's arrival flight, if applicable.
1234 |tourists[*].arrivalFlightInfo.terminalCode|String|Terminal code for the tourist's arrival flight, if applicable.
1235 |tourists[*].transfers[*].id|String|Unique identifier for a transfer service associated with the tourist.
1236 |tourists[*].transfers[*].selectedTransferPriceId|String|ID of the selected pricing option for the transfer.
1237 |note|String|General note regarding the reservation, intended for testing or additional information.
1238 |contactPhone|String|Contact phone number associated with the reservation.
1239 |reservationId|String|Unique identifier for the entire reservation.
1240
1241
1242 === Response ===
1243
1244 |=Field Path|=Data Type|=Description
1245 |priceCurrency|String|Currency code (ISO 4217) for all transactional amounts mentioned in the response.
1246 |totalPrice|Number|Total price of the reservation.
1247 |agentCommissionPercent|Number|The percentage of the total price allocated as commission for the agent.
1248 |agentCommissionAmount|Number|The total commission amount in priceCurrency.
1249 |requiredCitizenIdentifiers[*].countryCode|String|The ISO 3166-1 alpha-2 country code for which an identifier is required.
1250 |requiredCitizenIdentifiers[*].identifierType|String|Type of identifier required (e.g., "TIN", "FIN").
1251 |hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1252 |hotels[*].touristIds[*]|Array|List of tourist IDs that are booked in this hotel.
1253 |hotels[*].description|String|Description of the hotel booking.
1254 |tourists[*].id|String|Unique identifier for a tourist.
1255 |tourists[*].age|Number|Age of the tourist.
1256 |tourists[*].isAdult|Boolean|Indicates whether the tourist is an adult.
1257 |tourists[*].flightIds[*]|Array|List of flight IDs associated with the tourist.
1258 |tourists[*].flights[*].flightId|String|Unique identifier for the flight.
1259 |tourists[*].flights[*].note|String|Notes or additional information about the flight.
1260 |tourists[*].insurancePrice.*|Various|Detailed information about the insurance price, including ID, name, coverage, and cost details.
1261 |tourists[*].selectedVisaId|String|Identifier for the selected visa option for the tourist.
1262 |tourists[*].transfers[*].id|String|Unique identifier for the transfer.
1263 |tourists[*].transfers[*].type|String|Type of transfer (e.g., "Arrival", "Departure").
1264 |tourists[*].transfers[*].flightId|String|The flight ID associated with the transfer.
1265 |tourists[*].transfers[*].checkInHotelId|String|Hotel ID for check-in associated with the transfer.
1266 |tourists[*].transfers[*].checkOutHotelId|String|Hotel ID for check-out associated with the transfer.
1267 |tourists[*].transfers[*].selectedTransferPriceId|String|The ID of the selected pricing option for the transfer.
1268 |tourists[*].transfers[*].transferPrices[*].*|Various|Detailed information about each transfer price option, including ID, name, and cost details.
1269 |visas[*].prid|String|Unique identifier for a visa option.
1270 |visas[*].prName|String|Name of the visa option.
1271 |visas[*].prValue|Number|The cost associated with this visa option.
1272 |visas[*].sortingOrder|Number|Sorting order for the visa options.
1273 |terminals[*].terminalCode|String|Code representing the terminal.
1274 |terminals[*].cityUID|String|Unique identifier for the city where the terminal is located.
1275 |terminals[*].districtUID|String|Unique identifier for the district of the terminal.
1276 |terminals[*].terminalName|String|Name of the terminal.
1277 |terminals[*].countryCode|String|The ISO 3166-1 alpha-2 country code for the terminal's country.
1278 |terminals[*].note|String|Additional notes or information about the terminal.
1279 |containsError|Boolean|Indicates if the response contains any errors.
1280 |refreshPriceResult|String|The result of attempting to refresh the price (e.g., "Success").
1281 |reservationId|String|Unique identifier for the reservation.
1282 |reservationDetailsUnavailable|Boolean|Indicates if the reservation details are currently unavailable.
1283 |error|Boolean|A generic error indicator, presumably redundant with containsError.
1284
1285