Changes for page 6. GetReservationDetails
Last modified by Giorgi Mdivnishvili on 2024/07/11 10:45
From version 3.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:44
on 2024/04/11 06:44
Change comment:
There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:32
on 2024/04/11 06:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,7 +12,7 @@ 12 12 == Endpoint URL - [POST] == 13 13 14 14 {{info}} 15 -[[https:~~/~~/integration.kazunion.com/api/ Reservations/GetReservationDetails>>https://integration.kazunion.com/api/Reservations/GetReservationDetails]]15 +[[https:~~/~~/integration.kazunion.com/api/Checkout/ConfirmCheckout>>https://integration.kazunion.com/api/Checkout/ConfirmCheckout]] 16 16 {{/info}} 17 17 18 18 ... ... @@ -27,7 +27,21 @@ 27 27 == Request Body == 28 28 29 29 {{code language="Json"}} 30 -{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"} 30 +{ 31 + "packageId": "string", 32 + "extraServicePriceCodes": [ 33 + "string" 34 + ], 35 + "flightPassengers": [ 36 + { 37 + "id": "string", 38 + "selectedForwardBaggageCode": "string", 39 + "selectedBackwardBaggageCode": "string" 40 + } 41 + ], 42 + "includeInsurance": true, 43 + "refreshPrices": true 44 +} 31 31 {{/code}} 32 32 33 33 (% class="wikigeneratedid" id="HRequestBodyexample" %) ... ... @@ -38,7 +38,30 @@ 38 38 == Request Body example == 39 39 40 40 {{code language="Json"}} 41 -{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"} 55 +{ 56 + "calcTourPackageRequests": [ 57 + { 58 + "refreshPrices": true, 59 + "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d", 60 + "flightPassengers": [ 61 + { 62 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1", 63 + "selectedForwardBaggageCode": "INCLUDED", 64 + "selectedBackwardBaggageCode": "INCLUDED" 65 + }, 66 + { 67 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2", 68 + "selectedForwardBaggageCode": "INCLUDED", 69 + "selectedBackwardBaggageCode": "INCLUDED" 70 + } 71 + ], 72 + "extraServicePriceCodes": [], 73 + "includeInsurance": true 74 + } 75 + ], 76 + "calcOnlyHotelPackageRequests": [], 77 + "calcOnlyAviaPackageRequests": [] 78 +} 42 42 {{/code}} 43 43 44 44 ... ... @@ -405,187 +405,346 @@ 405 405 406 406 {{code language="Json"}} 407 407 { 408 - "reservation": { 409 - "id": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d", 410 - "rfNumber": "314303 / 104429", 411 - "contactNumber": "teeeest, for testing purpose !, Contact Number: 597101803", 412 - "agentName": "Mr. Giorgi Mdivnishvili", 413 - "totalPrice": 782, 414 - "agentCommission": 0, 415 - "currency": "USD", 416 - "tourists": [ 417 - { 418 - "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 419 - "gender": "Male", 420 - "ageCategory": "Adult", 421 - "firstName": "Teeeeest", 422 - "lastName": "Teest", 423 - "birthDate": "1990-09-23T00:00:00.000", 424 - "passportNumber": "1231233", 425 - "passportExpiryDate": "2029-12-23T00:00:00.000", 426 - "citizenshipCountryCode": "GE", 427 - "citizenshipCountryName": "Georgia", 428 - "arrivalDate": "2024-05-17T07:10:00.000", 429 - "arrivalFlightNumber": "FZ1722", 430 - "arrivalTerminalCode": "DXB3", 431 - "returnDate": "2024-05-21T21:25:00.000", 432 - "returnFlightNumber": "FZ1721", 433 - "returnTerminalCode": "DXB3", 434 - "showReturn": true 435 - }, 436 - { 437 - "id": "27977a19-045e-4990-95a8-fbd7d49083de", 438 - "gender": "Male", 439 - "ageCategory": "Adult", 440 - "firstName": "Test", 441 - "lastName": "Teeeest", 442 - "birthDate": "1990-09-23T00:00:00.000", 443 - "passportNumber": "123123", 444 - "passportExpiryDate": "2029-12-23T00:00:00.000", 445 - "citizenshipCountryCode": "GE", 446 - "citizenshipCountryName": "Georgia", 447 - "arrivalDate": "2024-05-17T07:10:00.000", 448 - "arrivalFlightNumber": "FZ1722", 449 - "arrivalTerminalCode": "DXB3", 450 - "returnDate": "2024-05-21T21:25:00.000", 451 - "returnFlightNumber": "FZ1721", 452 - "returnTerminalCode": "DXB3", 453 - "showReturn": true 445 + "package": { 446 + "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57", 447 + "priceCurrency": "USD", 448 + "totalPrice": 937.16, 449 + "agentCommissionPercent": 0.00, 450 + "agentCommissionAmount": 0.00, 451 + "includedExtrasAmount": 0, 452 + "priceDifference": 0, 453 + "hotel": { 454 + "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f", 455 + "providerId": 13, 456 + "hotelName": "Mercure Dubai Barsha Heights Suites Apartments", 457 + "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14", 458 + "nigths": 2, 459 + "mealPlan": "BB", 460 + "hotelClass": "4", 461 + "availabilityType": "StopSale", 462 + "availableRoomsCount": 0, 463 + "fewRooms": true, 464 + "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4", 465 + "roomCategoryName": "1 B/R Apartment City View", 466 + "placementTypeName": "SNGL + CHILD(2-5.99)sharing", 467 + "checkInDate": "2024-02-15T20:00:00.000Z", 468 + "checkOutDate": "2024-02-17T20:00:00.000Z", 469 + "adults": 1, 470 + "children": 1, 471 + "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e", 472 + "districtName": "Al Barsha", 473 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 474 + "cityName": "Dubai", 475 + "countryCode": "AE", 476 + "countryName": "United Arab Emirates", 477 + "hasAlcohol": false, 478 + "hasFreeWifi": true, 479 + "hasMetro": true, 480 + "hasPool": true, 481 + "hasMall": false, 482 + "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %", 483 + "cancellationPolicy": { 484 + "noShowChargeValue": 100.00, 485 + "noShowChargeValueType": "%", 486 + "earlyDepartureChargeValue": 100.00, 487 + "earlyDepartureChargeValueType": "%", 488 + "conditions": [ 489 + { 490 + "timeunits": 5, 491 + "timeunitType": "Day", 492 + "timeOffsetTypeName": "Before Arrival", 493 + "chargeValue": 100.00, 494 + "chargeValueType": "%" 495 + } 496 + ] 454 454 } 455 - ], 456 - "hotels": [ 457 - { 458 - "id": "b768a900-bfc5-4dc4-958a-47a3bf92b6f8", 459 - "hotelName": "Ibis Al Rigga", 498 + }, 499 + "flight": { 500 + "id": "0c299240-6fc6-4f79-ba99-3548f2de3f57", 501 + "departureDate": "2024-02-15T20:00:00.000Z", 502 + "returnDate": "2024-02-17T20:00:00.000Z", 503 + "departureTicketsLeft": 7, 504 + "returnTicketsLeft": 7, 505 + "departureAvailabilityType": "FewPlaces", 506 + "returnAvailabilityType": "FewPlaces", 507 + "isTwoWay": true, 508 + "sameBaggageForAll": false, 509 + "totalBaggage": true, 510 + "departureSegments": [ 511 + { 512 + "airlineCode": "KC", 513 + "airlineName": "Air Astana-", 514 + "flightCode": "KC899", 515 + "class": "econom", 516 + "lugageWeight": 20, 517 + "handLugageWeight": 6, 518 + "departureFlightDate": "2024-02-15T20:00:00.000Z", 519 + "departureCountryName": "Kazakhstan", 520 + "departureCityName": "Almaty", 521 + "departureAirportCode": "ALA", 522 + "departureAirportName": "Almaty Intl Airport", 523 + "departureTerminalCode": "ALA", 524 + "arrivalFlightDate": "2024-02-15T20:00:00.000Z", 525 + "arrivalCountryName": "United Arab Emirates", 526 + "arrivalCityName": "Dubai", 527 + "arrivalAirportCode": "DXB", 528 + "arrivalAirportName": "Dubai Intl Airport", 529 + "arrivalTerminalCode": "DXB1", 530 + "flightDuration": "0h 50m" 531 + } 532 + ], 533 + "returnSegments": [ 534 + { 535 + "airlineCode": "KC", 536 + "airlineName": "Air Astana-", 537 + "flightCode": "KC900", 538 + "class": "econom", 539 + "lugageWeight": 20, 540 + "handLugageWeight": 6, 541 + "departureFlightDate": "2024-02-17T20:00:00.000Z", 542 + "departureCountryName": "United Arab Emirates", 543 + "departureCityName": "Dubai", 544 + "departureAirportCode": "DXB", 545 + "departureAirportName": "Dubai Intl Airport", 546 + "departureTerminalCode": "DXB1", 547 + "arrivalFlightDate": "2024-02-17T20:00:00.000Z", 548 + "arrivalCountryName": "Kazakhstan", 549 + "arrivalCityName": "Almaty", 550 + "arrivalAirportCode": "ALA", 551 + "arrivalAirportName": "Almaty Intl Airport", 552 + "arrivalTerminalCode": "ALA", 553 + "flightDuration": "8h 15m" 554 + } 555 + ], 556 + "passengers": [ 557 + { 558 + "id": "42779531011000004-A1", 559 + "isAdult": true, 560 + "forwardBaggages": [ 561 + { 562 + "baggageCode": "TOTAL_BAGGAGE", 563 + "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS", 564 + "price": 45.00, 565 + "currency": "USD", 566 + "included": false 567 + } 568 + ], 569 + "backwardBaggages": [ 570 + { 571 + "baggageCode": "INCLUDED_IN_FORWARD", 572 + "price": 0, 573 + "included": false 574 + } 575 + ] 576 + }, 577 + { 578 + "id": "42779531011000004-C1", 579 + "isAdult": false, 580 + "forwardBaggages": [ 581 + { 582 + "baggageCode": "TOTAL_BAGGAGE", 583 + "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS", 584 + "price": 45.00, 585 + "currency": "USD", 586 + "included": false 587 + } 588 + ], 589 + "backwardBaggages": [ 590 + { 591 + "baggageCode": "INCLUDED_IN_FORWARD", 592 + "price": 0, 593 + "included": false 594 + } 595 + ] 596 + } 597 + ] 598 + }, 599 + "extraServices": [], 600 + "insurancePrice": { 601 + "name": "Medical INS (N10000)", 602 + "price": 13.44, 603 + "priceSurcarge": 0.00, 604 + "actualStartDate": "2024-02-15T20:00:00.000Z", 605 + "actualEndDate": "2024-02-17T20:00:00.000Z", 606 + "optional": false, 607 + "includedInPackagePrice": true 608 + } 609 + }, 610 + "altPackages": [ 611 + { 612 + "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:63d79c94-1e19-443f-8a17-50e59e633ea8", 613 + "priceCurrency": "USD", 614 + "totalPrice": 968.40, 615 + "agentCommissionPercent": 0.00, 616 + "agentCommissionAmount": 0.00, 617 + "includedExtrasAmount": 0, 618 + "priceDifference": 31.24, 619 + "hotel": { 620 + "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f", 621 + "providerId": 13, 622 + "hotelName": "Mercure Dubai Barsha Heights Suites Apartments", 623 + "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14", 624 + "nigths": 2, 625 + "mealPlan": "BB", 626 + "hotelClass": "4", 627 + "availabilityType": "StopSale", 628 + "availableRoomsCount": 0, 629 + "fewRooms": true, 630 + "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4", 631 + "roomCategoryName": "1 B/R Apartment City View", 632 + "placementTypeName": "SNGL + CHILD(2-5.99)sharing", 633 + "checkInDate": "2024-02-15T20:00:00.000Z", 634 + "checkOutDate": "2024-02-17T20:00:00.000Z", 635 + "adults": 1, 636 + "children": 1, 637 + "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e", 638 + "districtName": "Al Barsha", 639 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 460 460 "cityName": "Dubai", 461 - "hotelClass": "3", 462 - "checkInDate": "2024-05-17T00:00:00.000", 463 - "checkOutDate": "2024-05-21T00:00:00.000", 464 - "roomCategoryName": "Standard room with 1 double bed", 465 - "placementName": "DBL", 466 - "mealPlan": "RO" 467 - } 468 - ], 469 - "flights": [ 470 - { 471 - "id": "5720af80-17de-4913-94c5-2e019c9fbb9c", 472 - "isArrival": true, 473 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 474 - "touristName": "Teeeeest Teest", 475 - "date": "2024-05-17T07:10:00.000", 476 - "departureAirport": "ALA", 477 - "departureTerminal": "ALA", 478 - "arrivalAirport": "DXB", 479 - "arrivalTerminal": "DXB3", 480 - "note": "Kazunion Block, Baggage Info: 20 Kg Included" 641 + "countryCode": "AE", 642 + "countryName": "United Arab Emirates", 643 + "hasAlcohol": false, 644 + "hasFreeWifi": true, 645 + "hasMetro": true, 646 + "hasPool": true, 647 + "hasMall": false, 648 + "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %", 649 + "cancellationPolicy": { 650 + "noShowChargeValue": 100.00, 651 + "noShowChargeValueType": "%", 652 + "earlyDepartureChargeValue": 100.00, 653 + "earlyDepartureChargeValueType": "%", 654 + "conditions": [ 655 + { 656 + "timeunits": 5, 657 + "timeunitType": "Day", 658 + "timeOffsetTypeName": "Before Arrival", 659 + "chargeValue": 100.00, 660 + "chargeValueType": "%" 661 + } 662 + ] 663 + } 481 481 }, 482 - { 483 - "id": "81fce7ff-b359-46ea-ae66-1c41af7c347a", 484 - "isArrival": false, 485 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 486 - "touristName": "Teeeeest Teest", 487 - "date": "2024-05-21T21:25:00.000", 488 - "departureAirport": "DXB", 489 - "departureTerminal": "DXB3", 490 - "arrivalAirport": "ALA", 491 - "arrivalTerminal": "ALA", 492 - "note": "Kazunion Block, Baggage Info: 20 Kg Included" 665 + "flight": { 666 + "id": "63d79c94-1e19-443f-8a17-50e59e633ea8", 667 + "departureDate": "2024-02-15T20:00:00.000Z", 668 + "returnDate": "2024-02-17T20:00:00.000Z", 669 + "departureTicketsLeft": 50, 670 + "returnTicketsLeft": 50, 671 + "departureAvailabilityType": "FewPlaces", 672 + "returnAvailabilityType": "FewPlaces", 673 + "isTwoWay": true, 674 + "sameBaggageForAll": false, 675 + "totalBaggage": false, 676 + "departureSegments": [ 677 + { 678 + "airlineCode": "FZ", 679 + "airlineName": "Fly Dubai.", 680 + "flightCode": "FZ1722", 681 + "class": "econom", 682 + "lugageWeight": 20, 683 + "handLugageWeight": 6, 684 + "departureFlightDate": "2024-02-15T20:00:00.000Z", 685 + "departureCountryName": "Kazakhstan", 686 + "departureCityName": "Almaty", 687 + "departureAirportCode": "ALA", 688 + "departureAirportName": "Almaty Intl Airport", 689 + "departureTerminalCode": "ALA", 690 + "arrivalFlightDate": "2024-02-15T20:00:00.000Z", 691 + "arrivalCountryName": "United Arab Emirates", 692 + "arrivalCityName": "Dubai", 693 + "arrivalAirportCode": "DXB", 694 + "arrivalAirportName": "Dubai Intl Airport", 695 + "arrivalTerminalCode": "DXB3", 696 + "flightDuration": "0h 55m" 697 + } 698 + ], 699 + "returnSegments": [ 700 + { 701 + "airlineCode": "FZ", 702 + "airlineName": "Fly Dubai.", 703 + "flightCode": "FZ1721", 704 + "class": "econom", 705 + "lugageWeight": 20, 706 + "handLugageWeight": 6, 707 + "departureFlightDate": "2024-02-17T20:00:00.000Z", 708 + "departureCountryName": "United Arab Emirates", 709 + "departureCityName": "Dubai", 710 + "departureAirportCode": "DXB", 711 + "departureAirportName": "Dubai Intl Airport", 712 + "departureTerminalCode": "DXB3", 713 + "arrivalFlightDate": "2024-02-18T20:00:00.000Z", 714 + "arrivalCountryName": "Kazakhstan", 715 + "arrivalCityName": "Almaty", 716 + "arrivalAirportCode": "ALA", 717 + "arrivalAirportName": "Almaty Intl Airport", 718 + "arrivalTerminalCode": "DXB3", 719 + "flightDuration": "8h 10m" 720 + } 721 + ], 722 + "passengers": [ 723 + { 724 + "id": "42779547001000004-A1", 725 + "isAdult": true, 726 + "selectedForwardBaggageCode": "INCLUDED", 727 + "selectedBackwardBaggageCode": "INCLUDED", 728 + "forwardBaggages": [ 729 + { 730 + "baggageCode": "INCLUDED", 731 + "description": "20 KG INCLUDED", 732 + "price": 0.0, 733 + "currency": "USD", 734 + "included": true 735 + } 736 + ], 737 + "backwardBaggages": [ 738 + { 739 + "baggageCode": "INCLUDED", 740 + "description": "20 KG INCLUDED", 741 + "price": 0.0, 742 + "currency": "USD", 743 + "included": true 744 + } 745 + ] 746 + }, 747 + { 748 + "id": "42779547001000004-C1", 749 + "isAdult": false, 750 + "selectedForwardBaggageCode": "INCLUDED", 751 + "selectedBackwardBaggageCode": "INCLUDED", 752 + "forwardBaggages": [ 753 + { 754 + "baggageCode": "INCLUDED", 755 + "description": "20 KG INCLUDED", 756 + "price": 0.0, 757 + "currency": "USD", 758 + "included": true 759 + } 760 + ], 761 + "backwardBaggages": [ 762 + { 763 + "baggageCode": "INCLUDED", 764 + "description": "20 KG INCLUDED", 765 + "price": 0.0, 766 + "currency": "USD", 767 + "included": true 768 + } 769 + ] 770 + } 771 + ] 493 493 }, 494 - { 495 - "id": "215d3de6-8969-4265-97bd-3d716a0d4415", 496 - "isArrival": true, 497 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 498 - "touristName": "Test Teeeest", 499 - "date": "2024-05-17T07:10:00.000", 500 - "departureAirport": "ALA", 501 - "departureTerminal": "ALA", 502 - "arrivalAirport": "DXB", 503 - "arrivalTerminal": "DXB3", 504 - "note": "Kazunion Block, Baggage Info: 20 Kg Included" 505 - }, 506 - { 507 - "id": "8c6b26b3-5bb2-4fb9-b89c-2568b1f74b64", 508 - "isArrival": false, 509 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 510 - "touristName": "Test Teeeest", 511 - "date": "2024-05-21T21:25:00.000", 512 - "departureAirport": "DXB", 513 - "departureTerminal": "DXB3", 514 - "arrivalAirport": "ALA", 515 - "arrivalTerminal": "ALA", 516 - "note": "Kazunion Block, Baggage Info: 20 Kg Included" 773 + "extraServices": [], 774 + "insurancePrice": { 775 + "name": "Medical INS (N10000)", 776 + "price": 13.44, 777 + "priceSurcarge": 0.00, 778 + "actualStartDate": "2024-02-15T20:00:00.000Z", 779 + "actualEndDate": "2024-02-17T20:00:00.000Z", 780 + "optional": false, 781 + "includedInPackagePrice": true 517 517 } 518 - ], 519 - "transfers": [ 520 - { 521 - "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0", 522 - "transferType": "ARRIVAL", 523 - "vehicleName": "GROUP", 524 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 525 - "touristName": "Teeeeest Teest", 526 - "date": "2024-05-17T00:00:00.000", 527 - "fromTerminal": "DXB", 528 - "fromCityName": "Dubai", 529 - "toHotelName": "Ibis Al Rigga", 530 - "toCityName": "Dubai", 531 - "note": "teeeest, for testing purpose !, Contact Number: 597101803" 532 - }, 533 - { 534 - "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32", 535 - "transferType": "DEPARTURE", 536 - "vehicleName": "GROUP", 537 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 538 - "touristName": "Teeeeest Teest", 539 - "date": "2024-05-21T00:00:00.000", 540 - "fromCityName": "Dubai", 541 - "fromHotelName": "Ibis Al Rigga", 542 - "toTerminal": "DXB", 543 - "toCityName": "Dubai" 544 - }, 545 - { 546 - "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0", 547 - "transferType": "ARRIVAL", 548 - "vehicleName": "GROUP", 549 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 550 - "touristName": "Test Teeeest", 551 - "date": "2024-05-17T00:00:00.000", 552 - "fromTerminal": "DXB", 553 - "fromCityName": "Dubai", 554 - "toHotelName": "Ibis Al Rigga", 555 - "toCityName": "Dubai", 556 - "note": "teeeest, for testing purpose !, Contact Number: 597101803" 557 - }, 558 - { 559 - "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32", 560 - "transferType": "DEPARTURE", 561 - "vehicleName": "GROUP", 562 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 563 - "touristName": "Test Teeeest", 564 - "date": "2024-05-21T00:00:00.000", 565 - "fromCityName": "Dubai", 566 - "fromHotelName": "Ibis Al Rigga", 567 - "toTerminal": "DXB", 568 - "toCityName": "Dubai" 569 - } 570 - ], 571 - "services": [ 572 - { 573 - "id": "4c5d1e9c-2b87-4ec8-9bd8-96a270419322", 574 - "serviceDate": "2024-05-17T07:10:00.000", 575 - "serviceName": "Insurance", 576 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 577 - "touristName": "Test Teeeest" 578 - }, 579 - { 580 - "id": "1e1ad6a2-ee59-4c8c-868c-34a25343e7ca", 581 - "serviceDate": "2024-05-17T07:10:00.000", 582 - "serviceName": "Insurance", 583 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 584 - "touristName": "Teeeeest Teest" 585 - } 586 - ] 587 - } 588 -} 783 + }, 784 + { 589 589 {{/code}} 590 590 591 591 ... ... @@ -592,153 +592,131 @@ 592 592 === Schema === 593 593 594 594 {{success}} 595 - GetReservationDetailsResponse{791 +CalcOnlyHotelPackageResponse{ 596 596 597 -|reservation|ReservationDetails{((( 598 -|id|string($uuid) 599 -|rfNumber|string 793 +|error|boolean 794 +|errorCode|string 600 600 nullable: true 601 -| contactNumber|string796 +|errorDescription|string 602 602 nullable: true 603 -| agentName|string798 +|userErrorDescription|string 604 604 nullable: true 605 -|totalPrice|number($double) 606 -|agentCommission|number($double) 607 -|netPrice|number($double) 800 +|package|OnlyHotelPackage{((( 801 +|id|string 608 608 nullable: true 609 -|currency|string 803 +|priceCurrency|string 610 610 nullable: true 611 -|tourists|[ 612 -nullable: trueResDetailsTourist{((( 613 -|id|string($uuid) 614 -|gender|GenderEnumstringEnum: 615 -[ None, Male, Female ] 616 -|ageCategory|AgeCategorystringEnum: 617 -[ Adult, Infant, Child ] 618 -|firstName|string 805 +|totalPrice|number($double) 806 +|agentCommissionPercent|number($double) 807 +|agentCommissionAmount|number($double) 808 +|hotel|PackageHotel{((( 809 +|hotelPriceId|string 619 619 nullable: true 620 -|lastName|string 811 +|providerId|integer($int32) 812 +|hotelName|string 621 621 nullable: true 622 -| birthDate|string($date-time)814 +|hotelCode|string 623 623 nullable: true 624 -|passportNumber|string 816 +|nigths|integer($int32) 817 +|mealPlan|string 625 625 nullable: true 626 -| passportExpiryDate|string($date-time)819 +|hotelClass|string 627 627 nullable: true 628 -|tin|string 821 +|availabilityType|RoomAvailabilityTypeEnumstringEnum: 822 +[ OnRequest, FreeSale, StopSale ] 823 +|availableRoomsCount|integer($int32) 824 +|fewRooms|boolean 825 +|roomCategoryCode|string 629 629 nullable: true 630 -| citizenshipCountryCode|string827 +|roomCategoryName|string 631 631 nullable: true 632 -|c itizenshipCountryName|string829 +|placementTypeName|string 633 633 nullable: true 634 -| mobile|string831 +|placementDescription|string 635 635 nullable: true 636 -|email|string 833 +|checkInDate|string($date-time) 834 +|checkOutDate|string($date-time) 835 +|adults|integer($int32) 836 +|children|integer($int32) 837 +|districtUID|string($uuid) 637 637 nullable: true 638 -| arrivalDate|string($date-time)839 +|districtName|string 639 639 nullable: true 640 -| arrivalFlightNumber|string841 +|cityUID|string($uuid) 641 641 nullable: true 642 -|arrivalTerminalCode|string 643 -nullable: true 644 -|returnDate|string($date-time) 645 -nullable: true 646 -|returnFlightNumber|string 647 -nullable: true 648 -|returnTerminalCode|string 649 -nullable: true 650 -|showReturn|boolean 651 - 652 -}] 653 -))) 654 -|hotels|[ 655 -nullable: trueResDetailsHotel{((( 656 -|id|string($uuid) 657 -|hotelName|string 658 -nullable: true 659 659 |cityName|string 660 660 nullable: true 661 -| hotelClass|string845 +|countryCode|string 662 662 nullable: true 663 -|checkInDate|string($date-time) 664 -|checkOutDate|string($date-time) 665 -|roomCategoryName|string 847 +|countryName|string 666 666 nullable: true 667 -|placementName|string 849 +|hasAlcohol|boolean 850 +|hasFreeWifi|boolean 851 +|hasMetro|boolean 852 +|hasPool|boolean 853 +|hasMall|boolean 854 +|cancellationPolicyDescription|string 668 668 nullable: true 669 -|mealPlan|string 856 +|cancellationPolicy|CancellationPolicyExchange{((( 857 +|cancellationPolicyCode|string 670 670 nullable: true 671 -| agentConfirmationNumber|string859 +|noShowChargeValue|number($double) 672 672 nullable: true 673 - 674 -}] 675 -))) 676 -|flights|[ 677 -nullable: trueResDetailsFlight{((( 678 -|id|string($uuid) 679 -|isArrival|boolean 680 -|touristId|string($uuid) 681 -|touristName|string 861 +|noShowChargeValueType|string 682 682 nullable: true 683 -|date|string($date-time) 684 -|departureAirport|string 863 +|earlyDepartureChargeValue|number($double) 685 685 nullable: true 686 -| departureTerminal|string865 +|earlyDepartureChargeValueType|string 687 687 nullable: true 688 -|arrivalAirport|string 867 +|conditions|[ 868 +nullable: trueCancellationPolicyConditionExchange{((( 869 +|timeunits|integer($int32) 870 +|timeunitType|string 689 689 nullable: true 690 -| arrivalTerminal|string872 +|timeOffsetTypeName|string 691 691 nullable: true 692 -|age ntConfirmationNumber|string874 +|chargeValue|number($double) 693 693 nullable: true 694 -| bookingConfirmationNumber|string876 +|chargeValueType|string 695 695 nullable: true 696 -|note|string 697 -nullable: true 698 698 699 699 }] 700 700 ))) 701 -|transfers|[ 702 -nullable: trueResDetailsTransfer{((( 703 -|id|string($uuid) 704 -|transferType|string 881 + 882 +} 883 +))) 884 + 885 +} 886 +))) 887 +|extraServices|[ 888 +nullable: trueHotelExtraServiceBase{((( 889 +|extraServiceCode|string 705 705 nullable: true 706 -| vehicleName|string891 +|extraServiceTypeCode|string 707 707 nullable: true 708 -| touristId|string($uuid)709 -|t ouristName|string893 +|isMandatory|integer($int32) 894 +|extraServiceName|string 710 710 nullable: true 711 -| date|string($date-time)712 -| fromTerminal|string896 +|minimalServiceAmount|number($double) 897 +|includedPriceCode|string 713 713 nullable: true 714 -|fromCityName|string 899 +|prices|[ 900 +nullable: trueHotelExtraServicePriceBase{((( 901 +|extraServicePriceCode|string 715 715 nullable: true 716 -| fromHotelName|string903 +|displayName|string 717 717 nullable: true 718 -|to HotelName|string905 +|restrictionInfo|string 719 719 nullable: true 720 -|t oTerminal|string907 +|additionalInfo|string 721 721 nullable: true 722 -|toCityName|string 909 +|price|number($double) 910 +|extraPrice|number($double) 911 +|currency|string 723 723 nullable: true 724 -|agentConfirmationNumber|string 725 -nullable: true 726 -|note|string 727 -nullable: true 728 728 729 729 }] 730 730 ))) 731 -|services|[ 732 -nullable: trueResDetailsService{((( 733 -|id|string($uuid) 734 -|serviceDate|string($date-time) 735 -|serviceName|string 736 -nullable: true 737 -|touristId|string($uuid) 738 -|touristName|string 739 -nullable: true 740 -|note|string 741 -nullable: true 742 742 743 743 }] 744 744 )))