Changes for page 3. CalcPackage
Last modified by Giorgi Mdivnishvili on 2024/04/11 17:03
From version 5.1
edited by Giorgi Mdivnishvili
on 2023/12/26 09:08
on 2023/12/26 09:08
Change comment:
There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2023/12/26 17:01
on 2023/12/26 17:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -32,7 +32,15 @@ 32 32 "extraServicePriceCodes": [ 33 33 "string" 34 34 ], 35 - "includeInsurance": true 35 + "flightPassengers": [ 36 + { 37 + "id": "string", 38 + "selectedForwardBaggageCode": "string", 39 + "selectedBackwardBaggageCode": "string" 40 + } 41 + ], 42 + "includeInsurance": true, 43 + "refreshPrices": true 36 36 } 37 37 {{/code}} 38 38 ... ... @@ -43,10 +43,19 @@ 43 43 44 44 {{code language="Json"}} 45 45 { 46 - "packageId": " onlyhotel:c4e23e7e-3d54-4efa-a3db-88508230ce91:504f63ca-6dd5-4d84-8245-cf7e77ccff73",54 + "packageId": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57", 47 47 "extraServicePriceCodes": [ 48 48 49 - ] 57 + ], 58 + "flightPassengers": [ 59 + { 60 + "id": "42779531011000004-A1", 61 + "selectedForwardBaggageCode": "", 62 + "selectedBackwardBaggageCode": "" 63 + } 64 + ], 65 + "includeInsurance": true, 66 + "refreshPrices": true 50 50 } 51 51 {{/code}} 52 52 ... ... @@ -60,6 +60,7 @@ 60 60 "errorDescription": "string", 61 61 "userErrorDescription": "string", 62 62 "package": { 80 + "cacheKey": "string", 63 63 "id": "string", 64 64 "priceCurrency": "string", 65 65 "totalPrice": 0, ... ... @@ -82,8 +82,8 @@ 82 82 "roomCategoryName": "string", 83 83 "placementTypeName": "string", 84 84 "placementDescription": "string", 85 - "checkInDate": "2023-12- 18T14:09:48.103Z",86 - "checkOutDate": "2023-12- 18T14:09:48.103Z",103 + "checkInDate": "2023-12-26T12:55:59.433Z", 104 + "checkOutDate": "2023-12-26T12:55:59.433Z", 87 87 "adults": 0, 88 88 "children": 0, 89 89 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", ... ... @@ -117,13 +117,15 @@ 117 117 }, 118 118 "flight": { 119 119 "id": "string", 120 - "departureDate": "2023-12- 18T14:09:48.103Z",121 - "returnDate": "2023-12- 18T14:09:48.103Z",138 + "departureDate": "2023-12-26T12:55:59.433Z", 139 + "returnDate": "2023-12-26T12:55:59.433Z", 122 122 "departureTicketsLeft": 0, 123 123 "returnTicketsLeft": 0, 124 124 "departureAvailabilityType": "OnRequest", 125 125 "returnAvailabilityType": "OnRequest", 126 126 "isTwoWay": true, 145 + "sameBaggageForAll": true, 146 + "totalBaggage": true, 127 127 "departureSegments": [ 128 128 { 129 129 "airlineCode": "string", ... ... @@ -132,28 +132,19 @@ 132 132 "class": "string", 133 133 "lugageWeight": 0, 134 134 "handLugageWeight": 0, 135 - "departureFlightDate": "2023-12- 18T14:09:48.103Z",155 + "departureFlightDate": "2023-12-26T12:55:59.433Z", 136 136 "departureCountryName": "string", 137 137 "departureCityName": "string", 138 138 "departureAirportCode": "string", 139 139 "departureAirportName": "string", 140 140 "departureTerminalCode": "string", 141 - "arrivalFlightDate": "2023-12- 18T14:09:48.103Z",161 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z", 142 142 "arrivalCountryName": "string", 143 143 "arrivalCityName": "string", 144 144 "arrivalAirportCode": "string", 145 145 "arrivalAirportName": "string", 146 146 "arrivalTerminalCode": "string", 147 - "flightDuration": "string", 148 - "baggages": [ 149 - { 150 - "baggageCode": "string", 151 - "description": "string", 152 - "price": 0, 153 - "currency": "string", 154 - "included": true 155 - } 156 - ] 167 + "flightDuration": "string" 157 157 } 158 158 ], 159 159 "returnSegments": [ ... ... @@ -164,20 +164,28 @@ 164 164 "class": "string", 165 165 "lugageWeight": 0, 166 166 "handLugageWeight": 0, 167 - "departureFlightDate": "2023-12- 18T14:09:48.103Z",178 + "departureFlightDate": "2023-12-26T12:55:59.433Z", 168 168 "departureCountryName": "string", 169 169 "departureCityName": "string", 170 170 "departureAirportCode": "string", 171 171 "departureAirportName": "string", 172 172 "departureTerminalCode": "string", 173 - "arrivalFlightDate": "2023-12- 18T14:09:48.103Z",184 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z", 174 174 "arrivalCountryName": "string", 175 175 "arrivalCityName": "string", 176 176 "arrivalAirportCode": "string", 177 177 "arrivalAirportName": "string", 178 178 "arrivalTerminalCode": "string", 179 - "flightDuration": "string", 180 - "baggages": [ 190 + "flightDuration": "string" 191 + } 192 + ], 193 + "passengers": [ 194 + { 195 + "id": "string", 196 + "isAdult": true, 197 + "selectedForwardBaggageCode": "string", 198 + "selectedBackwardBaggageCode": "string", 199 + "forwardBaggages": [ 181 181 { 182 182 "baggageCode": "string", 183 183 "description": "string", ... ... @@ -185,6 +185,15 @@ 185 185 "currency": "string", 186 186 "included": true 187 187 } 207 + ], 208 + "backwardBaggages": [ 209 + { 210 + "baggageCode": "string", 211 + "description": "string", 212 + "price": 0, 213 + "currency": "string", 214 + "included": true 215 + } 188 188 ] 189 189 } 190 190 ] ... ... @@ -214,13 +214,187 @@ 214 214 "name": "string", 215 215 "price": 0, 216 216 "priceSurcarge": 0, 217 - "actualStartDate": "2023-12- 18T14:09:48.103Z",218 - "actualEndDate": "2023-12- 18T14:09:48.103Z",245 + "actualStartDate": "2023-12-26T12:55:59.433Z", 246 + "actualEndDate": "2023-12-26T12:55:59.433Z", 219 219 "optional": true, 220 220 "includedInPackagePrice": true 221 - }, 222 - "cacheKey": "string" 223 - } 249 + } 250 + }, 251 + "altPackages": [ 252 + { 253 + "cacheKey": "string", 254 + "id": "string", 255 + "priceCurrency": "string", 256 + "totalPrice": 0, 257 + "agentCommissionPercent": 0, 258 + "agentCommissionAmount": 0, 259 + "includedExtrasAmount": 0, 260 + "priceDifference": 0, 261 + "hotel": { 262 + "hotelPriceId": "string", 263 + "providerId": 0, 264 + "hotelName": "string", 265 + "hotelCode": "string", 266 + "nigths": 0, 267 + "mealPlan": "string", 268 + "hotelClass": "string", 269 + "availabilityType": "OnRequest", 270 + "availableRoomsCount": 0, 271 + "fewRooms": true, 272 + "roomCategoryCode": "string", 273 + "roomCategoryName": "string", 274 + "placementTypeName": "string", 275 + "placementDescription": "string", 276 + "checkInDate": "2023-12-26T12:55:59.433Z", 277 + "checkOutDate": "2023-12-26T12:55:59.433Z", 278 + "adults": 0, 279 + "children": 0, 280 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 281 + "districtName": "string", 282 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 283 + "cityName": "string", 284 + "countryCode": "string", 285 + "countryName": "string", 286 + "hasAlcohol": true, 287 + "hasFreeWifi": true, 288 + "hasMetro": true, 289 + "hasPool": true, 290 + "hasMall": true, 291 + "cancellationPolicyDescription": "string", 292 + "cancellationPolicy": { 293 + "cancellationPolicyCode": "string", 294 + "noShowChargeValue": 0, 295 + "noShowChargeValueType": "string", 296 + "earlyDepartureChargeValue": 0, 297 + "earlyDepartureChargeValueType": "string", 298 + "conditions": [ 299 + { 300 + "timeunits": 0, 301 + "timeunitType": "string", 302 + "timeOffsetTypeName": "string", 303 + "chargeValue": 0, 304 + "chargeValueType": "string" 305 + } 306 + ] 307 + } 308 + }, 309 + "flight": { 310 + "id": "string", 311 + "departureDate": "2023-12-26T12:55:59.433Z", 312 + "returnDate": "2023-12-26T12:55:59.433Z", 313 + "departureTicketsLeft": 0, 314 + "returnTicketsLeft": 0, 315 + "departureAvailabilityType": "OnRequest", 316 + "returnAvailabilityType": "OnRequest", 317 + "isTwoWay": true, 318 + "sameBaggageForAll": true, 319 + "totalBaggage": true, 320 + "departureSegments": [ 321 + { 322 + "airlineCode": "string", 323 + "airlineName": "string", 324 + "flightCode": "string", 325 + "class": "string", 326 + "lugageWeight": 0, 327 + "handLugageWeight": 0, 328 + "departureFlightDate": "2023-12-26T12:55:59.433Z", 329 + "departureCountryName": "string", 330 + "departureCityName": "string", 331 + "departureAirportCode": "string", 332 + "departureAirportName": "string", 333 + "departureTerminalCode": "string", 334 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z", 335 + "arrivalCountryName": "string", 336 + "arrivalCityName": "string", 337 + "arrivalAirportCode": "string", 338 + "arrivalAirportName": "string", 339 + "arrivalTerminalCode": "string", 340 + "flightDuration": "string" 341 + } 342 + ], 343 + "returnSegments": [ 344 + { 345 + "airlineCode": "string", 346 + "airlineName": "string", 347 + "flightCode": "string", 348 + "class": "string", 349 + "lugageWeight": 0, 350 + "handLugageWeight": 0, 351 + "departureFlightDate": "2023-12-26T12:55:59.433Z", 352 + "departureCountryName": "string", 353 + "departureCityName": "string", 354 + "departureAirportCode": "string", 355 + "departureAirportName": "string", 356 + "departureTerminalCode": "string", 357 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z", 358 + "arrivalCountryName": "string", 359 + "arrivalCityName": "string", 360 + "arrivalAirportCode": "string", 361 + "arrivalAirportName": "string", 362 + "arrivalTerminalCode": "string", 363 + "flightDuration": "string" 364 + } 365 + ], 366 + "passengers": [ 367 + { 368 + "id": "string", 369 + "isAdult": true, 370 + "selectedForwardBaggageCode": "string", 371 + "selectedBackwardBaggageCode": "string", 372 + "forwardBaggages": [ 373 + { 374 + "baggageCode": "string", 375 + "description": "string", 376 + "price": 0, 377 + "currency": "string", 378 + "included": true 379 + } 380 + ], 381 + "backwardBaggages": [ 382 + { 383 + "baggageCode": "string", 384 + "description": "string", 385 + "price": 0, 386 + "currency": "string", 387 + "included": true 388 + } 389 + ] 390 + } 391 + ] 392 + }, 393 + "extraServices": [ 394 + { 395 + "extraServiceCode": "string", 396 + "extraServiceTypeCode": "string", 397 + "isMandatory": 0, 398 + "extraServiceName": "string", 399 + "minimalServiceAmount": 0, 400 + "includedPriceCode": "string", 401 + "prices": [ 402 + { 403 + "extraServicePriceCode": "string", 404 + "displayName": "string", 405 + "restrictionInfo": "string", 406 + "additionalInfo": "string", 407 + "price": 0, 408 + "extraPrice": 0, 409 + "currency": "string" 410 + } 411 + ] 412 + } 413 + ], 414 + "insurancePrice": { 415 + "name": "string", 416 + "price": 0, 417 + "priceSurcarge": 0, 418 + "actualStartDate": "2023-12-26T12:55:59.433Z", 419 + "actualEndDate": "2023-12-26T12:55:59.433Z", 420 + "optional": true, 421 + "includedInPackagePrice": true 422 + } 423 + } 424 + ], 425 + "refreshPriceResult": "Success" 224 224 } 225 225 {{/code}} 226 226 ... ... @@ -368,4 +368,3 @@ 368 368 } 369 369 {{/success}} 370 370 371 -