Changes for page 4. CalcCheckout

Last modified by Giorgi Mdivnishvili on 2024/04/11 16:59

From version 4.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:28
Change comment: There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/11 05:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -4. CalcCheckout
1 +CalcCheckout
Content
... ... @@ -8,11 +8,10 @@
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 -
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
15 -[[https:~~/~~/integration.kazunion.com/api/Checkout/CalcCheckout>>https://integration.kazunion.com/api/Checkout/CalcCheckout]]
14 +[[https:~~/~~/integration.kazunion.com/api/TourPackages/CalcPackage>>https://integration.kazunion.com/api/TourPackages/CalcPackage]]
16 16  {{/info}}
17 17  
18 18  
... ... @@ -53,28 +53,19 @@
53 53  
54 54  {{code language="Json"}}
55 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": []
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
78 78  }
79 79  {{/code}}
80 80