Changes for page 5. ConfirmCheckout

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

From version 8.2
edited by Giorgi Mdivnishvili
on 2024/04/11 13:02
Change comment: There is no comment for this version
To version 5.1
edited by Giorgi Mdivnishvili
on 2024/04/11 09:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -301,126 +301,353 @@
301 301   "errorCode": "string",
302 302   "errorDescription": "string",
303 303   "userErrorDescription": "string",
304 - "priceCurrency": "string",
305 - "totalPrice": 0,
306 - "agentCommissionPercent": 0,
307 - "agentCommissionAmount": 0,
308 - "requiredCitizenIdentifiers": [
309 - {
310 - "countryCode": "string",
311 - "identifierType": "TIN"
312 - }
313 - ],
314 - "hotels": [
315 - {
304 + "package": {
305 + "cacheKey": "string",
306 + "id": "string",
307 + "priceCurrency": "string",
308 + "totalPrice": 0,
309 + "agentCommissionPercent": 0,
310 + "agentCommissionAmount": 0,
311 + "includedExtrasAmount": 0,
312 + "priceDifference": 0,
313 + "hotel": {
316 316   "hotelPriceId": "string",
317 - "touristIds": [
318 - "3fa85f64-5717-4562-b3fc-2c963f66afa6"
315 + "providerId": 0,
316 + "hotelName": "string",
317 + "hotelCode": "string",
318 + "nigths": 0,
319 + "mealPlan": "string",
320 + "hotelClass": "string",
321 + "availabilityType": "OnRequest",
322 + "availableRoomsCount": 0,
323 + "fewRooms": true,
324 + "roomCategoryCode": "string",
325 + "roomCategoryName": "string",
326 + "placementTypeName": "string",
327 + "placementDescription": "string",
328 + "checkInDate": "2023-12-26T12:55:59.433Z",
329 + "checkOutDate": "2023-12-26T12:55:59.433Z",
330 + "adults": 0,
331 + "children": 0,
332 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
333 + "districtName": "string",
334 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
335 + "cityName": "string",
336 + "countryCode": "string",
337 + "countryName": "string",
338 + "hasAlcohol": true,
339 + "hasFreeWifi": true,
340 + "hasMetro": true,
341 + "hasPool": true,
342 + "hasMall": true,
343 + "cancellationPolicyDescription": "string",
344 + "cancellationPolicy": {
345 + "cancellationPolicyCode": "string",
346 + "noShowChargeValue": 0,
347 + "noShowChargeValueType": "string",
348 + "earlyDepartureChargeValue": 0,
349 + "earlyDepartureChargeValueType": "string",
350 + "conditions": [
351 + {
352 + "timeunits": 0,
353 + "timeunitType": "string",
354 + "timeOffsetTypeName": "string",
355 + "chargeValue": 0,
356 + "chargeValueType": "string"
357 + }
358 + ]
359 + }
360 + },
361 + "flight": {
362 + "id": "string",
363 + "departureDate": "2023-12-26T12:55:59.433Z",
364 + "returnDate": "2023-12-26T12:55:59.433Z",
365 + "departureTicketsLeft": 0,
366 + "returnTicketsLeft": 0,
367 + "departureAvailabilityType": "OnRequest",
368 + "returnAvailabilityType": "OnRequest",
369 + "isTwoWay": true,
370 + "sameBaggageForAll": true,
371 + "totalBaggage": true,
372 + "departureSegments": [
373 + {
374 + "airlineCode": "string",
375 + "airlineName": "string",
376 + "flightCode": "string",
377 + "class": "string",
378 + "lugageWeight": 0,
379 + "handLugageWeight": 0,
380 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
381 + "departureCountryName": "string",
382 + "departureCityName": "string",
383 + "departureAirportCode": "string",
384 + "departureAirportName": "string",
385 + "departureTerminalCode": "string",
386 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
387 + "arrivalCountryName": "string",
388 + "arrivalCityName": "string",
389 + "arrivalAirportCode": "string",
390 + "arrivalAirportName": "string",
391 + "arrivalTerminalCode": "string",
392 + "flightDuration": "string"
393 + }
319 319   ],
320 - "errorCode": "string",
321 - "errorMessage": "string",
322 - "description": "string"
323 - }
324 - ],
325 - "tourists": [
326 - {
327 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
328 - "age": 0,
329 - "isAdult": true,
330 - "flightIds": [
331 - "string"
332 - ],
333 - "flights": [
395 + "returnSegments": [
334 334   {
335 - "flightId": "string",
336 - "note": "string"
397 + "airlineCode": "string",
398 + "airlineName": "string",
399 + "flightCode": "string",
400 + "class": "string",
401 + "lugageWeight": 0,
402 + "handLugageWeight": 0,
403 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
404 + "departureCountryName": "string",
405 + "departureCityName": "string",
406 + "departureAirportCode": "string",
407 + "departureAirportName": "string",
408 + "departureTerminalCode": "string",
409 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
410 + "arrivalCountryName": "string",
411 + "arrivalCityName": "string",
412 + "arrivalAirportCode": "string",
413 + "arrivalAirportName": "string",
414 + "arrivalTerminalCode": "string",
415 + "flightDuration": "string"
337 337   }
338 338   ],
339 - "arrivalFlightInfo": {
340 - "flightNumber": "string",
341 - "terminalCode": "string",
342 - "date": "2024-04-11T05:16:08.335Z",
343 - "time": "string"
418 + "passengers": [
419 + {
420 + "id": "string",
421 + "isAdult": true,
422 + "selectedForwardBaggageCode": "string",
423 + "selectedBackwardBaggageCode": "string",
424 + "forwardBaggages": [
425 + {
426 + "baggageCode": "string",
427 + "description": "string",
428 + "price": 0,
429 + "currency": "string",
430 + "included": true
431 + }
432 + ],
433 + "backwardBaggages": [
434 + {
435 + "baggageCode": "string",
436 + "description": "string",
437 + "price": 0,
438 + "currency": "string",
439 + "included": true
440 + }
441 + ]
442 + }
443 + ]
444 + },
445 + "extraServices": [
446 + {
447 + "extraServiceCode": "string",
448 + "extraServiceTypeCode": "string",
449 + "isMandatory": 0,
450 + "extraServiceName": "string",
451 + "minimalServiceAmount": 0,
452 + "includedPriceCode": "string",
453 + "prices": [
454 + {
455 + "extraServicePriceCode": "string",
456 + "displayName": "string",
457 + "restrictionInfo": "string",
458 + "additionalInfo": "string",
459 + "price": 0,
460 + "extraPrice": 0,
461 + "currency": "string"
462 + }
463 + ]
464 + }
465 + ],
466 + "insurancePrice": {
467 + "name": "string",
468 + "price": 0,
469 + "priceSurcarge": 0,
470 + "actualStartDate": "2023-12-26T12:55:59.433Z",
471 + "actualEndDate": "2023-12-26T12:55:59.433Z",
472 + "optional": true,
473 + "includedInPackagePrice": true
474 + }
475 + },
476 + "altPackages": [
477 + {
478 + "cacheKey": "string",
479 + "id": "string",
480 + "priceCurrency": "string",
481 + "totalPrice": 0,
482 + "agentCommissionPercent": 0,
483 + "agentCommissionAmount": 0,
484 + "includedExtrasAmount": 0,
485 + "priceDifference": 0,
486 + "hotel": {
487 + "hotelPriceId": "string",
488 + "providerId": 0,
489 + "hotelName": "string",
490 + "hotelCode": "string",
491 + "nigths": 0,
492 + "mealPlan": "string",
493 + "hotelClass": "string",
494 + "availabilityType": "OnRequest",
495 + "availableRoomsCount": 0,
496 + "fewRooms": true,
497 + "roomCategoryCode": "string",
498 + "roomCategoryName": "string",
499 + "placementTypeName": "string",
500 + "placementDescription": "string",
501 + "checkInDate": "2023-12-26T12:55:59.433Z",
502 + "checkOutDate": "2023-12-26T12:55:59.433Z",
503 + "adults": 0,
504 + "children": 0,
505 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
506 + "districtName": "string",
507 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
508 + "cityName": "string",
509 + "countryCode": "string",
510 + "countryName": "string",
511 + "hasAlcohol": true,
512 + "hasFreeWifi": true,
513 + "hasMetro": true,
514 + "hasPool": true,
515 + "hasMall": true,
516 + "cancellationPolicyDescription": "string",
517 + "cancellationPolicy": {
518 + "cancellationPolicyCode": "string",
519 + "noShowChargeValue": 0,
520 + "noShowChargeValueType": "string",
521 + "earlyDepartureChargeValue": 0,
522 + "earlyDepartureChargeValueType": "string",
523 + "conditions": [
524 + {
525 + "timeunits": 0,
526 + "timeunitType": "string",
527 + "timeOffsetTypeName": "string",
528 + "chargeValue": 0,
529 + "chargeValueType": "string"
530 + }
531 + ]
532 + }
344 344   },
345 - "departureFlightInfo": {
346 - "flightNumber": "string",
347 - "terminalCode": "string",
348 - "date": "2024-04-11T05:16:08.335Z",
349 - "time": "string"
534 + "flight": {
535 + "id": "string",
536 + "departureDate": "2023-12-26T12:55:59.433Z",
537 + "returnDate": "2023-12-26T12:55:59.433Z",
538 + "departureTicketsLeft": 0,
539 + "returnTicketsLeft": 0,
540 + "departureAvailabilityType": "OnRequest",
541 + "returnAvailabilityType": "OnRequest",
542 + "isTwoWay": true,
543 + "sameBaggageForAll": true,
544 + "totalBaggage": true,
545 + "departureSegments": [
546 + {
547 + "airlineCode": "string",
548 + "airlineName": "string",
549 + "flightCode": "string",
550 + "class": "string",
551 + "lugageWeight": 0,
552 + "handLugageWeight": 0,
553 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
554 + "departureCountryName": "string",
555 + "departureCityName": "string",
556 + "departureAirportCode": "string",
557 + "departureAirportName": "string",
558 + "departureTerminalCode": "string",
559 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
560 + "arrivalCountryName": "string",
561 + "arrivalCityName": "string",
562 + "arrivalAirportCode": "string",
563 + "arrivalAirportName": "string",
564 + "arrivalTerminalCode": "string",
565 + "flightDuration": "string"
566 + }
567 + ],
568 + "returnSegments": [
569 + {
570 + "airlineCode": "string",
571 + "airlineName": "string",
572 + "flightCode": "string",
573 + "class": "string",
574 + "lugageWeight": 0,
575 + "handLugageWeight": 0,
576 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
577 + "departureCountryName": "string",
578 + "departureCityName": "string",
579 + "departureAirportCode": "string",
580 + "departureAirportName": "string",
581 + "departureTerminalCode": "string",
582 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
583 + "arrivalCountryName": "string",
584 + "arrivalCityName": "string",
585 + "arrivalAirportCode": "string",
586 + "arrivalAirportName": "string",
587 + "arrivalTerminalCode": "string",
588 + "flightDuration": "string"
589 + }
590 + ],
591 + "passengers": [
592 + {
593 + "id": "string",
594 + "isAdult": true,
595 + "selectedForwardBaggageCode": "string",
596 + "selectedBackwardBaggageCode": "string",
597 + "forwardBaggages": [
598 + {
599 + "baggageCode": "string",
600 + "description": "string",
601 + "price": 0,
602 + "currency": "string",
603 + "included": true
604 + }
605 + ],
606 + "backwardBaggages": [
607 + {
608 + "baggageCode": "string",
609 + "description": "string",
610 + "price": 0,
611 + "currency": "string",
612 + "included": true
613 + }
614 + ]
615 + }
616 + ]
350 350   },
351 - "insurancePrice": {
352 - "insuranceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
353 - "insuranceServiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
354 - "insurancePriceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
355 - "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
356 - "insuranceName": "string",
357 - "insuranceDescription": "string",
358 - "contragentName": "string",
359 - "contragentFullName": "string",
360 - "actualStartDate": "2024-04-11T05:16:08.335Z",
361 - "actualEndDate": "2024-04-11T05:16:08.335Z",
362 - "costCurrencyCode": "string",
363 - "costAmount": 0,
364 - "priceCurrencyCode": "string",
365 - "priceAmount": 0,
366 - "coverageCurrencyCode": "string",
367 - "coverageAmount": 0
368 - },
369 - "selectedVisaId": "string",
370 - "transfers": [
618 + "extraServices": [
371 371   {
372 - "id": "string",
373 - "type": "Arrival",
374 - "flightId": "string",
375 - "flightInfo": {
376 - "flightNumber": "string",
377 - "terminalCode": "string",
378 - "date": "2024-04-11T05:16:08.335Z",
379 - "time": "string"
380 - },
381 - "checkInHotelId": "string",
382 - "checkOutHotelId": "string",
383 - "selectedTransferPriceId": "string",
384 - "transferPrices": [
620 + "extraServiceCode": "string",
621 + "extraServiceTypeCode": "string",
622 + "isMandatory": 0,
623 + "extraServiceName": "string",
624 + "minimalServiceAmount": 0,
625 + "includedPriceCode": "string",
626 + "prices": [
385 385   {
386 - "id": "string",
387 - "name": "string",
388 - "adultPlaces": 0,
389 - "childPlaces": 0,
390 - "perPersonPrice": true,
391 - "adultPrice": 0,
392 - "childPrice": 0
628 + "extraServicePriceCode": "string",
629 + "displayName": "string",
630 + "restrictionInfo": "string",
631 + "additionalInfo": "string",
632 + "price": 0,
633 + "extraPrice": 0,
634 + "currency": "string"
393 393   }
394 394   ]
395 395   }
396 396   ],
397 - "errorCode": "string",
398 - "errorMessage": "string",
399 - "description": "string"
639 + "insurancePrice": {
640 + "name": "string",
641 + "price": 0,
642 + "priceSurcarge": 0,
643 + "actualStartDate": "2023-12-26T12:55:59.433Z",
644 + "actualEndDate": "2023-12-26T12:55:59.433Z",
645 + "optional": true,
646 + "includedInPackagePrice": true
647 + }
400 400   }
401 401   ],
402 - "visas": [
403 - {
404 - "prid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
405 - "prName": "string",
406 - "prValue": 0,
407 - "sortingOrder": 0
408 - }
409 - ],
410 - "terminals": [
411 - {
412 - "terminalCode": "string",
413 - "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
414 - "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
415 - "terminalName": "string",
416 - "countryCode": "string",
417 - "note": "string"
418 - }
419 - ],
420 - "containsError": true,
421 - "refreshPriceResult": "Success",
422 - "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
423 - "reservationDetailsUnavailable": true
650 + "refreshPriceResult": "Success"
424 424  }
425 425  {{/code}}
426 426  
... ... @@ -1124,101 +1124,3 @@
1124 1124  
1125 1125  }
1126 1126  {{/success}}
1127 -
1128 -
1129 -
1130 -== Description ==
1131 -
1132 -
1133 -=== Request ===
1134 -
1135 -(% class="table-bordered" %)
1136 -|=Field Path|=Data Type|=Description
1137 -|calcTourPackageRequests[*].refreshPrices|Boolean|Indicates whether to refresh the prices for the tour package.
1138 -|calcTourPackageRequests[*].packageId|String|Unique identifier for the tour package.
1139 -|calcTourPackageRequests[*].flightPassengers[*].id|String|Unique identifier for a flight passenger within the package.
1140 -|calcTourPackageRequests[*].flightPassengers[*].selectedForwardBaggageCode|String|Code indicating the baggage option selected for the forward journey.
1141 -|calcTourPackageRequests[*].flightPassengers[*].selectedBackwardBaggageCode|String|Code indicating the baggage option selected for the return journey.
1142 -|calcTourPackageRequests[*].extraServicePriceCodes|Array|An array of codes for extra services priced within the package.
1143 -|calcTourPackageRequests[*].includeInsurance|Boolean|Indicates if insurance is included in the tour package.
1144 -|calcOnlyHotelPackageRequests|Array|Details about hotel-only package requests, if applicable.
1145 -|calcOnlyAviaPackageRequests|Array|Details about avia-only package requests, if applicable.
1146 -|hotels[*].note|String|Additional notes regarding the hotel booking.
1147 -|hotels[*].agentConfirmationNumber|String|Confirmation number provided by the agent for the hotel booking.
1148 -|hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1149 -|hotels[*].touristIds[*]|String|List of IDs for tourists staying at the hotel.
1150 -|tourists[*].id|String|Unique identifier for the tourist.
1151 -|tourists[*].isMale|Boolean|Indicates if the tourist is male.
1152 -|tourists[*].firstName|String|First name of the tourist.
1153 -|tourists[*].lastName|String|Last name of the tourist.
1154 -|tourists[*].birthDate|String|Birth date of the tourist.
1155 -|tourists[*].citizenship|String|Citizenship of the tourist.
1156 -|tourists[*].passportNumber|String|Passport number of the tourist.
1157 -|tourists[*].passportIssue|String|Issue date of the tourist's passport.
1158 -|tourists[*].passportExpiry|String|Expiry date of the tourist's passport.
1159 -|tourists[*].tin|String|Tax identification number of the tourist, if applicable.
1160 -|tourists[*].selectedVisaId|String|ID of the selected visa option for the tourist.
1161 -|tourists[*].flights[*].flightId|String|Identifier for flights associated with the tourist.
1162 -|tourists[*].flights[*].note|String|Additional notes or details about the flight.
1163 -|tourists[*].flightIds[*]|String|Array of flight IDs associated with the tourist.
1164 -|tourists[*].insurancePrice.insuranceId|String|Identifier for the insurance plan selected for the tourist.
1165 -|...|...|Additional fields for insurancePrice as detailed in previous responses.
1166 -|tourists[*].departureFlightInfo.date|String|Departure date for the tourist's flight, if applicable.
1167 -|tourists[*].departureFlightInfo.time|String|Departure time for the tourist's flight, if applicable.
1168 -|tourists[*].departureFlightInfo.flightNumber|String|Flight number for the tourist's departure flight, if applicable.
1169 -|tourists[*].departureFlightInfo.terminalCode|String|Terminal code for the tourist's departure flight, if applicable.
1170 -|tourists[*].arrivalFlightInfo.date|String|Arrival date for the tourist's flight, if applicable.
1171 -|tourists[*].arrivalFlightInfo.time|String|Arrival time for the tourist's flight, if applicable.
1172 -|tourists[*].arrivalFlightInfo.flightNumber|String|Flight number for the tourist's arrival flight, if applicable.
1173 -|tourists[*].arrivalFlightInfo.terminalCode|String|Terminal code for the tourist's arrival flight, if applicable.
1174 -|tourists[*].transfers[*].id|String|Unique identifier for a transfer service associated with the tourist.
1175 -|tourists[*].transfers[*].selectedTransferPriceId|String|ID of the selected pricing option for the transfer.
1176 -|note|String|General note regarding the reservation, intended for testing or additional information.
1177 -|contactPhone|String|Contact phone number associated with the reservation.
1178 -|reservationId|String|Unique identifier for the entire reservation.
1179 -
1180 -
1181 -=== Response ===
1182 -
1183 -|=Field Path|=Data Type|=Description
1184 -|priceCurrency|String|Currency code (ISO 4217) for all transactional amounts mentioned in the response.
1185 -|totalPrice|Number|Total price of the reservation.
1186 -|agentCommissionPercent|Number|The percentage of the total price allocated as commission for the agent.
1187 -|agentCommissionAmount|Number|The total commission amount in priceCurrency.
1188 -|requiredCitizenIdentifiers[*].countryCode|String|The ISO 3166-1 alpha-2 country code for which an identifier is required.
1189 -|requiredCitizenIdentifiers[*].identifierType|String|Type of identifier required (e.g., "TIN", "FIN").
1190 -|hotels[*].hotelPriceId|String|Unique identifier for the hotel price.
1191 -|hotels[*].touristIds[*]|Array|List of tourist IDs that are booked in this hotel.
1192 -|hotels[*].description|String|Description of the hotel booking.
1193 -|tourists[*].id|String|Unique identifier for a tourist.
1194 -|tourists[*].age|Number|Age of the tourist.
1195 -|tourists[*].isAdult|Boolean|Indicates whether the tourist is an adult.
1196 -|tourists[*].flightIds[*]|Array|List of flight IDs associated with the tourist.
1197 -|tourists[*].flights[*].flightId|String|Unique identifier for the flight.
1198 -|tourists[*].flights[*].note|String|Notes or additional information about the flight.
1199 -|tourists[*].insurancePrice.*|Various|Detailed information about the insurance price, including ID, name, coverage, and cost details.
1200 -|tourists[*].selectedVisaId|String|Identifier for the selected visa option for the tourist.
1201 -|tourists[*].transfers[*].id|String|Unique identifier for the transfer.
1202 -|tourists[*].transfers[*].type|String|Type of transfer (e.g., "Arrival", "Departure").
1203 -|tourists[*].transfers[*].flightId|String|The flight ID associated with the transfer.
1204 -|tourists[*].transfers[*].checkInHotelId|String|Hotel ID for check-in associated with the transfer.
1205 -|tourists[*].transfers[*].checkOutHotelId|String|Hotel ID for check-out associated with the transfer.
1206 -|tourists[*].transfers[*].selectedTransferPriceId|String|The ID of the selected pricing option for the transfer.
1207 -|tourists[*].transfers[*].transferPrices[*].*|Various|Detailed information about each transfer price option, including ID, name, and cost details.
1208 -|visas[*].prid|String|Unique identifier for a visa option.
1209 -|visas[*].prName|String|Name of the visa option.
1210 -|visas[*].prValue|Number|The cost associated with this visa option.
1211 -|visas[*].sortingOrder|Number|Sorting order for the visa options.
1212 -|terminals[*].terminalCode|String|Code representing the terminal.
1213 -|terminals[*].cityUID|String|Unique identifier for the city where the terminal is located.
1214 -|terminals[*].districtUID|String|Unique identifier for the district of the terminal.
1215 -|terminals[*].terminalName|String|Name of the terminal.
1216 -|terminals[*].countryCode|String|The ISO 3166-1 alpha-2 country code for the terminal's country.
1217 -|terminals[*].note|String|Additional notes or information about the terminal.
1218 -|containsError|Boolean|Indicates if the response contains any errors.
1219 -|refreshPriceResult|String|The result of attempting to refresh the price (e.g., "Success").
1220 -|reservationId|String|Unique identifier for the reservation.
1221 -|reservationDetailsUnavailable|Boolean|Indicates if the reservation details are currently unavailable.
1222 -|error|Boolean|A generic error indicator, presumably redundant with containsError.
1223 -
1224 -