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