Changes for page 4. CalcCheckout

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

From version 4.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:28
Change comment: There is no comment for this version
To version 5.1
edited by Giorgi Mdivnishvili
on 2024/04/11 07:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -28,20 +28,97 @@
28 28  
29 29  {{code language="Json"}}
30 30  {
31 - "packageId": "string",
32 - "extraServicePriceCodes": [
33 - "string"
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 + }
34 34   ],
35 - "flightPassengers": [
49 + "calcOnlyHotelPackageRequests": [
36 36   {
37 - "id": "string",
38 - "selectedForwardBaggageCode": "string",
39 - "selectedBackwardBaggageCode": "string"
51 + "packageId": "string",
52 + "extraServicePriceCodes": [
53 + "string"
54 + ],
55 + "includeInsurance": true,
56 + "refreshPrices": true
40 40   }
41 41   ],
42 - "includeInsurance": true,
43 - "refreshPrices": true
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-11T03:34:15.828Z",
88 + "passportNumber": "string",
89 + "passportExpiry": "2024-04-11T03:34:15.828Z",
90 + "passportIssue": "2024-04-11T03:34:15.828Z",
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-11T03:34:15.828Z",
101 + "time": "string"
102 + },
103 + "departureFlightInfo": {
104 + "flightNumber": "string",
105 + "terminalCode": "string",
106 + "date": "2024-04-11T03:34:15.828Z",
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"
44 44  }
121 +
45 45  {{/code}}
46 46  
47 47  (% class="wikigeneratedid" id="HRequestBodyexample" %)
... ... @@ -788,8 +788,6 @@
788 788  === Schema ===
789 789  
790 790  {{success}}
791 -CalcOnlyHotelPackageResponse{
792 -
793 793  |error|boolean
794 794  |errorCode|string
795 795  nullable: true
... ... @@ -797,128 +797,178 @@
797 797  nullable: true
798 798  |userErrorDescription|string
799 799  nullable: true
800 -|package|OnlyHotelPackage{(((
801 -|id|string
802 -nullable: true
803 803  |priceCurrency|string
804 804  nullable: true
805 805  |totalPrice|number($double)
806 806  |agentCommissionPercent|number($double)
807 807  |agentCommissionAmount|number($double)
808 -|hotel|PackageHotel{(((
880 +|requiredCitizenIdentifiers|[
881 +nullable: trueCitizenIdentifier{(((
882 +|countryCode|[...]
883 +|identifierType|IdentifierTypeEnumstringEnum:
884 +[ TIN, FIN ]
885 +
886 +}]
887 +)))
888 +|hotels|[
889 +nullable: trueCheckoutHotelOut{(((
809 809  |hotelPriceId|string
810 810  nullable: true
811 -|providerId|integer($int32)
812 -|hotelName|string
892 +|touristIds|[
893 +nullable: truestring($uuid)]
894 +|errorCode|string
813 813  nullable: true
814 -|hotelCode|string
896 +|errorMessage|string
815 815  nullable: true
816 -|nigths|integer($int32)
817 -|mealPlan|string
898 +|description|string
818 818  nullable: true
819 -|hotelClass|string
900 +
901 +}]
902 +)))
903 +|tourists|[
904 +nullable: trueCheckoutTouristOut{(((
905 +|id|[...]
906 +|age|[...]
907 +|isAdult|[...]
908 +|flightIds|[...]
909 +|flights|[...]
910 +|arrivalFlightInfo|ManualFlightInfo{(((
911 +|flightNumber|string
820 820  nullable: true
821 -|availabilityType|RoomAvailabilityTypeEnumstringEnum:
822 -[ OnRequest, FreeSale, StopSale ]
823 -|availableRoomsCount|integer($int32)
824 -|fewRooms|boolean
825 -|roomCategoryCode|string
913 +|terminalCode|string
826 826  nullable: true
827 -|roomCategoryName|string
915 +|date|string($date-time)
828 828  nullable: true
829 -|placementTypeName|string
917 +|time|string
830 830  nullable: true
831 -|placementDescription|string
919 +
920 +}
921 +)))
922 +|departureFlightInfo|ManualFlightInfo{(((
923 +|flightNumber|string
832 832  nullable: true
833 -|checkInDate|string($date-time)
834 -|checkOutDate|string($date-time)
835 -|adults|integer($int32)
836 -|children|integer($int32)
837 -|districtUID|string($uuid)
925 +|terminalCode|string
838 838  nullable: true
839 -|districtName|string
927 +|date|string($date-time)
840 840  nullable: true
841 -|cityUID|string($uuid)
929 +|time|string
842 842  nullable: true
843 -|cityName|string
931 +
932 +}
933 +)))
934 +|insurancePrice|InsurancePriceForTourist{(((
935 +|insuranceId|string($uuid)
936 +|insuranceServiceId|string($uuid)
937 +|insurancePriceId|string($uuid)
938 +|touristId|string($uuid)
939 +|insuranceName|string
844 844  nullable: true
845 -|countryCode|string
941 +|insuranceDescription|string
846 846  nullable: true
847 -|countryName|string
943 +|contragentName|string
848 848  nullable: true
849 -|hasAlcohol|boolean
850 -|hasFreeWifi|boolean
851 -|hasMetro|boolean
852 -|hasPool|boolean
853 -|hasMall|boolean
854 -|cancellationPolicyDescription|string
945 +|contragentFullName|string
855 855  nullable: true
856 -|cancellationPolicy|CancellationPolicyExchange{(((
857 -|cancellationPolicyCode|string
947 +|actualStartDate|string($date-time)
948 +|actualEndDate|string($date-time)
949 +|costCurrencyCode|string
858 858  nullable: true
859 -|noShowChargeValue|number($double)
951 +|costAmount|number($double)
952 +|priceCurrencyCode|string
860 860  nullable: true
861 -|noShowChargeValueType|string
954 +|priceAmount|number($double)
955 +|coverageCurrencyCode|string
862 862  nullable: true
863 -|earlyDepartureChargeValue|number($double)
957 +|coverageAmount|number($double)
958 +
959 +}
960 +)))
961 +|selectedVisaId|string
864 864  nullable: true
865 -|earlyDepartureChargeValueType|string
963 +|transfers|[
964 +nullable: trueCheckoutTransferOut{(((
965 +|id|string
866 866  nullable: true
867 -|conditions|[
868 -nullable: trueCancellationPolicyConditionExchange{(((
869 -|timeunits|integer($int32)
870 -|timeunitType|string
967 +|type|CheckoutTransferTypeEnumstringEnum:
968 +[ Arrival, Departure, HotelToHotel ]
969 +|flightId|string
871 871  nullable: true
872 -|timeOffsetTypeName|string
971 +|flightInfo|ManualFlightInfo{(((
972 +|flightNumber|string
873 873  nullable: true
874 -|chargeValue|number($double)
974 +|terminalCode|string
875 875  nullable: true
876 -|chargeValueType|string
976 +|date|string($date-time)
877 877  nullable: true
978 +|time|string
979 +nullable: true
878 878  
879 -}]
880 -)))
881 -
882 882  }
883 883  )))
884 -
885 -}
886 -)))
887 -|extraServices|[
888 -nullable: trueHotelExtraServiceBase{(((
889 -|extraServiceCode|string
983 +|checkInHotelId|string
890 890  nullable: true
891 -|extraServiceTypeCode|string
985 +|checkOutHotelId|string
892 892  nullable: true
893 -|isMandatory|integer($int32)
894 -|extraServiceName|string
987 +|selectedTransferPriceId|string
895 895  nullable: true
896 -|minimalServiceAmount|number($double)
897 -|includedPriceCode|string
989 +|transferPrices|[
990 +nullable: trueCheckoutTransferPrice{(((
991 +|id|string
898 898  nullable: true
899 -|prices|[
900 -nullable: trueHotelExtraServicePriceBase{(((
901 -|extraServicePriceCode|string
993 +|name|string
902 902  nullable: true
903 -|displayName|string
995 +|adultPlaces|integer($int32)
996 +|childPlaces|integer($int32)
997 +|perPersonPrice|boolean
998 +|adultPrice|number($double)
999 +|childPrice|number($double)
1000 +
1001 +}]
1002 +)))
1003 +
1004 +}]
1005 +)))
1006 +|errorCode|string
904 904  nullable: true
905 -|restrictionInfo|string
1008 +|errorMessage|string
906 906  nullable: true
907 -|additionalInfo|string
1010 +|description|string
908 908  nullable: true
909 -|price|number($double)
910 -|extraPrice|number($double)
911 -|currency|string
912 -nullable: true
913 913  
914 914  }]
915 915  )))
1015 +|visas|[
1016 +nullable: trueServicePrice{(((
1017 +|prid|string($uuid)
1018 +|prName|string
1019 +nullable: true
1020 +|prValue|number($double)
1021 +|sortingOrder|integer($int32)
916 916  
917 917  }]
918 918  )))
1025 +|terminals|[
1026 +nullable: trueTerminal{(((
1027 +|terminalCode|string
1028 +nullable: true
1029 +|cityUID|string($uuid)
1030 +nullable: true
1031 +|districtUID|string($uuid)
1032 +nullable: true
1033 +|terminalName|string
1034 +nullable: true
1035 +|countryCode|string
1036 +nullable: true
1037 +|note|string
1038 +nullable: true
919 919  
920 -}
1040 +}]
921 921  )))
1042 +|containsError|boolean
1043 +|refreshPriceResult|RefreshPriceResultEnumstringEnum:
1044 +[ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ]
1045 +|reservationId|string($uuid)
1046 +|reservationDetailsUnavailable|boolean
922 922  
923 923  }
924 924  {{/success}}