Changes for page 5. ConfirmCheckout

Last modified by Giorgi Mdivnishvili on 2024/08/30 12:58

From version 10.2
edited by Giorgi Mdivnishvili
on 2024/04/11 13:13
Change comment: There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2024/04/11 09:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,12 +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 -This API endpoint serves the purpose of creating a new reservation.
11 11  
12 -Upon successfully processing the data retrieved from preceding methods, users can populate the designated parameters in their entirety and proceed to initiate a reservation request.
13 -
14 -
15 15  == Endpoint URL - [POST] ==
16 16  
17 17  {{info}}
... ... @@ -993,7 +993,7 @@
993 993  === Schema ===
994 994  
995 995  {{success}}
996 -CheckoutFormOut{
993 +CalcOnlyHotelPackageResponse{
997 997  
998 998  |error|boolean
999 999  |errorCode|string
... ... @@ -1002,287 +1002,128 @@
1002 1002  nullable: true
1003 1003  |userErrorDescription|string
1004 1004  nullable: true
1002 +|package|OnlyHotelPackage{(((
1003 +|id|string
1004 +nullable: true
1005 1005  |priceCurrency|string
1006 1006  nullable: true
1007 1007  |totalPrice|number($double)
1008 1008  |agentCommissionPercent|number($double)
1009 1009  |agentCommissionAmount|number($double)
1010 -|requiredCitizenIdentifiers|[
1011 -nullable: trueCitizenIdentifier{(((
1012 -|countryCode|string
1013 -nullable: true
1014 -|identifierType|IdentifierTypeEnumstringEnum:
1015 -[ TIN, FIN ]
1016 -
1017 -}]
1018 -)))
1019 -|hotels|[
1020 -nullable: trueCheckoutHotelOut{(((
1010 +|hotel|PackageHotel{(((
1021 1021  |hotelPriceId|string
1022 1022  nullable: true
1023 -|touristIds|[
1024 -nullable: truestring($uuid)]
1025 -|errorCode|string
1013 +|providerId|integer($int32)
1014 +|hotelName|string
1026 1026  nullable: true
1027 -|errorMessage|string
1016 +|hotelCode|string
1028 1028  nullable: true
1029 -|description|string
1018 +|nigths|integer($int32)
1019 +|mealPlan|string
1030 1030  nullable: true
1031 -
1032 -}]
1033 -)))
1034 -|tourists|[
1035 -nullable: trueCheckoutTouristOut{(((
1036 -|id|string($uuid)
1037 -|age|integer($int32)
1021 +|hotelClass|string
1038 1038  nullable: true
1039 -|isAdult|boolean
1040 -|flightIds|[
1041 -nullable: truestring]
1042 -|flights|[
1043 -nullable: trueCheckoutFlightOut{(((
1044 -|flightId|string
1023 +|availabilityType|RoomAvailabilityTypeEnumstringEnum:
1024 +[ OnRequest, FreeSale, StopSale ]
1025 +|availableRoomsCount|integer($int32)
1026 +|fewRooms|boolean
1027 +|roomCategoryCode|string
1045 1045  nullable: true
1046 -|note|string
1029 +|roomCategoryName|string
1047 1047  nullable: true
1048 -
1049 -}]
1050 -)))
1051 -|arrivalFlightInfo|ManualFlightInfo{(((
1052 -|flightNumber|string
1031 +|placementTypeName|string
1053 1053  nullable: true
1054 -|terminalCode|string
1033 +|placementDescription|string
1055 1055  nullable: true
1056 -|date|string($date-time)
1035 +|checkInDate|string($date-time)
1036 +|checkOutDate|string($date-time)
1037 +|adults|integer($int32)
1038 +|children|integer($int32)
1039 +|districtUID|string($uuid)
1057 1057  nullable: true
1058 -|time|string
1041 +|districtName|string
1059 1059  nullable: true
1060 -
1061 -}
1062 -)))
1063 -|departureFlightInfo|ManualFlightInfo{(((
1064 -|flightNumber|string
1043 +|cityUID|string($uuid)
1065 1065  nullable: true
1066 -|terminalCode|string
1045 +|cityName|string
1067 1067  nullable: true
1068 -|date|string($date-time)
1047 +|countryCode|string
1069 1069  nullable: true
1070 -|time|string
1049 +|countryName|string
1071 1071  nullable: true
1072 -
1073 -}
1074 -)))
1075 -|insurancePrice|InsurancePriceForTourist{(((
1076 -|insuranceId|string($uuid)
1077 -|insuranceServiceId|string($uuid)
1078 -|insurancePriceId|string($uuid)
1079 -|touristId|string($uuid)
1080 -|insuranceName|string
1051 +|hasAlcohol|boolean
1052 +|hasFreeWifi|boolean
1053 +|hasMetro|boolean
1054 +|hasPool|boolean
1055 +|hasMall|boolean
1056 +|cancellationPolicyDescription|string
1081 1081  nullable: true
1082 -|insuranceDescription|string
1058 +|cancellationPolicy|CancellationPolicyExchange{(((
1059 +|cancellationPolicyCode|string
1083 1083  nullable: true
1084 -|contragentName|string
1061 +|noShowChargeValue|number($double)
1085 1085  nullable: true
1086 -|contragentFullName|string
1063 +|noShowChargeValueType|string
1087 1087  nullable: true
1088 -|actualStartDate|string($date-time)
1089 -|actualEndDate|string($date-time)
1090 -|costCurrencyCode|string
1065 +|earlyDepartureChargeValue|number($double)
1091 1091  nullable: true
1092 -|costAmount|number($double)
1093 -|priceCurrencyCode|string
1067 +|earlyDepartureChargeValueType|string
1094 1094  nullable: true
1095 -|priceAmount|number($double)
1096 -|coverageCurrencyCode|string
1069 +|conditions|[
1070 +nullable: trueCancellationPolicyConditionExchange{(((
1071 +|timeunits|integer($int32)
1072 +|timeunitType|string
1097 1097  nullable: true
1098 -|coverageAmount|number($double)
1099 -
1100 -}
1101 -)))
1102 -|selectedVisaId|string
1074 +|timeOffsetTypeName|string
1103 1103  nullable: true
1104 -|transfers|[
1105 -nullable: trueCheckoutTransferOut{(((
1106 -|id|string
1076 +|chargeValue|number($double)
1107 1107  nullable: true
1108 -|type|CheckoutTransferTypeEnumstringEnum:
1109 -[ Arrival, Departure, HotelToHotel ]
1110 -|flightId|string
1078 +|chargeValueType|string
1111 1111  nullable: true
1112 -|flightInfo|ManualFlightInfo{(((
1113 -|flightNumber|string
1114 -nullable: true
1115 -|terminalCode|string
1116 -nullable: true
1117 -|date|string($date-time)
1118 -nullable: true
1119 -|time|string
1120 -nullable: true
1121 1121  
1081 +}]
1082 +)))
1083 +
1122 1122  }
1123 1123  )))
1124 -|checkInHotelId|string
1086 +
1087 +}
1088 +)))
1089 +|extraServices|[
1090 +nullable: trueHotelExtraServiceBase{(((
1091 +|extraServiceCode|string
1125 1125  nullable: true
1126 -|checkOutHotelId|string
1093 +|extraServiceTypeCode|string
1127 1127  nullable: true
1128 -|selectedTransferPriceId|string
1095 +|isMandatory|integer($int32)
1096 +|extraServiceName|string
1129 1129  nullable: true
1130 -|transferPrices|[
1131 -nullable: trueCheckoutTransferPrice{(((
1132 -|id|string
1098 +|minimalServiceAmount|number($double)
1099 +|includedPriceCode|string
1133 1133  nullable: true
1134 -|name|string
1101 +|prices|[
1102 +nullable: trueHotelExtraServicePriceBase{(((
1103 +|extraServicePriceCode|string
1135 1135  nullable: true
1136 -|adultPlaces|integer($int32)
1137 -|childPlaces|integer($int32)
1138 -|perPersonPrice|boolean
1139 -|adultPrice|number($double)
1140 -|childPrice|number($double)
1141 -
1142 -}]
1143 -)))
1144 -
1145 -}]
1146 -)))
1147 -|errorCode|string
1105 +|displayName|string
1148 1148  nullable: true
1149 -|errorMessage|string
1107 +|restrictionInfo|string
1150 1150  nullable: true
1151 -|description|string
1109 +|additionalInfo|string
1152 1152  nullable: true
1111 +|price|number($double)
1112 +|extraPrice|number($double)
1113 +|currency|string
1114 +nullable: true
1153 1153  
1154 1154  }]
1155 1155  )))
1156 -|visas|[
1157 -nullable: trueServicePrice{(((
1158 -|prid|string($uuid)
1159 -|prName|string
1160 -nullable: true
1161 -|prValue|number($double)
1162 -|sortingOrder|integer($int32)
1163 1163  
1164 1164  }]
1165 1165  )))
1166 -|terminals|[
1167 -nullable: trueTerminal{(((
1168 -|terminalCode|string
1169 -nullable: true
1170 -|cityUID|string($uuid)
1171 -nullable: true
1172 -|districtUID|string($uuid)
1173 -nullable: true
1174 -|terminalName|string
1175 -nullable: true
1176 -|countryCode|string
1177 -nullable: true
1178 -|note|string
1179 -nullable: true
1180 1180  
1181 -}]
1122 +}
1182 1182  )))
1183 -|containsError|boolean
1184 -|refreshPriceResult|RefreshPriceResultEnumstringEnum:
1185 -[ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ]
1186 -|reservationId|string($uuid)
1187 -|reservationDetailsUnavailable|boolean
1188 1188  
1189 1189  }
1190 1190  {{/success}}
1191 -
1192 -
1193 -
1194 -== Description ==
1195 -
1196 -
1197 -=== Request ===
1198 -
1199 -(% class="table-bordered" %)
1200 -|=Field Path|=Data Type|=Description
1201 -|calcTourPackageRequests[*].refreshPrices|Boolean|Indicates whether to refresh the prices for the tour package.
1202 -|calcTourPackageRequests[*].packageId|String|Unique identifier for the tour package.
1203 -|calcTourPackageRequests[*].flightPassengers[*].id|String|Unique identifier for a flight passenger within the package.
1204 -|calcTourPackageRequests[*].flightPassengers[*].selectedForwardBaggageCode|String|Code indicating the baggage option selected for the forward journey.
1205 -|calcTourPackageRequests[*].flightPassengers[*].selectedBackwardBaggageCode|String|Code indicating the baggage option selected for the return journey.
1206 -|calcTourPackageRequests[*].extraServicePriceCodes|Array|An array of codes for extra services priced within the package.
1207 -|calcTourPackageRequests[*].includeInsurance|Boolean|Indicates if insurance is included in the tour package.
1208 -|calcOnlyHotelPackageRequests|Array|Details about hotel-only package requests, if applicable.
1209 -|calcOnlyAviaPackageRequests|Array|Details about avia-only package requests, if applicable.
1210 -|hotels[*].note|String|Additional notes regarding the hotel booking.
1211 -|hotels[*].agentConfirmationNumber|String|Confirmation number provided by the agent for the hotel booking.
1212 -|hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1213 -|hotels[*].touristIds[*]|String|List of IDs for tourists staying at the hotel.
1214 -|tourists[*].id|String|Unique identifier for the tourist.
1215 -|tourists[*].isMale|Boolean|Indicates if the tourist is male.
1216 -|tourists[*].firstName|String|First name of the tourist.
1217 -|tourists[*].lastName|String|Last name of the tourist.
1218 -|tourists[*].birthDate|String|Birth date of the tourist.
1219 -|tourists[*].citizenship|String|Citizenship of the tourist.
1220 -|tourists[*].passportNumber|String|Passport number of the tourist.
1221 -|tourists[*].passportIssue|String|Issue date of the tourist's passport.
1222 -|tourists[*].passportExpiry|String|Expiry date of the tourist's passport.
1223 -|tourists[*].tin|String|Tax identification number of the tourist, if applicable.
1224 -|tourists[*].selectedVisaId|String|ID of the selected visa option for the tourist.
1225 -|tourists[*].flights[*].flightId|String|Identifier for flights associated with the tourist.
1226 -|tourists[*].flights[*].note|String|Additional notes or details about the flight.
1227 -|tourists[*].flightIds[*]|String|Array of flight IDs associated with the tourist.
1228 -|tourists[*].insurancePrice.insuranceId|String|Identifier for the insurance plan selected for the tourist.
1229 -|...|...|Additional fields for insurancePrice as detailed in previous responses.
1230 -|tourists[*].departureFlightInfo.date|String|Departure date for the tourist's flight, if applicable.
1231 -|tourists[*].departureFlightInfo.time|String|Departure time for the tourist's flight, if applicable.
1232 -|tourists[*].departureFlightInfo.flightNumber|String|Flight number for the tourist's departure flight, if applicable.
1233 -|tourists[*].departureFlightInfo.terminalCode|String|Terminal code for the tourist's departure flight, if applicable.
1234 -|tourists[*].arrivalFlightInfo.date|String|Arrival date for the tourist's flight, if applicable.
1235 -|tourists[*].arrivalFlightInfo.time|String|Arrival time for the tourist's flight, if applicable.
1236 -|tourists[*].arrivalFlightInfo.flightNumber|String|Flight number for the tourist's arrival flight, if applicable.
1237 -|tourists[*].arrivalFlightInfo.terminalCode|String|Terminal code for the tourist's arrival flight, if applicable.
1238 -|tourists[*].transfers[*].id|String|Unique identifier for a transfer service associated with the tourist.
1239 -|tourists[*].transfers[*].selectedTransferPriceId|String|ID of the selected pricing option for the transfer.
1240 -|note|String|General note regarding the reservation, intended for testing or additional information.
1241 -|contactPhone|String|Contact phone number associated with the reservation.
1242 -|reservationId|String|Unique identifier for the entire reservation.
1243 -
1244 -=== Response ===
1245 -
1246 -(% class="table-bordered" %)
1247 -|=Field Path|=Data Type|=Description
1248 -|priceCurrency|String|Currency code (ISO 4217) for all transactional amounts mentioned in the response.
1249 -|totalPrice|Number|Total price of the reservation.
1250 -|agentCommissionPercent|Number|The percentage of the total price allocated as commission for the agent.
1251 -|agentCommissionAmount|Number|The total commission amount in priceCurrency.
1252 -|requiredCitizenIdentifiers[*].countryCode|String|The ISO 3166-1 alpha-2 country code for which an identifier is required.
1253 -|requiredCitizenIdentifiers[*].identifierType|String|Type of identifier required (e.g., "TIN", "FIN").
1254 -|hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1255 -|hotels[*].touristIds[*]|Array|List of tourist IDs that are booked in this hotel.
1256 -|hotels[*].description|String|Description of the hotel booking.
1257 -|tourists[*].id|String|Unique identifier for a tourist.
1258 -|tourists[*].age|Number|Age of the tourist.
1259 -|tourists[*].isAdult|Boolean|Indicates whether the tourist is an adult.
1260 -|tourists[*].flightIds[*]|Array|List of flight IDs associated with the tourist.
1261 -|tourists[*].flights[*].flightId|String|Unique identifier for the flight.
1262 -|tourists[*].flights[*].note|String|Notes or additional information about the flight.
1263 -|tourists[*].insurancePrice.*|Various|Detailed information about the insurance price, including ID, name, coverage, and cost details.
1264 -|tourists[*].selectedVisaId|String|Identifier for the selected visa option for the tourist.
1265 -|tourists[*].transfers[*].id|String|Unique identifier for the transfer.
1266 -|tourists[*].transfers[*].type|String|Type of transfer (e.g., "Arrival", "Departure").
1267 -|tourists[*].transfers[*].flightId|String|The flight ID associated with the transfer.
1268 -|tourists[*].transfers[*].checkInHotelId|String|Hotel ID for check-in associated with the transfer.
1269 -|tourists[*].transfers[*].checkOutHotelId|String|Hotel ID for check-out associated with the transfer.
1270 -|tourists[*].transfers[*].selectedTransferPriceId|String|The ID of the selected pricing option for the transfer.
1271 -|tourists[*].transfers[*].transferPrices[*].*|Various|Detailed information about each transfer price option, including ID, name, and cost details.
1272 -|visas[*].prid|String|Unique identifier for a visa option.
1273 -|visas[*].prName|String|Name of the visa option.
1274 -|visas[*].prValue|Number|The cost associated with this visa option.
1275 -|visas[*].sortingOrder|Number|Sorting order for the visa options.
1276 -|terminals[*].terminalCode|String|Code representing the terminal.
1277 -|terminals[*].cityUID|String|Unique identifier for the city where the terminal is located.
1278 -|terminals[*].districtUID|String|Unique identifier for the district of the terminal.
1279 -|terminals[*].terminalName|String|Name of the terminal.
1280 -|terminals[*].countryCode|String|The ISO 3166-1 alpha-2 country code for the terminal's country.
1281 -|terminals[*].note|String|Additional notes or information about the terminal.
1282 -|containsError|Boolean|Indicates if the response contains any errors.
1283 -|refreshPriceResult|String|The result of attempting to refresh the price (e.g., "Success").
1284 -|reservationId|String|Unique identifier for the reservation.
1285 -|reservationDetailsUnavailable|Boolean|Indicates if the reservation details are currently unavailable.
1286 -|error|Boolean|A generic error indicator, presumably redundant with containsError.
1287 -
1288 -