Changes for page 5. ConfirmCheckout

Last modified by Giorgi Mdivnishvili on 2024/08/30 12:58

From version 5.1
edited by Giorgi Mdivnishvili
on 2024/04/11 09:18
Change comment: There is no comment for this version
To version 11.1
edited by Giorgi Mdivnishvili
on 2024/04/11 17:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,9 +6,12 @@
6 6  
7 7  = Method Description =
8 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 10  
10 +This API endpoint serves the purpose of registering a new reservation.
11 11  
12 +Upon successfully processing the data retrieved from preceding methods, users can populate the designated parameters in their entirety and proceed to initiate a reservation request.
13 +
14 +
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
... ... @@ -301,353 +301,126 @@
301 301   "errorCode": "string",
302 302   "errorDescription": "string",
303 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",
307 + "priceCurrency": "string",
308 + "totalPrice": 0,
309 + "agentCommissionPercent": 0,
310 + "agentCommissionAmount": 0,
311 + "requiredCitizenIdentifiers": [
312 + {
336 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 - }
314 + "identifierType": "TIN"
315 + }
316 + ],
317 + "hotels": [
318 + {
319 + "hotelPriceId": "string",
320 + "touristIds": [
321 + "3fa85f64-5717-4562-b3fc-2c963f66afa6"
394 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 - }
323 + "errorCode": "string",
324 + "errorMessage": "string",
325 + "description": "string"
326 + }
327 + ],
328 + "tourists": [
329 + {
330 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
331 + "age": 0,
332 + "isAdult": true,
333 + "flightIds": [
334 + "string"
417 417   ],
418 - "passengers": [
336 + "flights": [
419 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 - ]
338 + "flightId": "string",
339 + "note": "string"
442 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 - }
341 + ],
342 + "arrivalFlightInfo": {
343 + "flightNumber": "string",
344 + "terminalCode": "string",
345 + "date": "2024-04-11T05:16:08.335Z",
346 + "time": "string"
533 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 - ]
348 + "departureFlightInfo": {
349 + "flightNumber": "string",
350 + "terminalCode": "string",
351 + "date": "2024-04-11T05:16:08.335Z",
352 + "time": "string"
617 617   },
618 - "extraServices": [
354 + "insurancePrice": {
355 + "insuranceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
356 + "insuranceServiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
357 + "insurancePriceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
358 + "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
359 + "insuranceName": "string",
360 + "insuranceDescription": "string",
361 + "contragentName": "string",
362 + "contragentFullName": "string",
363 + "actualStartDate": "2024-04-11T05:16:08.335Z",
364 + "actualEndDate": "2024-04-11T05:16:08.335Z",
365 + "costCurrencyCode": "string",
366 + "costAmount": 0,
367 + "priceCurrencyCode": "string",
368 + "priceAmount": 0,
369 + "coverageCurrencyCode": "string",
370 + "coverageAmount": 0
371 + },
372 + "selectedVisaId": "string",
373 + "transfers": [
619 619   {
620 - "extraServiceCode": "string",
621 - "extraServiceTypeCode": "string",
622 - "isMandatory": 0,
623 - "extraServiceName": "string",
624 - "minimalServiceAmount": 0,
625 - "includedPriceCode": "string",
626 - "prices": [
375 + "id": "string",
376 + "type": "Arrival",
377 + "flightId": "string",
378 + "flightInfo": {
379 + "flightNumber": "string",
380 + "terminalCode": "string",
381 + "date": "2024-04-11T05:16:08.335Z",
382 + "time": "string"
383 + },
384 + "checkInHotelId": "string",
385 + "checkOutHotelId": "string",
386 + "selectedTransferPriceId": "string",
387 + "transferPrices": [
627 627   {
628 - "extraServicePriceCode": "string",
629 - "displayName": "string",
630 - "restrictionInfo": "string",
631 - "additionalInfo": "string",
632 - "price": 0,
633 - "extraPrice": 0,
634 - "currency": "string"
389 + "id": "string",
390 + "name": "string",
391 + "adultPlaces": 0,
392 + "childPlaces": 0,
393 + "perPersonPrice": true,
394 + "adultPrice": 0,
395 + "childPrice": 0
635 635   }
636 636   ]
637 637   }
638 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 - }
400 + "errorCode": "string",
401 + "errorMessage": "string",
402 + "description": "string"
648 648   }
649 649   ],
650 - "refreshPriceResult": "Success"
405 + "visas": [
406 + {
407 + "prid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
408 + "prName": "string",
409 + "prValue": 0,
410 + "sortingOrder": 0
411 + }
412 + ],
413 + "terminals": [
414 + {
415 + "terminalCode": "string",
416 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
417 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
418 + "terminalName": "string",
419 + "countryCode": "string",
420 + "note": "string"
421 + }
422 + ],
423 + "containsError": true,
424 + "refreshPriceResult": "Success",
425 + "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
426 + "reservationDetailsUnavailable": true
651 651  }
652 652  {{/code}}
653 653  
... ... @@ -1217,7 +1217,7 @@
1217 1217  === Schema ===
1218 1218  
1219 1219  {{success}}
1220 -CalcOnlyHotelPackageResponse{
996 +CheckoutFormOut{
1221 1221  
1222 1222  |error|boolean
1223 1223  |errorCode|string
... ... @@ -1226,128 +1226,287 @@
1226 1226  nullable: true
1227 1227  |userErrorDescription|string
1228 1228  nullable: true
1229 -|package|OnlyHotelPackage{(((
1230 -|id|string
1231 -nullable: true
1232 1232  |priceCurrency|string
1233 1233  nullable: true
1234 1234  |totalPrice|number($double)
1235 1235  |agentCommissionPercent|number($double)
1236 1236  |agentCommissionAmount|number($double)
1237 -|hotel|PackageHotel{(((
1010 +|requiredCitizenIdentifiers|[
1011 +nullable: trueCitizenIdentifier{(((
1012 +|countryCode|string
1013 +nullable: true
1014 +|identifierType|IdentifierTypeEnumstringEnum:
1015 +[ TIN, FIN ]
1016 +
1017 +}]
1018 +)))
1019 +|hotels|[
1020 +nullable: trueCheckoutHotelOut{(((
1238 1238  |hotelPriceId|string
1239 1239  nullable: true
1240 -|providerId|integer($int32)
1241 -|hotelName|string
1023 +|touristIds|[
1024 +nullable: truestring($uuid)]
1025 +|errorCode|string
1242 1242  nullable: true
1243 -|hotelCode|string
1027 +|errorMessage|string
1244 1244  nullable: true
1245 -|nigths|integer($int32)
1246 -|mealPlan|string
1029 +|description|string
1247 1247  nullable: true
1248 -|hotelClass|string
1031 +
1032 +}]
1033 +)))
1034 +|tourists|[
1035 +nullable: trueCheckoutTouristOut{(((
1036 +|id|string($uuid)
1037 +|age|integer($int32)
1249 1249  nullable: true
1250 -|availabilityType|RoomAvailabilityTypeEnumstringEnum:
1251 -[ OnRequest, FreeSale, StopSale ]
1252 -|availableRoomsCount|integer($int32)
1253 -|fewRooms|boolean
1254 -|roomCategoryCode|string
1039 +|isAdult|boolean
1040 +|flightIds|[
1041 +nullable: truestring]
1042 +|flights|[
1043 +nullable: trueCheckoutFlightOut{(((
1044 +|flightId|string
1255 1255  nullable: true
1256 -|roomCategoryName|string
1046 +|note|string
1257 1257  nullable: true
1258 -|placementTypeName|string
1048 +
1049 +}]
1050 +)))
1051 +|arrivalFlightInfo|ManualFlightInfo{(((
1052 +|flightNumber|string
1259 1259  nullable: true
1260 -|placementDescription|string
1054 +|terminalCode|string
1261 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)
1056 +|date|string($date-time)
1267 1267  nullable: true
1268 -|districtName|string
1058 +|time|string
1269 1269  nullable: true
1270 -|cityUID|string($uuid)
1060 +
1061 +}
1062 +)))
1063 +|departureFlightInfo|ManualFlightInfo{(((
1064 +|flightNumber|string
1271 1271  nullable: true
1272 -|cityName|string
1066 +|terminalCode|string
1273 1273  nullable: true
1274 -|countryCode|string
1068 +|date|string($date-time)
1275 1275  nullable: true
1276 -|countryName|string
1070 +|time|string
1277 1277  nullable: true
1278 -|hasAlcohol|boolean
1279 -|hasFreeWifi|boolean
1280 -|hasMetro|boolean
1281 -|hasPool|boolean
1282 -|hasMall|boolean
1283 -|cancellationPolicyDescription|string
1072 +
1073 +}
1074 +)))
1075 +|insurancePrice|InsurancePriceForTourist{(((
1076 +|insuranceId|string($uuid)
1077 +|insuranceServiceId|string($uuid)
1078 +|insurancePriceId|string($uuid)
1079 +|touristId|string($uuid)
1080 +|insuranceName|string
1284 1284  nullable: true
1285 -|cancellationPolicy|CancellationPolicyExchange{(((
1286 -|cancellationPolicyCode|string
1082 +|insuranceDescription|string
1287 1287  nullable: true
1288 -|noShowChargeValue|number($double)
1084 +|contragentName|string
1289 1289  nullable: true
1290 -|noShowChargeValueType|string
1086 +|contragentFullName|string
1291 1291  nullable: true
1292 -|earlyDepartureChargeValue|number($double)
1088 +|actualStartDate|string($date-time)
1089 +|actualEndDate|string($date-time)
1090 +|costCurrencyCode|string
1293 1293  nullable: true
1294 -|earlyDepartureChargeValueType|string
1092 +|costAmount|number($double)
1093 +|priceCurrencyCode|string
1295 1295  nullable: true
1296 -|conditions|[
1297 -nullable: trueCancellationPolicyConditionExchange{(((
1298 -|timeunits|integer($int32)
1299 -|timeunitType|string
1095 +|priceAmount|number($double)
1096 +|coverageCurrencyCode|string
1300 1300  nullable: true
1301 -|timeOffsetTypeName|string
1098 +|coverageAmount|number($double)
1099 +
1100 +}
1101 +)))
1102 +|selectedVisaId|string
1302 1302  nullable: true
1303 -|chargeValue|number($double)
1104 +|transfers|[
1105 +nullable: trueCheckoutTransferOut{(((
1106 +|id|string
1304 1304  nullable: true
1305 -|chargeValueType|string
1108 +|type|CheckoutTransferTypeEnumstringEnum:
1109 +[ Arrival, Departure, HotelToHotel ]
1110 +|flightId|string
1306 1306  nullable: true
1112 +|flightInfo|ManualFlightInfo{(((
1113 +|flightNumber|string
1114 +nullable: true
1115 +|terminalCode|string
1116 +nullable: true
1117 +|date|string($date-time)
1118 +nullable: true
1119 +|time|string
1120 +nullable: true
1307 1307  
1308 -}]
1309 -)))
1310 -
1311 1311  }
1312 1312  )))
1313 -
1314 -}
1315 -)))
1316 -|extraServices|[
1317 -nullable: trueHotelExtraServiceBase{(((
1318 -|extraServiceCode|string
1124 +|checkInHotelId|string
1319 1319  nullable: true
1320 -|extraServiceTypeCode|string
1126 +|checkOutHotelId|string
1321 1321  nullable: true
1322 -|isMandatory|integer($int32)
1323 -|extraServiceName|string
1128 +|selectedTransferPriceId|string
1324 1324  nullable: true
1325 -|minimalServiceAmount|number($double)
1326 -|includedPriceCode|string
1130 +|transferPrices|[
1131 +nullable: trueCheckoutTransferPrice{(((
1132 +|id|string
1327 1327  nullable: true
1328 -|prices|[
1329 -nullable: trueHotelExtraServicePriceBase{(((
1330 -|extraServicePriceCode|string
1134 +|name|string
1331 1331  nullable: true
1332 -|displayName|string
1136 +|adultPlaces|integer($int32)
1137 +|childPlaces|integer($int32)
1138 +|perPersonPrice|boolean
1139 +|adultPrice|number($double)
1140 +|childPrice|number($double)
1141 +
1142 +}]
1143 +)))
1144 +
1145 +}]
1146 +)))
1147 +|errorCode|string
1333 1333  nullable: true
1334 -|restrictionInfo|string
1149 +|errorMessage|string
1335 1335  nullable: true
1336 -|additionalInfo|string
1151 +|description|string
1337 1337  nullable: true
1338 -|price|number($double)
1339 -|extraPrice|number($double)
1340 -|currency|string
1341 -nullable: true
1342 1342  
1343 1343  }]
1344 1344  )))
1156 +|visas|[
1157 +nullable: trueServicePrice{(((
1158 +|prid|string($uuid)
1159 +|prName|string
1160 +nullable: true
1161 +|prValue|number($double)
1162 +|sortingOrder|integer($int32)
1345 1345  
1346 1346  }]
1347 1347  )))
1166 +|terminals|[
1167 +nullable: trueTerminal{(((
1168 +|terminalCode|string
1169 +nullable: true
1170 +|cityUID|string($uuid)
1171 +nullable: true
1172 +|districtUID|string($uuid)
1173 +nullable: true
1174 +|terminalName|string
1175 +nullable: true
1176 +|countryCode|string
1177 +nullable: true
1178 +|note|string
1179 +nullable: true
1348 1348  
1349 -}
1181 +}]
1350 1350  )))
1183 +|containsError|boolean
1184 +|refreshPriceResult|RefreshPriceResultEnumstringEnum:
1185 +[ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ]
1186 +|reservationId|string($uuid)
1187 +|reservationDetailsUnavailable|boolean
1351 1351  
1352 1352  }
1353 1353  {{/success}}
1191 +
1192 +
1193 +
1194 +== Description ==
1195 +
1196 +
1197 +=== Request ===
1198 +
1199 +(% class="table-bordered" %)
1200 +|=Field Path|=Data Type|=Description
1201 +|calcTourPackageRequests[*].refreshPrices|Boolean|Indicates whether to refresh the prices for the tour package.
1202 +|calcTourPackageRequests[*].packageId|String|Unique identifier for the tour package.
1203 +|calcTourPackageRequests[*].flightPassengers[*].id|String|Unique identifier for a flight passenger within the package.
1204 +|calcTourPackageRequests[*].flightPassengers[*].selectedForwardBaggageCode|String|Code indicating the baggage option selected for the forward journey.
1205 +|calcTourPackageRequests[*].flightPassengers[*].selectedBackwardBaggageCode|String|Code indicating the baggage option selected for the return journey.
1206 +|calcTourPackageRequests[*].extraServicePriceCodes|Array|An array of codes for extra services priced within the package.
1207 +|calcTourPackageRequests[*].includeInsurance|Boolean|Indicates if insurance is included in the tour package.
1208 +|calcOnlyHotelPackageRequests|Array|Details about hotel-only package requests, if applicable.
1209 +|calcOnlyAviaPackageRequests|Array|Details about avia-only package requests, if applicable.
1210 +|hotels[*].note|String|Additional notes regarding the hotel booking.
1211 +|hotels[*].agentConfirmationNumber|String|Confirmation number provided by the agent for the hotel booking.
1212 +|hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1213 +|hotels[*].touristIds[*]|String|List of IDs for tourists staying at the hotel.
1214 +|tourists[*].id|String|Unique identifier for the tourist.
1215 +|tourists[*].isMale|Boolean|Indicates if the tourist is male.
1216 +|tourists[*].firstName|String|First name of the tourist.
1217 +|tourists[*].lastName|String|Last name of the tourist.
1218 +|tourists[*].birthDate|String|Birth date of the tourist.
1219 +|tourists[*].citizenship|String|Citizenship of the tourist.
1220 +|tourists[*].passportNumber|String|Passport number of the tourist.
1221 +|tourists[*].passportIssue|String|Issue date of the tourist's passport.
1222 +|tourists[*].passportExpiry|String|Expiry date of the tourist's passport.
1223 +|tourists[*].tin|String|Tax identification number of the tourist, if applicable.
1224 +|tourists[*].selectedVisaId|String|ID of the selected visa option for the tourist.
1225 +|tourists[*].flights[*].flightId|String|Identifier for flights associated with the tourist.
1226 +|tourists[*].flights[*].note|String|Additional notes or details about the flight.
1227 +|tourists[*].flightIds[*]|String|Array of flight IDs associated with the tourist.
1228 +|tourists[*].insurancePrice.insuranceId|String|Identifier for the insurance plan selected for the tourist.
1229 +|...|...|Additional fields for insurancePrice as detailed in previous responses.
1230 +|tourists[*].departureFlightInfo.date|String|Departure date for the tourist's flight, if applicable.
1231 +|tourists[*].departureFlightInfo.time|String|Departure time for the tourist's flight, if applicable.
1232 +|tourists[*].departureFlightInfo.flightNumber|String|Flight number for the tourist's departure flight, if applicable.
1233 +|tourists[*].departureFlightInfo.terminalCode|String|Terminal code for the tourist's departure flight, if applicable.
1234 +|tourists[*].arrivalFlightInfo.date|String|Arrival date for the tourist's flight, if applicable.
1235 +|tourists[*].arrivalFlightInfo.time|String|Arrival time for the tourist's flight, if applicable.
1236 +|tourists[*].arrivalFlightInfo.flightNumber|String|Flight number for the tourist's arrival flight, if applicable.
1237 +|tourists[*].arrivalFlightInfo.terminalCode|String|Terminal code for the tourist's arrival flight, if applicable.
1238 +|tourists[*].transfers[*].id|String|Unique identifier for a transfer service associated with the tourist.
1239 +|tourists[*].transfers[*].selectedTransferPriceId|String|ID of the selected pricing option for the transfer.
1240 +|note|String|General note regarding the reservation, intended for testing or additional information.
1241 +|contactPhone|String|Contact phone number associated with the reservation.
1242 +|reservationId|String|Unique identifier for the entire reservation.
1243 +
1244 +=== Response ===
1245 +
1246 +(% class="table-bordered" %)
1247 +|=Field Path|=Data Type|=Description
1248 +|priceCurrency|String|Currency code (ISO 4217) for all transactional amounts mentioned in the response.
1249 +|totalPrice|Number|Total price of the reservation.
1250 +|agentCommissionPercent|Number|The percentage of the total price allocated as commission for the agent.
1251 +|agentCommissionAmount|Number|The total commission amount in priceCurrency.
1252 +|requiredCitizenIdentifiers[*].countryCode|String|The ISO 3166-1 alpha-2 country code for which an identifier is required.
1253 +|requiredCitizenIdentifiers[*].identifierType|String|Type of identifier required (e.g., "TIN", "FIN").
1254 +|hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1255 +|hotels[*].touristIds[*]|Array|List of tourist IDs that are booked in this hotel.
1256 +|hotels[*].description|String|Description of the hotel booking.
1257 +|tourists[*].id|String|Unique identifier for a tourist.
1258 +|tourists[*].age|Number|Age of the tourist.
1259 +|tourists[*].isAdult|Boolean|Indicates whether the tourist is an adult.
1260 +|tourists[*].flightIds[*]|Array|List of flight IDs associated with the tourist.
1261 +|tourists[*].flights[*].flightId|String|Unique identifier for the flight.
1262 +|tourists[*].flights[*].note|String|Notes or additional information about the flight.
1263 +|tourists[*].insurancePrice.*|Various|Detailed information about the insurance price, including ID, name, coverage, and cost details.
1264 +|tourists[*].selectedVisaId|String|Identifier for the selected visa option for the tourist.
1265 +|tourists[*].transfers[*].id|String|Unique identifier for the transfer.
1266 +|tourists[*].transfers[*].type|String|Type of transfer (e.g., "Arrival", "Departure").
1267 +|tourists[*].transfers[*].flightId|String|The flight ID associated with the transfer.
1268 +|tourists[*].transfers[*].checkInHotelId|String|Hotel ID for check-in associated with the transfer.
1269 +|tourists[*].transfers[*].checkOutHotelId|String|Hotel ID for check-out associated with the transfer.
1270 +|tourists[*].transfers[*].selectedTransferPriceId|String|The ID of the selected pricing option for the transfer.
1271 +|tourists[*].transfers[*].transferPrices[*].*|Various|Detailed information about each transfer price option, including ID, name, and cost details.
1272 +|visas[*].prid|String|Unique identifier for a visa option.
1273 +|visas[*].prName|String|Name of the visa option.
1274 +|visas[*].prValue|Number|The cost associated with this visa option.
1275 +|visas[*].sortingOrder|Number|Sorting order for the visa options.
1276 +|terminals[*].terminalCode|String|Code representing the terminal.
1277 +|terminals[*].cityUID|String|Unique identifier for the city where the terminal is located.
1278 +|terminals[*].districtUID|String|Unique identifier for the district of the terminal.
1279 +|terminals[*].terminalName|String|Name of the terminal.
1280 +|terminals[*].countryCode|String|The ISO 3166-1 alpha-2 country code for the terminal's country.
1281 +|terminals[*].note|String|Additional notes or information about the terminal.
1282 +|containsError|Boolean|Indicates if the response contains any errors.
1283 +|refreshPriceResult|String|The result of attempting to refresh the price (e.g., "Success").
1284 +|reservationId|String|Unique identifier for the reservation.
1285 +|reservationDetailsUnavailable|Boolean|Indicates if the reservation details are currently unavailable.
1286 +|error|Boolean|A generic error indicator, presumably redundant with containsError.
1287 +
1288 +