Changes for page 4. CalcCheckout
Last modified by Giorgi Mdivnishvili on 2024/04/11 16:59
From version 10.1
edited by Giorgi Mdivnishvili
on 2024/04/11 16:51
on 2024/04/11 16:51
Change comment:
There is no comment for this version
To version 7.1
edited by Giorgi Mdivnishvili
on 2024/04/11 12:48
on 2024/04/11 12:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,10 +6,9 @@ 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. 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. 11 11 12 - 13 13 == Endpoint URL - [POST] == 14 14 15 15 {{info}} ... ... @@ -639,8 +639,6 @@ 639 639 === Schema === 640 640 641 641 {{success}} 642 -CheckoutFormOut{ 643 - 644 644 |error|boolean 645 645 |errorCode|string 646 646 nullable: true ... ... @@ -655,8 +655,7 @@ 655 655 |agentCommissionAmount|number($double) 656 656 |requiredCitizenIdentifiers|[ 657 657 nullable: trueCitizenIdentifier{((( 658 -|countryCode|string 659 -nullable: true 655 +|countryCode|[...] 660 660 |identifierType|IdentifierTypeEnumstringEnum: 661 661 [ TIN, FIN ] 662 662 ... ... @@ -678,7 +678,117 @@ 678 678 }] 679 679 ))) 680 680 |tourists|[ 681 -nullable: trueCheckoutTouristOut{...}] 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 +))) 682 682 |visas|[ 683 683 nullable: trueServicePrice{((( 684 684 |prid|string($uuid) ... ... @@ -718,12 +718,12 @@ 718 718 719 719 == Descriptions == 720 720 827 +=== === 721 721 722 722 === Request === 723 723 724 724 Here's a table describing each parameter of the JSON request: 725 725 726 -(% class="table-bordered" %) 727 727 |=Parameter|=Data Type|=Description 728 728 |calcTourPackageRequests|Array|An array of objects, each representing a tour package request. 729 729 |refreshPrices|Boolean|If true, the prices for the tour package will be refreshed. ... ... @@ -737,9 +737,10 @@ 737 737 |calcOnlyHotelPackageRequests|Array|An array of objects, each representing a hotel-only package request. If empty, no hotel-only packages are requested. 738 738 |calcOnlyAviaPackageRequests|Array|An array of objects, each representing an avia-only package request. If empty, no avia-only packages are requested. 739 739 846 +=== === 847 + 740 740 === Response === 741 741 742 -(% class="table-bordered" %) 743 743 |=Parameter|=Data Type|=Description 744 744 |priceCurrency|String|The currency code (ISO 4217) for all prices mentioned in the response. 745 745 |totalPrice|Number|The total price of the booking.