Changes for page 4. CalcCheckout

Last modified by Giorgi Mdivnishvili on 2024/04/11 16:59

From version 10.2
edited by Giorgi Mdivnishvili
on 2024/04/11 16:53
Change comment: There is no comment for this version
To version 11.1
edited by Giorgi Mdivnishvili
on 2024/04/11 16:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,7 +7,7 @@
7 7  = Method Description =
8 8  
9 9  
10 -Once the desired tour variation has been selected, the next step involves calculating the package price in greater detail, typically just before proceeding with the reservation. To accomplish this, the CalcCheckout method must be utilized. This stage marks the pre-booking phase of the process.
10 +Once the desired tour variation has been selected, the next step involves calculating the package price in greater detail, typically just before proceeding with the reservation. To accomplish this, the **CalcCheckout **method must be utilized. This stage marks the pre-booking phase of the process.
11 11  
12 12  
13 13  == Endpoint URL - [POST] ==
... ... @@ -638,7 +638,151 @@
638 638  
639 639  === Schema ===
640 640  
641 +
642 +
641 641  {{success}}
644 +CheckoutFormIn{
645 +
646 +|reservationId|string($uuid)
647 +nullable: true
648 +|calcTourPackageRequests|[
649 +nullable: trueCalcTourPackageRequest{(((
650 +|packageId|string
651 +nullable: true
652 +|extraServicePriceCodes|[
653 +nullable: truestring]
654 +|flightPassengers|[
655 +nullable: trueFlightPassengerIn{(((
656 +|id|string
657 +nullable: true
658 +|selectedForwardBaggageCode|string
659 +nullable: true
660 +|selectedBackwardBaggageCode|string
661 +nullable: true
662 +
663 +}]
664 +)))
665 +|includeInsurance|boolean
666 +nullable: true
667 +|refreshPrices|boolean
668 +
669 +}]
670 +)))
671 +|calcOnlyHotelPackageRequests|[
672 +nullable: trueCalcOnlyHotelPackageRequest{(((
673 +|packageId|string
674 +nullable: true
675 +|extraServicePriceCodes|[
676 +nullable: truestring]
677 +|includeInsurance|boolean
678 +|refreshPrices|boolean
679 +
680 +}]
681 +)))
682 +|calcOnlyAviaPackageRequests|[
683 +nullable: trueCalcOnlyAviaPackageRequest{(((
684 +|packageId|string
685 +nullable: true
686 +|refreshPrices|boolean
687 +|flightPassengers|[
688 +nullable: trueFlightPassengerIn{(((
689 +|id|string
690 +nullable: true
691 +|selectedForwardBaggageCode|string
692 +nullable: true
693 +|selectedBackwardBaggageCode|string
694 +nullable: true
695 +
696 +}]
697 +)))
698 +
699 +}]
700 +)))
701 +|hotels|[
702 +nullable: trueCheckoutHotelIn{(((
703 +|hotelPriceId|string
704 +nullable: true
705 +|agentConfirmationNumber|string
706 +nullable: true
707 +|note|string
708 +nullable: true
709 +|touristIds|[
710 +nullable: truestring($uuid)]
711 +
712 +}]
713 +)))
714 +|tourists|[
715 +nullable: trueCheckoutTouristIn{(((
716 +|id|string($uuid)
717 +|firstName|string
718 +nullable: true
719 +|lastName|string
720 +nullable: true
721 +|birthDate|string($date-time)
722 +nullable: true
723 +|passportNumber|string
724 +nullable: true
725 +|passportExpiry|string($date-time)
726 +nullable: true
727 +|passportIssue|string($date-time)
728 +nullable: true
729 +|citizenship|string
730 +nullable: true
731 +|tin|string
732 +nullable: true
733 +|isMale|boolean
734 +nullable: true
735 +|flightIds|[
736 +nullable: truestring]
737 +|arrivalFlightInfo|ManualFlightInfo{(((
738 +|flightNumber|string
739 +nullable: true
740 +|terminalCode|string
741 +nullable: true
742 +|date|string($date-time)
743 +nullable: true
744 +|time|string
745 +nullable: true
746 +
747 +}
748 +)))
749 +|departureFlightInfo|ManualFlightInfo{(((
750 +|flightNumber|string
751 +nullable: true
752 +|terminalCode|string
753 +nullable: true
754 +|date|string($date-time)
755 +nullable: true
756 +|time|string
757 +nullable: true
758 +
759 +}
760 +)))
761 +|selectedVisaId|string
762 +nullable: true
763 +|transfers|[
764 +nullable: trueCheckoutTransferIn{(((
765 +|id|string
766 +nullable: true
767 +|selectedTransferPriceId|string
768 +nullable: true
769 +
770 +}]
771 +)))
772 +
773 +}]
774 +)))
775 +|note|string
776 +nullable: true
777 +|contactPhone|string
778 +nullable: true
779 +
780 +}
781 +{{/success}}
782 +
783 +
784 +
785 +{{success}}
642 642  CheckoutFormOut{
643 643  
644 644  |error|boolean
... ... @@ -730,7 +730,7 @@
730 730  |packageId|String|A unique identifier for the tour package.
731 731  |flightPassengers|Array|An array of objects, each representing a flight passenger.
732 732  |id|String|A unique identifier for each flight passenger.
733 -|selectedForwardBaggageCode|String|The selected baggage option for the forward journey.
877 +|selectedForwardBaggageCode|String|The selected baggage option for the forward journey. there is two optoions ""
734 734  |selectedBackwardBaggageCode|String|The selected baggage option for the backward journey.
735 735  |extraServicePriceCodes|Array|An array of extra service price codes. If empty, no extra services are selected.
736 736  |includeInsurance|Boolean|If true, insurance will be included in the tour package.