Changes for page 4. CalcCheckout
Last modified by Giorgi Mdivnishvili on 2024/04/11 16:59
From version 3.1
edited by Giorgi Mdivnishvili
on 2024/04/11 05:00
on 2024/04/11 05:00
Change comment:
There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:28
on 2024/04/11 06:28
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,10 +8,11 @@ 8 8 9 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 + 11 11 == Endpoint URL - [POST] == 12 12 13 13 {{info}} 14 -[[https:~~/~~/integration.kazunion.com/api/ TourPackages/CalcPackage>>https://integration.kazunion.com/api/TourPackages/CalcPackage]]15 +[[https:~~/~~/integration.kazunion.com/api/Checkout/CalcCheckout>>https://integration.kazunion.com/api/Checkout/CalcCheckout]] 15 15 {{/info}} 16 16 17 17 ... ... @@ -52,19 +52,28 @@ 52 52 53 53 {{code language="Json"}} 54 54 { 55 - "packageId": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57", 56 - "extraServicePriceCodes": [ 57 - 58 - ], 59 - "flightPassengers": [ 60 - { 61 - "id": "42779531011000004-A1", 62 - "selectedForwardBaggageCode": "", 63 - "selectedBackwardBaggageCode": "" 64 - } 65 - ], 66 - "includeInsurance": true, 67 - "refreshPrices": true 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": [] 68 68 } 69 69 {{/code}} 70 70