Changes for page 4. CalcCheckout

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

From version 8.1
edited by Giorgi Mdivnishvili
on 2024/04/11 12:48
Change comment: There is no comment for this version
To version 10.1
edited by Giorgi Mdivnishvili
on 2024/04/11 16:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,9 +6,10 @@
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 +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 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
... ... @@ -638,6 +638,8 @@
638 638  === Schema ===
639 639  
640 640  {{success}}
642 +CheckoutFormOut{
643 +
641 641  |error|boolean
642 642  |errorCode|string
643 643  nullable: true
... ... @@ -652,7 +652,8 @@
652 652  |agentCommissionAmount|number($double)
653 653  |requiredCitizenIdentifiers|[
654 654  nullable: trueCitizenIdentifier{(((
655 -|countryCode|[...]
658 +|countryCode|string
659 +nullable: true
656 656  |identifierType|IdentifierTypeEnumstringEnum:
657 657  [ TIN, FIN ]
658 658  
... ... @@ -674,117 +674,7 @@
674 674  }]
675 675  )))
676 676  |tourists|[
677 -nullable: trueCheckoutTouristOut{(((
678 -|id|[...]
679 -|age|[...]
680 -|isAdult|[...]
681 -|flightIds|[...]
682 -|flights|[...]
683 -|arrivalFlightInfo|ManualFlightInfo{(((
684 -|flightNumber|string
685 -nullable: true
686 -|terminalCode|string
687 -nullable: true
688 -|date|string($date-time)
689 -nullable: true
690 -|time|string
691 -nullable: true
692 -
693 -}
694 -)))
695 -|departureFlightInfo|ManualFlightInfo{(((
696 -|flightNumber|string
697 -nullable: true
698 -|terminalCode|string
699 -nullable: true
700 -|date|string($date-time)
701 -nullable: true
702 -|time|string
703 -nullable: true
704 -
705 -}
706 -)))
707 -|insurancePrice|InsurancePriceForTourist{(((
708 -|insuranceId|string($uuid)
709 -|insuranceServiceId|string($uuid)
710 -|insurancePriceId|string($uuid)
711 -|touristId|string($uuid)
712 -|insuranceName|string
713 -nullable: true
714 -|insuranceDescription|string
715 -nullable: true
716 -|contragentName|string
717 -nullable: true
718 -|contragentFullName|string
719 -nullable: true
720 -|actualStartDate|string($date-time)
721 -|actualEndDate|string($date-time)
722 -|costCurrencyCode|string
723 -nullable: true
724 -|costAmount|number($double)
725 -|priceCurrencyCode|string
726 -nullable: true
727 -|priceAmount|number($double)
728 -|coverageCurrencyCode|string
729 -nullable: true
730 -|coverageAmount|number($double)
731 -
732 -}
733 -)))
734 -|selectedVisaId|string
735 -nullable: true
736 -|transfers|[
737 -nullable: trueCheckoutTransferOut{(((
738 -|id|string
739 -nullable: true
740 -|type|CheckoutTransferTypeEnumstringEnum:
741 -[ Arrival, Departure, HotelToHotel ]
742 -|flightId|string
743 -nullable: true
744 -|flightInfo|ManualFlightInfo{(((
745 -|flightNumber|string
746 -nullable: true
747 -|terminalCode|string
748 -nullable: true
749 -|date|string($date-time)
750 -nullable: true
751 -|time|string
752 -nullable: true
753 -
754 -}
755 -)))
756 -|checkInHotelId|string
757 -nullable: true
758 -|checkOutHotelId|string
759 -nullable: true
760 -|selectedTransferPriceId|string
761 -nullable: true
762 -|transferPrices|[
763 -nullable: trueCheckoutTransferPrice{(((
764 -|id|string
765 -nullable: true
766 -|name|string
767 -nullable: true
768 -|adultPlaces|integer($int32)
769 -|childPlaces|integer($int32)
770 -|perPersonPrice|boolean
771 -|adultPrice|number($double)
772 -|childPrice|number($double)
773 -
774 -}]
775 -)))
776 -
777 -}]
778 -)))
779 -|errorCode|string
780 -nullable: true
781 -|errorMessage|string
782 -nullable: true
783 -|description|string
784 -nullable: true
785 -
786 -}]
787 -)))
681 +nullable: trueCheckoutTouristOut{...}]
788 788  |visas|[
789 789  nullable: trueServicePrice{(((
790 790  |prid|string($uuid)
... ... @@ -843,7 +843,6 @@
843 843  |calcOnlyHotelPackageRequests|Array|An array of objects, each representing a hotel-only package request. If empty, no hotel-only packages are requested.
844 844  |calcOnlyAviaPackageRequests|Array|An array of objects, each representing an avia-only package request. If empty, no avia-only packages are requested.
845 845  
846 -
847 847  === Response ===
848 848  
849 849  (% class="table-bordered" %)