Changes for page 3. CalcPackage

Last modified by Giorgi Mdivnishvili on 2024/04/11 17:03

From version 6.1
edited by Giorgi Mdivnishvili
on 2023/12/26 17:01
Change comment: There is no comment for this version
To version 7.1
edited by Giorgi Mdivnishvili
on 2023/12/26 17:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -429,7 +429,349 @@
429 429  
430 430  === Response example ===
431 431  
432 -{{code language="Json"}}{{/code}}
432 +{{code language="Json"}}
433 +{
434 + "package": {
435 + "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57",
436 + "priceCurrency": "USD",
437 + "totalPrice": 937.16,
438 + "agentCommissionPercent": 0.00,
439 + "agentCommissionAmount": 0.00,
440 + "includedExtrasAmount": 0,
441 + "priceDifference": 0,
442 + "hotel": {
443 + "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f",
444 + "providerId": 13,
445 + "hotelName": "Mercure Dubai Barsha Heights Suites Apartments",
446 + "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14",
447 + "nigths": 2,
448 + "mealPlan": "BB",
449 + "hotelClass": "4",
450 + "availabilityType": "StopSale",
451 + "availableRoomsCount": 0,
452 + "fewRooms": true,
453 + "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4",
454 + "roomCategoryName": "1 B/R Apartment City View",
455 + "placementTypeName": "SNGL + CHILD(2-5.99)sharing",
456 + "checkInDate": "2024-02-15T20:00:00.000Z",
457 + "checkOutDate": "2024-02-17T20:00:00.000Z",
458 + "adults": 1,
459 + "children": 1,
460 + "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e",
461 + "districtName": "Al Barsha",
462 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
463 + "cityName": "Dubai",
464 + "countryCode": "AE",
465 + "countryName": "United Arab Emirates",
466 + "hasAlcohol": false,
467 + "hasFreeWifi": true,
468 + "hasMetro": true,
469 + "hasPool": true,
470 + "hasMall": false,
471 + "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %",
472 + "cancellationPolicy": {
473 + "noShowChargeValue": 100.00,
474 + "noShowChargeValueType": "%",
475 + "earlyDepartureChargeValue": 100.00,
476 + "earlyDepartureChargeValueType": "%",
477 + "conditions": [
478 + {
479 + "timeunits": 5,
480 + "timeunitType": "Day",
481 + "timeOffsetTypeName": "Before Arrival",
482 + "chargeValue": 100.00,
483 + "chargeValueType": "%"
484 + }
485 + ]
486 + }
487 + },
488 + "flight": {
489 + "id": "0c299240-6fc6-4f79-ba99-3548f2de3f57",
490 + "departureDate": "2024-02-15T20:00:00.000Z",
491 + "returnDate": "2024-02-17T20:00:00.000Z",
492 + "departureTicketsLeft": 7,
493 + "returnTicketsLeft": 7,
494 + "departureAvailabilityType": "FewPlaces",
495 + "returnAvailabilityType": "FewPlaces",
496 + "isTwoWay": true,
497 + "sameBaggageForAll": false,
498 + "totalBaggage": true,
499 + "departureSegments": [
500 + {
501 + "airlineCode": "KC",
502 + "airlineName": "Air Astana-",
503 + "flightCode": "KC899",
504 + "class": "econom",
505 + "lugageWeight": 20,
506 + "handLugageWeight": 6,
507 + "departureFlightDate": "2024-02-15T20:00:00.000Z",
508 + "departureCountryName": "Kazakhstan",
509 + "departureCityName": "Almaty",
510 + "departureAirportCode": "ALA",
511 + "departureAirportName": "Almaty Intl Airport",
512 + "departureTerminalCode": "ALA",
513 + "arrivalFlightDate": "2024-02-15T20:00:00.000Z",
514 + "arrivalCountryName": "United Arab Emirates",
515 + "arrivalCityName": "Dubai",
516 + "arrivalAirportCode": "DXB",
517 + "arrivalAirportName": "Dubai Intl Airport",
518 + "arrivalTerminalCode": "DXB1",
519 + "flightDuration": "0h 50m"
520 + }
521 + ],
522 + "returnSegments": [
523 + {
524 + "airlineCode": "KC",
525 + "airlineName": "Air Astana-",
526 + "flightCode": "KC900",
527 + "class": "econom",
528 + "lugageWeight": 20,
529 + "handLugageWeight": 6,
530 + "departureFlightDate": "2024-02-17T20:00:00.000Z",
531 + "departureCountryName": "United Arab Emirates",
532 + "departureCityName": "Dubai",
533 + "departureAirportCode": "DXB",
534 + "departureAirportName": "Dubai Intl Airport",
535 + "departureTerminalCode": "DXB1",
536 + "arrivalFlightDate": "2024-02-17T20:00:00.000Z",
537 + "arrivalCountryName": "Kazakhstan",
538 + "arrivalCityName": "Almaty",
539 + "arrivalAirportCode": "ALA",
540 + "arrivalAirportName": "Almaty Intl Airport",
541 + "arrivalTerminalCode": "ALA",
542 + "flightDuration": "8h 15m"
543 + }
544 + ],
545 + "passengers": [
546 + {
547 + "id": "42779531011000004-A1",
548 + "isAdult": true,
549 + "forwardBaggages": [
550 + {
551 + "baggageCode": "TOTAL_BAGGAGE",
552 + "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS",
553 + "price": 45.00,
554 + "currency": "USD",
555 + "included": false
556 + }
557 + ],
558 + "backwardBaggages": [
559 + {
560 + "baggageCode": "INCLUDED_IN_FORWARD",
561 + "price": 0,
562 + "included": false
563 + }
564 + ]
565 + },
566 + {
567 + "id": "42779531011000004-C1",
568 + "isAdult": false,
569 + "forwardBaggages": [
570 + {
571 + "baggageCode": "TOTAL_BAGGAGE",
572 + "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS",
573 + "price": 45.00,
574 + "currency": "USD",
575 + "included": false
576 + }
577 + ],
578 + "backwardBaggages": [
579 + {
580 + "baggageCode": "INCLUDED_IN_FORWARD",
581 + "price": 0,
582 + "included": false
583 + }
584 + ]
585 + }
586 + ]
587 + },
588 + "extraServices": [],
589 + "insurancePrice": {
590 + "name": "Medical INS (N10000)",
591 + "price": 13.44,
592 + "priceSurcarge": 0.00,
593 + "actualStartDate": "2024-02-15T20:00:00.000Z",
594 + "actualEndDate": "2024-02-17T20:00:00.000Z",
595 + "optional": false,
596 + "includedInPackagePrice": true
597 + }
598 + },
599 + "altPackages": [
600 + {
601 + "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:63d79c94-1e19-443f-8a17-50e59e633ea8",
602 + "priceCurrency": "USD",
603 + "totalPrice": 968.40,
604 + "agentCommissionPercent": 0.00,
605 + "agentCommissionAmount": 0.00,
606 + "includedExtrasAmount": 0,
607 + "priceDifference": 31.24,
608 + "hotel": {
609 + "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f",
610 + "providerId": 13,
611 + "hotelName": "Mercure Dubai Barsha Heights Suites Apartments",
612 + "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14",
613 + "nigths": 2,
614 + "mealPlan": "BB",
615 + "hotelClass": "4",
616 + "availabilityType": "StopSale",
617 + "availableRoomsCount": 0,
618 + "fewRooms": true,
619 + "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4",
620 + "roomCategoryName": "1 B/R Apartment City View",
621 + "placementTypeName": "SNGL + CHILD(2-5.99)sharing",
622 + "checkInDate": "2024-02-15T20:00:00.000Z",
623 + "checkOutDate": "2024-02-17T20:00:00.000Z",
624 + "adults": 1,
625 + "children": 1,
626 + "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e",
627 + "districtName": "Al Barsha",
628 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
629 + "cityName": "Dubai",
630 + "countryCode": "AE",
631 + "countryName": "United Arab Emirates",
632 + "hasAlcohol": false,
633 + "hasFreeWifi": true,
634 + "hasMetro": true,
635 + "hasPool": true,
636 + "hasMall": false,
637 + "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %",
638 + "cancellationPolicy": {
639 + "noShowChargeValue": 100.00,
640 + "noShowChargeValueType": "%",
641 + "earlyDepartureChargeValue": 100.00,
642 + "earlyDepartureChargeValueType": "%",
643 + "conditions": [
644 + {
645 + "timeunits": 5,
646 + "timeunitType": "Day",
647 + "timeOffsetTypeName": "Before Arrival",
648 + "chargeValue": 100.00,
649 + "chargeValueType": "%"
650 + }
651 + ]
652 + }
653 + },
654 + "flight": {
655 + "id": "63d79c94-1e19-443f-8a17-50e59e633ea8",
656 + "departureDate": "2024-02-15T20:00:00.000Z",
657 + "returnDate": "2024-02-17T20:00:00.000Z",
658 + "departureTicketsLeft": 50,
659 + "returnTicketsLeft": 50,
660 + "departureAvailabilityType": "FewPlaces",
661 + "returnAvailabilityType": "FewPlaces",
662 + "isTwoWay": true,
663 + "sameBaggageForAll": false,
664 + "totalBaggage": false,
665 + "departureSegments": [
666 + {
667 + "airlineCode": "FZ",
668 + "airlineName": "Fly Dubai.",
669 + "flightCode": "FZ1722",
670 + "class": "econom",
671 + "lugageWeight": 20,
672 + "handLugageWeight": 6,
673 + "departureFlightDate": "2024-02-15T20:00:00.000Z",
674 + "departureCountryName": "Kazakhstan",
675 + "departureCityName": "Almaty",
676 + "departureAirportCode": "ALA",
677 + "departureAirportName": "Almaty Intl Airport",
678 + "departureTerminalCode": "ALA",
679 + "arrivalFlightDate": "2024-02-15T20:00:00.000Z",
680 + "arrivalCountryName": "United Arab Emirates",
681 + "arrivalCityName": "Dubai",
682 + "arrivalAirportCode": "DXB",
683 + "arrivalAirportName": "Dubai Intl Airport",
684 + "arrivalTerminalCode": "DXB3",
685 + "flightDuration": "0h 55m"
686 + }
687 + ],
688 + "returnSegments": [
689 + {
690 + "airlineCode": "FZ",
691 + "airlineName": "Fly Dubai.",
692 + "flightCode": "FZ1721",
693 + "class": "econom",
694 + "lugageWeight": 20,
695 + "handLugageWeight": 6,
696 + "departureFlightDate": "2024-02-17T20:00:00.000Z",
697 + "departureCountryName": "United Arab Emirates",
698 + "departureCityName": "Dubai",
699 + "departureAirportCode": "DXB",
700 + "departureAirportName": "Dubai Intl Airport",
701 + "departureTerminalCode": "DXB3",
702 + "arrivalFlightDate": "2024-02-18T20:00:00.000Z",
703 + "arrivalCountryName": "Kazakhstan",
704 + "arrivalCityName": "Almaty",
705 + "arrivalAirportCode": "ALA",
706 + "arrivalAirportName": "Almaty Intl Airport",
707 + "arrivalTerminalCode": "DXB3",
708 + "flightDuration": "8h 10m"
709 + }
710 + ],
711 + "passengers": [
712 + {
713 + "id": "42779547001000004-A1",
714 + "isAdult": true,
715 + "selectedForwardBaggageCode": "INCLUDED",
716 + "selectedBackwardBaggageCode": "INCLUDED",
717 + "forwardBaggages": [
718 + {
719 + "baggageCode": "INCLUDED",
720 + "description": "20 KG INCLUDED",
721 + "price": 0.0,
722 + "currency": "USD",
723 + "included": true
724 + }
725 + ],
726 + "backwardBaggages": [
727 + {
728 + "baggageCode": "INCLUDED",
729 + "description": "20 KG INCLUDED",
730 + "price": 0.0,
731 + "currency": "USD",
732 + "included": true
733 + }
734 + ]
735 + },
736 + {
737 + "id": "42779547001000004-C1",
738 + "isAdult": false,
739 + "selectedForwardBaggageCode": "INCLUDED",
740 + "selectedBackwardBaggageCode": "INCLUDED",
741 + "forwardBaggages": [
742 + {
743 + "baggageCode": "INCLUDED",
744 + "description": "20 KG INCLUDED",
745 + "price": 0.0,
746 + "currency": "USD",
747 + "included": true
748 + }
749 + ],
750 + "backwardBaggages": [
751 + {
752 + "baggageCode": "INCLUDED",
753 + "description": "20 KG INCLUDED",
754 + "price": 0.0,
755 + "currency": "USD",
756 + "included": true
757 + }
758 + ]
759 + }
760 + ]
761 + },
762 + "extraServices": [],
763 + "insurancePrice": {
764 + "name": "Medical INS (N10000)",
765 + "price": 13.44,
766 + "priceSurcarge": 0.00,
767 + "actualStartDate": "2024-02-15T20:00:00.000Z",
768 + "actualEndDate": "2024-02-17T20:00:00.000Z",
769 + "optional": false,
770 + "includedInPackagePrice": true
771 + }
772 + },
773 + {
774 +{{/code}}
433 433  
434 434  
435 435  === Schema ===
... ... @@ -569,4 +569,3 @@
569 569  
570 570  }
571 571  {{/success}}
572 -