Changes for page 4. CalcCheckout

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

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

Summary

Details

Page properties
Content
... ... @@ -28,97 +28,20 @@
28 28  
29 29  {{code language="Json"}}
30 30  {
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 - }
31 + "packageId": "string",
32 + "extraServicePriceCodes": [
33 + "string"
48 48   ],
49 - "calcOnlyHotelPackageRequests": [
35 + "flightPassengers": [
50 50   {
51 - "packageId": "string",
52 - "extraServicePriceCodes": [
53 - "string"
54 - ],
55 - "includeInsurance": true,
56 - "refreshPrices": true
37 + "id": "string",
38 + "selectedForwardBaggageCode": "string",
39 + "selectedBackwardBaggageCode": "string"
57 57   }
58 58   ],
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"
42 + "includeInsurance": true,
43 + "refreshPrices": true
120 120  }
121 -
122 122  {{/code}}
123 123  
124 124  (% class="wikigeneratedid" id="HRequestBodyexample" %)
... ... @@ -865,6 +865,8 @@
865 865  === Schema ===
866 866  
867 867  {{success}}
791 +CalcOnlyHotelPackageResponse{
792 +
868 868  |error|boolean
869 869  |errorCode|string
870 870  nullable: true
... ... @@ -872,178 +872,128 @@
872 872  nullable: true
873 873  |userErrorDescription|string
874 874  nullable: true
800 +|package|OnlyHotelPackage{(((
801 +|id|string
802 +nullable: true
875 875  |priceCurrency|string
876 876  nullable: true
877 877  |totalPrice|number($double)
878 878  |agentCommissionPercent|number($double)
879 879  |agentCommissionAmount|number($double)
880 -|requiredCitizenIdentifiers|[
881 -nullable: trueCitizenIdentifier{(((
882 -|countryCode|[...]
883 -|identifierType|IdentifierTypeEnumstringEnum:
884 -[ TIN, FIN ]
885 -
886 -}]
887 -)))
888 -|hotels|[
889 -nullable: trueCheckoutHotelOut{(((
808 +|hotel|PackageHotel{(((
890 890  |hotelPriceId|string
891 891  nullable: true
892 -|touristIds|[
893 -nullable: truestring($uuid)]
894 -|errorCode|string
811 +|providerId|integer($int32)
812 +|hotelName|string
895 895  nullable: true
896 -|errorMessage|string
814 +|hotelCode|string
897 897  nullable: true
898 -|description|string
816 +|nigths|integer($int32)
817 +|mealPlan|string
899 899  nullable: true
900 -
901 -}]
902 -)))
903 -|tourists|[
904 -nullable: trueCheckoutTouristOut{(((
905 -|id|[...]
906 -|age|[...]
907 -|isAdult|[...]
908 -|flightIds|[...]
909 -|flights|[...]
910 -|arrivalFlightInfo|ManualFlightInfo{(((
911 -|flightNumber|string
819 +|hotelClass|string
912 912  nullable: true
913 -|terminalCode|string
821 +|availabilityType|RoomAvailabilityTypeEnumstringEnum:
822 +[ OnRequest, FreeSale, StopSale ]
823 +|availableRoomsCount|integer($int32)
824 +|fewRooms|boolean
825 +|roomCategoryCode|string
914 914  nullable: true
915 -|date|string($date-time)
827 +|roomCategoryName|string
916 916  nullable: true
917 -|time|string
829 +|placementTypeName|string
918 918  nullable: true
919 -
920 -}
921 -)))
922 -|departureFlightInfo|ManualFlightInfo{(((
923 -|flightNumber|string
831 +|placementDescription|string
924 924  nullable: true
925 -|terminalCode|string
833 +|checkInDate|string($date-time)
834 +|checkOutDate|string($date-time)
835 +|adults|integer($int32)
836 +|children|integer($int32)
837 +|districtUID|string($uuid)
926 926  nullable: true
927 -|date|string($date-time)
839 +|districtName|string
928 928  nullable: true
929 -|time|string
841 +|cityUID|string($uuid)
930 930  nullable: true
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
843 +|cityName|string
940 940  nullable: true
941 -|insuranceDescription|string
845 +|countryCode|string
942 942  nullable: true
943 -|contragentName|string
847 +|countryName|string
944 944  nullable: true
945 -|contragentFullName|string
849 +|hasAlcohol|boolean
850 +|hasFreeWifi|boolean
851 +|hasMetro|boolean
852 +|hasPool|boolean
853 +|hasMall|boolean
854 +|cancellationPolicyDescription|string
946 946  nullable: true
947 -|actualStartDate|string($date-time)
948 -|actualEndDate|string($date-time)
949 -|costCurrencyCode|string
856 +|cancellationPolicy|CancellationPolicyExchange{(((
857 +|cancellationPolicyCode|string
950 950  nullable: true
951 -|costAmount|number($double)
952 -|priceCurrencyCode|string
859 +|noShowChargeValue|number($double)
953 953  nullable: true
954 -|priceAmount|number($double)
955 -|coverageCurrencyCode|string
861 +|noShowChargeValueType|string
956 956  nullable: true
957 -|coverageAmount|number($double)
958 -
959 -}
960 -)))
961 -|selectedVisaId|string
863 +|earlyDepartureChargeValue|number($double)
962 962  nullable: true
963 -|transfers|[
964 -nullable: trueCheckoutTransferOut{(((
965 -|id|string
865 +|earlyDepartureChargeValueType|string
966 966  nullable: true
967 -|type|CheckoutTransferTypeEnumstringEnum:
968 -[ Arrival, Departure, HotelToHotel ]
969 -|flightId|string
867 +|conditions|[
868 +nullable: trueCancellationPolicyConditionExchange{(((
869 +|timeunits|integer($int32)
870 +|timeunitType|string
970 970  nullable: true
971 -|flightInfo|ManualFlightInfo{(((
972 -|flightNumber|string
872 +|timeOffsetTypeName|string
973 973  nullable: true
974 -|terminalCode|string
874 +|chargeValue|number($double)
975 975  nullable: true
976 -|date|string($date-time)
876 +|chargeValueType|string
977 977  nullable: true
978 -|time|string
979 -nullable: true
980 980  
879 +}]
880 +)))
881 +
981 981  }
982 982  )))
983 -|checkInHotelId|string
884 +
885 +}
886 +)))
887 +|extraServices|[
888 +nullable: trueHotelExtraServiceBase{(((
889 +|extraServiceCode|string
984 984  nullable: true
985 -|checkOutHotelId|string
891 +|extraServiceTypeCode|string
986 986  nullable: true
987 -|selectedTransferPriceId|string
893 +|isMandatory|integer($int32)
894 +|extraServiceName|string
988 988  nullable: true
989 -|transferPrices|[
990 -nullable: trueCheckoutTransferPrice{(((
991 -|id|string
896 +|minimalServiceAmount|number($double)
897 +|includedPriceCode|string
992 992  nullable: true
993 -|name|string
899 +|prices|[
900 +nullable: trueHotelExtraServicePriceBase{(((
901 +|extraServicePriceCode|string
994 994  nullable: true
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
903 +|displayName|string
1007 1007  nullable: true
1008 -|errorMessage|string
905 +|restrictionInfo|string
1009 1009  nullable: true
1010 -|description|string
907 +|additionalInfo|string
1011 1011  nullable: true
909 +|price|number($double)
910 +|extraPrice|number($double)
911 +|currency|string
912 +nullable: true
1012 1012  
1013 1013  }]
1014 1014  )))
1015 -|visas|[
1016 -nullable: trueServicePrice{(((
1017 -|prid|string($uuid)
1018 -|prName|string
1019 -nullable: true
1020 -|prValue|number($double)
1021 -|sortingOrder|integer($int32)
1022 1022  
1023 1023  }]
1024 1024  )))
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
1039 1039  
1040 -}]
920 +}
1041 1041  )))
1042 -|containsError|boolean
1043 -|refreshPriceResult|RefreshPriceResultEnumstringEnum:
1044 -[ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ]
1045 -|reservationId|string($uuid)
1046 -|reservationDetailsUnavailable|boolean
1047 1047  
1048 1048  }
1049 1049  {{/success}}