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
on 2023/12/26 17:01
Change comment:
There is no comment for this version
To version 13.1
edited by Giorgi Mdivnishvili
on 2024/04/11 08:13
on 2024/04/11 08:13
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,13 +6,12 @@ 6 6 7 7 = Method Description = 8 8 9 -Th einitialmethodoftheintegrationprocess isauthorization.Youwillbeprovidedwithatestuser username andpasswordtogeneratetheaccesstoken that you willneedtopassin allthefollowingmethods.9 +This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book. 10 10 11 - 12 12 == Endpoint URL - [POST] == 13 13 14 14 {{info}} 15 -[[https:~~/~~/ online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage]]14 +[[https:~~/~~/integration.kazunion.com/api/TourPackages/CalcPackage>>https://integration.kazunion.com/api/TourPackages/CalcPackage]] 16 16 {{/info}} 17 17 18 18 ... ... @@ -47,23 +47,34 @@ 47 47 (% class="wikigeneratedid" id="HRequestBodyexample" %) 48 48 (% id="cke_bm_10575S" style="display:none" %) 49 49 49 + 50 + 50 50 == Request Body example == 51 51 52 52 {{code language="Json"}} 53 53 { 54 - "packageId": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57", 55 - "extraServicePriceCodes": [ 56 - 57 - ], 58 - "flightPassengers": [ 59 - { 60 - "id": "42779531011000004-A1", 61 - "selectedForwardBaggageCode": "", 62 - "selectedBackwardBaggageCode": "" 63 - } 64 - ], 65 - "includeInsurance": true, 66 - "refreshPrices": true 55 + "calcTourPackageRequests": [ 56 + { 57 + "refreshPrices": true, 58 + "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d", 59 + "flightPassengers": [ 60 + { 61 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1", 62 + "selectedForwardBaggageCode": "INCLUDED", 63 + "selectedBackwardBaggageCode": "INCLUDED" 64 + }, 65 + { 66 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2", 67 + "selectedForwardBaggageCode": "INCLUDED", 68 + "selectedBackwardBaggageCode": "INCLUDED" 69 + } 70 + ], 71 + "extraServicePriceCodes": [], 72 + "includeInsurance": true 73 + } 74 + ], 75 + "calcOnlyHotelPackageRequests": [], 76 + "calcOnlyAviaPackageRequests": [] 67 67 } 68 68 {{/code}} 69 69 ... ... @@ -429,13 +429,568 @@ 429 429 430 430 === Response example === 431 431 432 -{{code language="Json"}}{{/code}} 442 +{{code language="Json"}} 443 +{ 444 + "priceCurrency": "USD", 445 + "totalPrice": 782, 446 + "agentCommissionPercent": 0.00, 447 + "agentCommissionAmount": 0, 448 + "requiredCitizenIdentifiers": [ 449 + { 450 + "countryCode": "KZ", 451 + "identifierType": "TIN" 452 + }, 453 + { 454 + "countryCode": "AZ", 455 + "identifierType": "FIN" 456 + } 457 + ], 458 + "hotels": [ 459 + { 460 + "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f", 461 + "touristIds": [ 462 + "0223735d-3895-493e-89f5-7cc06514ba12", 463 + "59db21f9-cebd-458e-8210-c186e0cdeb81" 464 + ], 465 + "description": "Ibis Al Rigga" 466 + } 467 + ], 468 + "tourists": [ 469 + { 470 + "id": "0223735d-3895-493e-89f5-7cc06514ba12", 471 + "isAdult": true, 472 + "flightIds": [ 473 + "53552191-59ea-469d-ae9d-5b848da8839d" 474 + ], 475 + "flights": [ 476 + { 477 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 478 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 479 + } 480 + ], 481 + "insurancePrice": { 482 + "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef", 483 + "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac", 484 + "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c", 485 + "touristId": "0223735d-3895-493e-89f5-7cc06514ba12", 486 + "insuranceName": "Medical INS (N10000)", 487 + "contragentName": "Nomad Insurance", 488 + "contragentFullName": "Nomad Insurance", 489 + "actualStartDate": "2024-05-17T00:00:00.000", 490 + "actualEndDate": "2024-05-21T00:00:00.000", 491 + "costCurrencyCode": "USD", 492 + "costAmount": 6.70, 493 + "priceCurrencyCode": "USD", 494 + "priceAmount": 11.20, 495 + "coverageCurrencyCode": "USD", 496 + "coverageAmount": 10000.0000 497 + }, 498 + "selectedVisaId": "00000000-0000-0000-0000-000000000000", 499 + "transfers": [ 500 + { 501 + "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf", 502 + "type": "Arrival", 503 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 504 + "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f", 505 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29", 506 + "transferPrices": [ 507 + { 508 + "id": "a9252005-0a92-4ed1-9603-0f2f14295c29", 509 + "name": "GROUP", 510 + "adultPlaces": 1, 511 + "childPlaces": 1, 512 + "perPersonPrice": true, 513 + "adultPrice": 0, 514 + "childPrice": 0 515 + }, 516 + { 517 + "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", 518 + "name": "MINIVAN", 519 + "adultPlaces": 5, 520 + "childPlaces": 0, 521 + "perPersonPrice": false, 522 + "adultPrice": 45.00000000, 523 + "childPrice": 0 524 + }, 525 + { 526 + "id": "fc3815bb-af00-4733-9134-4b6334ce3854", 527 + "name": "TOYOTA HIACE", 528 + "adultPlaces": 9, 529 + "childPlaces": 0, 530 + "perPersonPrice": false, 531 + "adultPrice": 50.00000000, 532 + "childPrice": 0 533 + }, 534 + { 535 + "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", 536 + "name": "HIGER BUS (27 SEATERS)", 537 + "adultPlaces": 27, 538 + "childPlaces": 0, 539 + "perPersonPrice": false, 540 + "adultPrice": 85.00000000, 541 + "childPrice": 0 542 + }, 543 + { 544 + "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", 545 + "name": "HIGER 53", 546 + "adultPlaces": 51, 547 + "childPlaces": 0, 548 + "perPersonPrice": false, 549 + "adultPrice": 120.00000000, 550 + "childPrice": 0 551 + }, 552 + { 553 + "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", 554 + "name": "MERCEDES S CLASS 400", 555 + "adultPlaces": 3, 556 + "childPlaces": 0, 557 + "perPersonPrice": false, 558 + "adultPrice": 140.00000000, 559 + "childPrice": 0 560 + }, 561 + { 562 + "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", 563 + "name": "MERCEDES V CLASS", 564 + "adultPlaces": 7, 565 + "childPlaces": 0, 566 + "perPersonPrice": false, 567 + "adultPrice": 140.00000000, 568 + "childPrice": 0 569 + }, 570 + { 571 + "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", 572 + "name": "MERCEDES S CLASS 500", 573 + "adultPlaces": 3, 574 + "childPlaces": 0, 575 + "perPersonPrice": false, 576 + "adultPrice": 165.00000000, 577 + "childPrice": 0 578 + } 579 + ] 580 + }, 581 + { 582 + "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB", 583 + "type": "Departure", 584 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 585 + "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f", 586 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29", 587 + "transferPrices": [ 588 + { 589 + "id": "a9252005-0a92-4ed1-9603-0f2f14295c29", 590 + "name": "GROUP", 591 + "adultPlaces": 1, 592 + "childPlaces": 1, 593 + "perPersonPrice": true, 594 + "adultPrice": 0, 595 + "childPrice": 0 596 + }, 597 + { 598 + "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", 599 + "name": "MINIVAN", 600 + "adultPlaces": 5, 601 + "childPlaces": 0, 602 + "perPersonPrice": false, 603 + "adultPrice": 45.00000000, 604 + "childPrice": 0 605 + }, 606 + { 607 + "id": "fc3815bb-af00-4733-9134-4b6334ce3854", 608 + "name": "TOYOTA HIACE", 609 + "adultPlaces": 9, 610 + "childPlaces": 0, 611 + "perPersonPrice": false, 612 + "adultPrice": 50.00000000, 613 + "childPrice": 0 614 + }, 615 + { 616 + "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", 617 + "name": "HIGER BUS (27 SEATERS)", 618 + "adultPlaces": 27, 619 + "childPlaces": 0, 620 + "perPersonPrice": false, 621 + "adultPrice": 85.00000000, 622 + "childPrice": 0 623 + }, 624 + { 625 + "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", 626 + "name": "HIGER 53", 627 + "adultPlaces": 51, 628 + "childPlaces": 0, 629 + "perPersonPrice": false, 630 + "adultPrice": 120.00000000, 631 + "childPrice": 0 632 + }, 633 + { 634 + "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", 635 + "name": "MERCEDES S CLASS 400", 636 + "adultPlaces": 3, 637 + "childPlaces": 0, 638 + "perPersonPrice": false, 639 + "adultPrice": 140.00000000, 640 + "childPrice": 0 641 + }, 642 + { 643 + "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", 644 + "name": "MERCEDES V CLASS", 645 + "adultPlaces": 7, 646 + "childPlaces": 0, 647 + "perPersonPrice": false, 648 + "adultPrice": 140.00000000, 649 + "childPrice": 0 650 + }, 651 + { 652 + "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", 653 + "name": "MERCEDES S CLASS 500", 654 + "adultPlaces": 3, 655 + "childPlaces": 0, 656 + "perPersonPrice": false, 657 + "adultPrice": 165.00000000, 658 + "childPrice": 0 659 + } 660 + ] 661 + } 662 + ], 663 + "description": " " 664 + }, 665 + { 666 + "id": "59db21f9-cebd-458e-8210-c186e0cdeb81", 667 + "isAdult": true, 668 + "flightIds": [ 669 + "53552191-59ea-469d-ae9d-5b848da8839d" 670 + ], 671 + "flights": [ 672 + { 673 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 674 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 675 + } 676 + ], 677 + "insurancePrice": { 678 + "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef", 679 + "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac", 680 + "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c", 681 + "touristId": "59db21f9-cebd-458e-8210-c186e0cdeb81", 682 + "insuranceName": "Medical INS (N10000)", 683 + "contragentName": "Nomad Insurance", 684 + "contragentFullName": "Nomad Insurance", 685 + "actualStartDate": "2024-05-17T00:00:00.000", 686 + "actualEndDate": "2024-05-21T00:00:00.000", 687 + "costCurrencyCode": "USD", 688 + "costAmount": 6.70, 689 + "priceCurrencyCode": "USD", 690 + "priceAmount": 11.20, 691 + "coverageCurrencyCode": "USD", 692 + "coverageAmount": 10000.0000 693 + }, 694 + "selectedVisaId": "00000000-0000-0000-0000-000000000000", 695 + "transfers": [ 696 + { 697 + "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf", 698 + "type": "Arrival", 699 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 700 + "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f", 701 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29", 702 + "transferPrices": [ 703 + { 704 + "id": "a9252005-0a92-4ed1-9603-0f2f14295c29", 705 + "name": "GROUP", 706 + "adultPlaces": 1, 707 + "childPlaces": 1, 708 + "perPersonPrice": true, 709 + "adultPrice": 0, 710 + "childPrice": 0 711 + }, 712 + { 713 + "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", 714 + "name": "MINIVAN", 715 + "adultPlaces": 5, 716 + "childPlaces": 0, 717 + "perPersonPrice": false, 718 + "adultPrice": 45.00000000, 719 + "childPrice": 0 720 + }, 721 + { 722 + "id": "fc3815bb-af00-4733-9134-4b6334ce3854", 723 + "name": "TOYOTA HIACE", 724 + "adultPlaces": 9, 725 + "childPlaces": 0, 726 + "perPersonPrice": false, 727 + "adultPrice": 50.00000000, 728 + "childPrice": 0 729 + }, 730 + { 731 + "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", 732 + "name": "HIGER BUS (27 SEATERS)", 733 + "adultPlaces": 27, 734 + "childPlaces": 0, 735 + "perPersonPrice": false, 736 + "adultPrice": 85.00000000, 737 + "childPrice": 0 738 + }, 739 + { 740 + "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", 741 + "name": "HIGER 53", 742 + "adultPlaces": 51, 743 + "childPlaces": 0, 744 + "perPersonPrice": false, 745 + "adultPrice": 120.00000000, 746 + "childPrice": 0 747 + }, 748 + { 749 + "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", 750 + "name": "MERCEDES S CLASS 400", 751 + "adultPlaces": 3, 752 + "childPlaces": 0, 753 + "perPersonPrice": false, 754 + "adultPrice": 140.00000000, 755 + "childPrice": 0 756 + }, 757 + { 758 + "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", 759 + "name": "MERCEDES V CLASS", 760 + "adultPlaces": 7, 761 + "childPlaces": 0, 762 + "perPersonPrice": false, 763 + "adultPrice": 140.00000000, 764 + "childPrice": 0 765 + }, 766 + { 767 + "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", 768 + "name": "MERCEDES S CLASS 500", 769 + "adultPlaces": 3, 770 + "childPlaces": 0, 771 + "perPersonPrice": false, 772 + "adultPrice": 165.00000000, 773 + "childPrice": 0 774 + } 775 + ] 776 + }, 777 + { 778 + "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB", 779 + "type": "Departure", 780 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 781 + "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f", 782 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29", 783 + "transferPrices": [ 784 + { 785 + "id": "a9252005-0a92-4ed1-9603-0f2f14295c29", 786 + "name": "GROUP", 787 + "adultPlaces": 1, 788 + "childPlaces": 1, 789 + "perPersonPrice": true, 790 + "adultPrice": 0, 791 + "childPrice": 0 792 + }, 793 + { 794 + "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", 795 + "name": "MINIVAN", 796 + "adultPlaces": 5, 797 + "childPlaces": 0, 798 + "perPersonPrice": false, 799 + "adultPrice": 45.00000000, 800 + "childPrice": 0 801 + }, 802 + { 803 + "id": "fc3815bb-af00-4733-9134-4b6334ce3854", 804 + "name": "TOYOTA HIACE", 805 + "adultPlaces": 9, 806 + "childPlaces": 0, 807 + "perPersonPrice": false, 808 + "adultPrice": 50.00000000, 809 + "childPrice": 0 810 + }, 811 + { 812 + "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", 813 + "name": "HIGER BUS (27 SEATERS)", 814 + "adultPlaces": 27, 815 + "childPlaces": 0, 816 + "perPersonPrice": false, 817 + "adultPrice": 85.00000000, 818 + "childPrice": 0 819 + }, 820 + { 821 + "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", 822 + "name": "HIGER 53", 823 + "adultPlaces": 51, 824 + "childPlaces": 0, 825 + "perPersonPrice": false, 826 + "adultPrice": 120.00000000, 827 + "childPrice": 0 828 + }, 829 + { 830 + "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", 831 + "name": "MERCEDES S CLASS 400", 832 + "adultPlaces": 3, 833 + "childPlaces": 0, 834 + "perPersonPrice": false, 835 + "adultPrice": 140.00000000, 836 + "childPrice": 0 837 + }, 838 + { 839 + "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", 840 + "name": "MERCEDES V CLASS", 841 + "adultPlaces": 7, 842 + "childPlaces": 0, 843 + "perPersonPrice": false, 844 + "adultPrice": 140.00000000, 845 + "childPrice": 0 846 + }, 847 + { 848 + "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", 849 + "name": "MERCEDES S CLASS 500", 850 + "adultPlaces": 3, 851 + "childPlaces": 0, 852 + "perPersonPrice": false, 853 + "adultPrice": 165.00000000, 854 + "childPrice": 0 855 + } 856 + ] 857 + } 858 + ], 859 + "description": " " 860 + } 861 + ], 862 + "visas": [ 863 + { 864 + "prid": "00000000-0000-0000-0000-000000000000", 865 + "prName": "WITHOUT VISA", 866 + "prValue": 0.00000000, 867 + "sortingOrder": 4 868 + }, 869 + { 870 + "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b", 871 + "prName": "TOURIST VISA", 872 + "prValue": 80.01000000, 873 + "sortingOrder": 2 874 + }, 875 + { 876 + "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb", 877 + "prName": "SERVICE VISA", 878 + "prValue": 120.08000000, 879 + "sortingOrder": 3 880 + } 881 + ], 882 + "terminals": [ 883 + { 884 + "terminalCode": "DXB2", 885 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 886 + "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", 887 + "terminalName": "DXB2", 888 + "countryCode": "AE" 889 + }, 890 + { 891 + "terminalCode": "DXB3", 892 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 893 + "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", 894 + "terminalName": "DXB3", 895 + "countryCode": "AE" 896 + }, 897 + { 898 + "terminalCode": "ETD", 899 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 900 + "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b", 901 + "terminalName": "Etihad Main Office Dubai", 902 + "countryCode": "AE", 903 + "note": "Noor Islamic Bank MS" 904 + }, 905 + { 906 + "terminalCode": "XGD", 907 + "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", 908 + "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf", 909 + "terminalName": "Dnata - Clock Tower", 910 + "countryCode": "AE" 911 + }, 912 + { 913 + "terminalCode": "Etihad Bus Station", 914 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 915 + "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b", 916 + "terminalName": "Etihad Bus Station", 917 + "countryCode": "AE" 918 + }, 919 + { 920 + "terminalCode": "DXB1", 921 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 922 + "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", 923 + "terminalName": "DXB1", 924 + "countryCode": "AE" 925 + }, 926 + { 927 + "terminalCode": "DWC", 928 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 929 + "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444", 930 + "terminalName": "DWC", 931 + "countryCode": "AE", 932 + "note": "Al Maktoum intl. airport" 933 + }, 934 + { 935 + "terminalCode": "DXB", 936 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 937 + "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", 938 + "terminalName": "DXB", 939 + "countryCode": "AE" 940 + }, 941 + { 942 + "terminalCode": "SHJ", 943 + "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6", 944 + "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d", 945 + "terminalName": "SHJ", 946 + "countryCode": "AE" 947 + }, 948 + { 949 + "terminalCode": "AUH", 950 + "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", 951 + "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b", 952 + "terminalName": "AUH", 953 + "countryCode": "AE" 954 + }, 955 + { 956 + "terminalCode": "QIW", 957 + "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88", 958 + "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94", 959 + "terminalName": "Um Al Quwain Terminal ", 960 + "countryCode": "AE" 961 + }, 962 + { 963 + "terminalCode": "AUH3", 964 + "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", 965 + "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b", 966 + "terminalName": "AUH3", 967 + "countryCode": "AE" 968 + }, 969 + { 970 + "terminalCode": "QAJ", 971 + "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d", 972 + "districtUID": "70e57708-9de2-4505-b550-f4627ae40877", 973 + "terminalName": "Ajman Terminal ", 974 + "countryCode": "AE" 975 + }, 976 + { 977 + "terminalCode": "RKT", 978 + "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b", 979 + "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42", 980 + "terminalName": "Ras Al Khaimah Terminal ", 981 + "countryCode": "AE" 982 + }, 983 + { 984 + "terminalCode": "FJR", 985 + "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222", 986 + "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82", 987 + "terminalName": "Fujairah Terminal ", 988 + "countryCode": "AE" 989 + } 990 + ], 991 + "containsError": false, 992 + "refreshPriceResult": "Success", 993 + "reservationId": "d295362b-1083-4896-86c2-b2935715c5b9", 994 + "reservationDetailsUnavailable": false, 995 + "error": false 996 +} 997 +{{/code}} 433 433 434 434 435 435 === Schema === 436 436 437 437 {{success}} 438 -Calc OnlyHotelPackageResponse{1003 +CalcTourPackageResponse{ 439 439 440 440 |error|boolean 441 441 |errorCode|string ... ... @@ -444,7 +444,9 @@ 444 444 nullable: true 445 445 |userErrorDescription|string 446 446 nullable: true 447 -|package|OnlyHotelPackage{((( 1012 +|package|TourPackage{((( 1013 +|cacheKey|string 1014 +nullable: true 448 448 |id|string 449 449 nullable: true 450 450 |priceCurrency|string ... ... @@ -452,10 +452,11 @@ 452 452 |totalPrice|number($double) 453 453 |agentCommissionPercent|number($double) 454 454 |agentCommissionAmount|number($double) 1022 +|includedExtrasAmount|number($double) 1023 +|priceDifference|number($double) 455 455 |hotel|PackageHotel{((( 456 456 |hotelPriceId|string 457 457 nullable: true 458 -|providerId|integer($int32) 459 459 |hotelName|string 460 460 nullable: true 461 461 |hotelCode|string ... ... @@ -465,6 +465,8 @@ 465 465 nullable: true 466 466 |hotelClass|string 467 467 nullable: true 1036 +|hotelColor|string 1037 +nullable: true 468 468 |availabilityType|RoomAvailabilityTypeEnumstringEnum: 469 469 [ OnRequest, FreeSale, StopSale ] 470 470 |availableRoomsCount|integer($int32) ... ... @@ -498,6 +498,12 @@ 498 498 |hasMetro|boolean 499 499 |hasPool|boolean 500 500 |hasMall|boolean 1071 +|infantMaxAge|number($double) 1072 +|childMinAge|number($double) 1073 +|childMaxAge|number($double) 1074 +|teenMinAge|number($double) 1075 +|teenMaxAge|number($double) 1076 +|adultMinAge|number($double) 501 501 |cancellationPolicyDescription|string 502 502 nullable: true 503 503 |cancellationPolicy|CancellationPolicyExchange{((( ... ... @@ -525,6 +525,8 @@ 525 525 526 526 }] 527 527 ))) 1104 +|dailyPrices|[ 1105 +nullable: truenumber($double)] 528 528 529 529 } 530 530 ))) ... ... @@ -531,6 +531,143 @@ 531 531 532 532 } 533 533 ))) 1112 +|flight|PackageFlight{((( 1113 +|id|string 1114 +nullable: true 1115 +|departureDate|string($date-time) 1116 +|returnDate|string($date-time) 1117 +nullable: true 1118 +|departureTicketsLeft|integer($int32) 1119 +|returnTicketsLeft|integer($int32) 1120 +|departureAvailabilityType|FlightAvailabilityTypestringEnum: 1121 +[ OnRequest, FreeSale, FewPlaces, StopSale ] 1122 +|returnAvailabilityType|FlightAvailabilityTypestringEnum: 1123 +[ OnRequest, FreeSale, FewPlaces, StopSale ] 1124 +|isTwoWay|boolean 1125 +|sameBaggageForAll|boolean 1126 +|totalBaggage|boolean 1127 +|isBlock|boolean 1128 +|class|string 1129 +nullable: true 1130 +|departureSegments|[ 1131 +nullable: trueFlightSegment{((( 1132 +|airlineCode|string 1133 +nullable: true 1134 +|airlineName|string 1135 +nullable: true 1136 +|flightCode|string 1137 +nullable: true 1138 +|class|string 1139 +nullable: true 1140 +|lugageWeight|number($double) 1141 +|handLugageWeight|number($double) 1142 +|departureFlightDate|string($date-time) 1143 +|departureCountryName|string 1144 +nullable: true 1145 +|departureCityName|string 1146 +nullable: true 1147 +|departureAirportCode|string 1148 +nullable: true 1149 +|departureAirportName|string 1150 +nullable: true 1151 +|departureTerminalCode|string 1152 +nullable: true 1153 +|arrivalFlightDate|string($date-time) 1154 +|arrivalCountryName|string 1155 +nullable: true 1156 +|arrivalCityName|string 1157 +nullable: true 1158 +|arrivalAirportCode|string 1159 +nullable: true 1160 +|arrivalAirportName|string 1161 +nullable: true 1162 +|arrivalTerminalCode|string 1163 +nullable: true 1164 +|flightDuration|string 1165 +nullable: true 1166 + 1167 +}] 1168 +))) 1169 +|returnSegments|[ 1170 +nullable: trueFlightSegment{((( 1171 +|airlineCode|string 1172 +nullable: true 1173 +|airlineName|string 1174 +nullable: true 1175 +|flightCode|string 1176 +nullable: true 1177 +|class|string 1178 +nullable: true 1179 +|lugageWeight|number($double) 1180 +|handLugageWeight|number($double) 1181 +|departureFlightDate|string($date-time) 1182 +|departureCountryName|string 1183 +nullable: true 1184 +|departureCityName|string 1185 +nullable: true 1186 +|departureAirportCode|string 1187 +nullable: true 1188 +|departureAirportName|string 1189 +nullable: true 1190 +|departureTerminalCode|string 1191 +nullable: true 1192 +|arrivalFlightDate|string($date-time) 1193 +|arrivalCountryName|string 1194 +nullable: true 1195 +|arrivalCityName|string 1196 +nullable: true 1197 +|arrivalAirportCode|string 1198 +nullable: true 1199 +|arrivalAirportName|string 1200 +nullable: true 1201 +|arrivalTerminalCode|string 1202 +nullable: true 1203 +|flightDuration|string 1204 +nullable: true 1205 + 1206 +}] 1207 +))) 1208 +|passengers|[ 1209 +nullable: trueFlightPassengerOut{((( 1210 +|id|string 1211 +nullable: true 1212 +|isAdult|boolean 1213 +|selectedForwardBaggageCode|string 1214 +nullable: true 1215 +|selectedBackwardBaggageCode|string 1216 +nullable: true 1217 +|forwardBaggages|[ 1218 +nullable: trueBaggage{((( 1219 +|baggageCode|string 1220 +nullable: true 1221 +|description|string 1222 +nullable: true 1223 +|price|number($double) 1224 +|currency|string 1225 +nullable: true 1226 +|included|boolean 1227 + 1228 +}] 1229 +))) 1230 +|backwardBaggages|[ 1231 +nullable: trueBaggage{((( 1232 +|baggageCode|string 1233 +nullable: true 1234 +|description|string 1235 +nullable: true 1236 +|price|number($double) 1237 +|currency|string 1238 +nullable: true 1239 +|included|boolean 1240 + 1241 +}] 1242 +))) 1243 + 1244 +}] 1245 +))) 1246 + 1247 +} 1248 +))) 534 534 |extraServices|[ 535 535 nullable: trueHotelExtraServiceBase{((( 536 536 |extraServiceCode|string ... ... @@ -563,10 +563,326 @@ 563 563 564 564 }] 565 565 ))) 1281 +|insurancePrice|InsurancePrice{((( 1282 +|name|string 1283 +nullable: true 1284 +|price|number($double) 1285 +|actualStartDate|string($date-time) 1286 +|actualEndDate|string($date-time) 1287 +|optional|boolean 1288 +|includedInPackagePrice|boolean 566 566 567 567 } 568 568 ))) 1292 +|sortCheckInOut|string 1293 +nullable: true 1294 +|sortAirline|string 1295 +nullable: true 1296 +|sortHotelName|string 1297 +nullable: true 1298 +|sortDetails|string 1299 +nullable: true 1300 +|sortPlacement|string 1301 +nullable: true 569 569 570 570 } 571 -{{/success}} 1304 +))) 1305 +|altPackages|[ 1306 +nullable: trueTourPackage{((( 1307 +|cacheKey|string 1308 +nullable: true 1309 +|id|string 1310 +nullable: true 1311 +|priceCurrency|string 1312 +nullable: true 1313 +|totalPrice|number($double) 1314 +|agentCommissionPercent|number($double) 1315 +|agentCommissionAmount|number($double) 1316 +|includedExtrasAmount|number($double) 1317 +|priceDifference|number($double) 1318 +|hotel|PackageHotel{((( 1319 +|hotelPriceId|string 1320 +nullable: true 1321 +|hotelName|string 1322 +nullable: true 1323 +|hotelCode|string 1324 +nullable: true 1325 +|nigths|integer($int32) 1326 +|mealPlan|string 1327 +nullable: true 1328 +|hotelClass|string 1329 +nullable: true 1330 +|hotelColor|string 1331 +nullable: true 1332 +|availabilityType|RoomAvailabilityTypeEnumstringEnum: 1333 +[ OnRequest, FreeSale, StopSale ] 1334 +|availableRoomsCount|integer($int32) 1335 +|fewRooms|boolean 1336 +|roomCategoryCode|string 1337 +nullable: true 1338 +|roomCategoryName|string 1339 +nullable: true 1340 +|placementTypeName|string 1341 +nullable: true 1342 +|placementDescription|string 1343 +nullable: true 1344 +|checkInDate|string($date-time) 1345 +|checkOutDate|string($date-time) 1346 +|adults|integer($int32) 1347 +|children|integer($int32) 1348 +|districtUID|string($uuid) 1349 +nullable: true 1350 +|districtName|string 1351 +nullable: true 1352 +|cityUID|string($uuid) 1353 +nullable: true 1354 +|cityName|string 1355 +nullable: true 1356 +|countryCode|string 1357 +nullable: true 1358 +|countryName|string 1359 +nullable: true 1360 +|hasAlcohol|boolean 1361 +|hasFreeWifi|boolean 1362 +|hasMetro|boolean 1363 +|hasPool|boolean 1364 +|hasMall|boolean 1365 +|infantMaxAge|number($double) 1366 +|childMinAge|number($double) 1367 +|childMaxAge|number($double) 1368 +|teenMinAge|number($double) 1369 +|teenMaxAge|number($double) 1370 +|adultMinAge|number($double) 1371 +|cancellationPolicyDescription|string 1372 +nullable: true 1373 +|cancellationPolicy|CancellationPolicyExchange{((( 1374 +|cancellationPolicyCode|string 1375 +nullable: true 1376 +|noShowChargeValue|number($double) 1377 +nullable: true 1378 +|noShowChargeValueType|string 1379 +nullable: true 1380 +|earlyDepartureChargeValue|number($double) 1381 +nullable: true 1382 +|earlyDepartureChargeValueType|string 1383 +nullable: true 1384 +|conditions|[ 1385 +nullable: trueCancellationPolicyConditionExchange{((( 1386 +|timeunits|integer($int32) 1387 +|timeunitType|string 1388 +nullable: true 1389 +|timeOffsetTypeName|string 1390 +nullable: true 1391 +|chargeValue|number($double) 1392 +nullable: true 1393 +|chargeValueType|string 1394 +nullable: true 572 572 1396 +}] 1397 +))) 1398 +|dailyPrices|[ 1399 +nullable: truenumber($double)] 1400 + 1401 +} 1402 +))) 1403 + 1404 +} 1405 +))) 1406 +|flight|PackageFlight{((( 1407 +|id|string 1408 +nullable: true 1409 +|departureDate|string($date-time) 1410 +|returnDate|string($date-time) 1411 +nullable: true 1412 +|departureTicketsLeft|integer($int32) 1413 +|returnTicketsLeft|integer($int32) 1414 +|departureAvailabilityType|FlightAvailabilityTypestringEnum: 1415 +[ OnRequest, FreeSale, FewPlaces, StopSale ] 1416 +|returnAvailabilityType|FlightAvailabilityTypestringEnum: 1417 +[ OnRequest, FreeSale, FewPlaces, StopSale ] 1418 +|isTwoWay|boolean 1419 +|sameBaggageForAll|boolean 1420 +|totalBaggage|boolean 1421 +|isBlock|boolean 1422 +|class|string 1423 +nullable: true 1424 +|departureSegments|[ 1425 +nullable: trueFlightSegment{((( 1426 +|airlineCode|string 1427 +nullable: true 1428 +|airlineName|string 1429 +nullable: true 1430 +|flightCode|string 1431 +nullable: true 1432 +|class|string 1433 +nullable: true 1434 +|lugageWeight|number($double) 1435 +|handLugageWeight|number($double) 1436 +|departureFlightDate|string($date-time) 1437 +|departureCountryName|string 1438 +nullable: true 1439 +|departureCityName|string 1440 +nullable: true 1441 +|departureAirportCode|string 1442 +nullable: true 1443 +|departureAirportName|string 1444 +nullable: true 1445 +|departureTerminalCode|string 1446 +nullable: true 1447 +|arrivalFlightDate|string($date-time) 1448 +|arrivalCountryName|string 1449 +nullable: true 1450 +|arrivalCityName|string 1451 +nullable: true 1452 +|arrivalAirportCode|string 1453 +nullable: true 1454 +|arrivalAirportName|string 1455 +nullable: true 1456 +|arrivalTerminalCode|string 1457 +nullable: true 1458 +|flightDuration|string 1459 +nullable: true 1460 + 1461 +}] 1462 +))) 1463 +|returnSegments|[ 1464 +nullable: trueFlightSegment{((( 1465 +|airlineCode|string 1466 +nullable: true 1467 +|airlineName|string 1468 +nullable: true 1469 +|flightCode|string 1470 +nullable: true 1471 +|class|string 1472 +nullable: true 1473 +|lugageWeight|number($double) 1474 +|handLugageWeight|number($double) 1475 +|departureFlightDate|string($date-time) 1476 +|departureCountryName|string 1477 +nullable: true 1478 +|departureCityName|string 1479 +nullable: true 1480 +|departureAirportCode|string 1481 +nullable: true 1482 +|departureAirportName|string 1483 +nullable: true 1484 +|departureTerminalCode|string 1485 +nullable: true 1486 +|arrivalFlightDate|string($date-time) 1487 +|arrivalCountryName|string 1488 +nullable: true 1489 +|arrivalCityName|string 1490 +nullable: true 1491 +|arrivalAirportCode|string 1492 +nullable: true 1493 +|arrivalAirportName|string 1494 +nullable: true 1495 +|arrivalTerminalCode|string 1496 +nullable: true 1497 +|flightDuration|string 1498 +nullable: true 1499 + 1500 +}] 1501 +))) 1502 +|passengers|[ 1503 +nullable: trueFlightPassengerOut{((( 1504 +|id|string 1505 +nullable: true 1506 +|isAdult|boolean 1507 +|selectedForwardBaggageCode|string 1508 +nullable: true 1509 +|selectedBackwardBaggageCode|string 1510 +nullable: true 1511 +|forwardBaggages|[ 1512 +nullable: trueBaggage{((( 1513 +|baggageCode|string 1514 +nullable: true 1515 +|description|string 1516 +nullable: true 1517 +|price|number($double) 1518 +|currency|string 1519 +nullable: true 1520 +|included|boolean 1521 + 1522 +}] 1523 +))) 1524 +|backwardBaggages|[ 1525 +nullable: trueBaggage{((( 1526 +|baggageCode|string 1527 +nullable: true 1528 +|description|string 1529 +nullable: true 1530 +|price|number($double) 1531 +|currency|string 1532 +nullable: true 1533 +|included|boolean 1534 + 1535 +}] 1536 +))) 1537 + 1538 +}] 1539 +))) 1540 + 1541 +} 1542 +))) 1543 +|extraServices|[ 1544 +nullable: trueHotelExtraServiceBase{((( 1545 +|extraServiceCode|string 1546 +nullable: true 1547 +|extraServiceTypeCode|string 1548 +nullable: true 1549 +|isMandatory|integer($int32) 1550 +|extraServiceName|string 1551 +nullable: true 1552 +|minimalServiceAmount|number($double) 1553 +|includedPriceCode|string 1554 +nullable: true 1555 +|prices|[ 1556 +nullable: trueHotelExtraServicePriceBase{((( 1557 +|extraServicePriceCode|string 1558 +nullable: true 1559 +|displayName|string 1560 +nullable: true 1561 +|restrictionInfo|string 1562 +nullable: true 1563 +|additionalInfo|string 1564 +nullable: true 1565 +|price|number($double) 1566 +|extraPrice|number($double) 1567 +|currency|string 1568 +nullable: true 1569 + 1570 +}] 1571 +))) 1572 + 1573 +}] 1574 +))) 1575 +|insurancePrice|InsurancePrice{((( 1576 +|name|string 1577 +nullable: true 1578 +|price|number($double) 1579 +|actualStartDate|string($date-time) 1580 +|actualEndDate|string($date-time) 1581 +|optional|boolean 1582 +|includedInPackagePrice|boolean 1583 + 1584 +} 1585 +))) 1586 +|sortCheckInOut|string 1587 +nullable: true 1588 +|sortAirline|string 1589 +nullable: true 1590 +|sortHotelName|string 1591 +nullable: true 1592 +|sortDetails|string 1593 +nullable: true 1594 +|sortPlacement|string 1595 +nullable: true 1596 + 1597 +}] 1598 +))) 1599 +|refreshPriceResult|RefreshPriceResultEnumstringEnum: 1600 +[ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ] 1601 + 1602 +} 1603 +{{/success}}