Changes for page 3. CalcPackage

Last modified by Giorgi Mdivnishvili on 2024/04/11 17:03

From version 3.1
edited by Giorgi Mdivnishvili
on 2023/12/18 18:10
Change comment: There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2023/12/18 18:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -27,12 +27,11 @@
27 27  == Request Body ==
28 28  
29 29  {{code language="Json"}}
30 -{
30 +none{
31 31   "packageId": "string",
32 32   "extraServicePriceCodes": [
33 33   "string"
34 - ],
35 - "includeInsurance": true
34 + ]
36 36  }
37 37  {{/code}}
38 38  
... ... @@ -62,8 +62,6 @@
62 62   "totalPrice": 0,
63 63   "agentCommissionPercent": 0,
64 64   "agentCommissionAmount": 0,
65 - "includedExtrasAmount": 0,
66 - "priceDifference": 0,
67 67   "hotel": {
68 68   "hotelPriceId": "string",
69 69   "providerId": 0,
... ... @@ -79,8 +79,8 @@
79 79   "roomCategoryName": "string",
80 80   "placementTypeName": "string",
81 81   "placementDescription": "string",
82 - "checkInDate": "2023-12-18T14:09:48.103Z",
83 - "checkOutDate": "2023-12-18T14:09:48.103Z",
79 + "checkInDate": "2023-12-14T08:49:36.703Z",
80 + "checkOutDate": "2023-12-14T08:49:36.703Z",
84 84   "adults": 0,
85 85   "children": 0,
86 86   "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
... ... @@ -112,80 +112,6 @@
112 112   ]
113 113   }
114 114   },
115 - "flight": {
116 - "id": "string",
117 - "departureDate": "2023-12-18T14:09:48.103Z",
118 - "returnDate": "2023-12-18T14:09:48.103Z",
119 - "departureTicketsLeft": 0,
120 - "returnTicketsLeft": 0,
121 - "departureAvailabilityType": "OnRequest",
122 - "returnAvailabilityType": "OnRequest",
123 - "isTwoWay": true,
124 - "departureSegments": [
125 - {
126 - "airlineCode": "string",
127 - "airlineName": "string",
128 - "flightCode": "string",
129 - "class": "string",
130 - "lugageWeight": 0,
131 - "handLugageWeight": 0,
132 - "departureFlightDate": "2023-12-18T14:09:48.103Z",
133 - "departureCountryName": "string",
134 - "departureCityName": "string",
135 - "departureAirportCode": "string",
136 - "departureAirportName": "string",
137 - "departureTerminalCode": "string",
138 - "arrivalFlightDate": "2023-12-18T14:09:48.103Z",
139 - "arrivalCountryName": "string",
140 - "arrivalCityName": "string",
141 - "arrivalAirportCode": "string",
142 - "arrivalAirportName": "string",
143 - "arrivalTerminalCode": "string",
144 - "flightDuration": "string",
145 - "baggages": [
146 - {
147 - "baggageCode": "string",
148 - "description": "string",
149 - "price": 0,
150 - "currency": "string",
151 - "included": true
152 - }
153 - ]
154 - }
155 - ],
156 - "returnSegments": [
157 - {
158 - "airlineCode": "string",
159 - "airlineName": "string",
160 - "flightCode": "string",
161 - "class": "string",
162 - "lugageWeight": 0,
163 - "handLugageWeight": 0,
164 - "departureFlightDate": "2023-12-18T14:09:48.103Z",
165 - "departureCountryName": "string",
166 - "departureCityName": "string",
167 - "departureAirportCode": "string",
168 - "departureAirportName": "string",
169 - "departureTerminalCode": "string",
170 - "arrivalFlightDate": "2023-12-18T14:09:48.103Z",
171 - "arrivalCountryName": "string",
172 - "arrivalCityName": "string",
173 - "arrivalAirportCode": "string",
174 - "arrivalAirportName": "string",
175 - "arrivalTerminalCode": "string",
176 - "flightDuration": "string",
177 - "baggages": [
178 - {
179 - "baggageCode": "string",
180 - "description": "string",
181 - "price": 0,
182 - "currency": "string",
183 - "included": true
184 - }
185 - ]
186 - }
187 - ]
188 - },
189 189   "extraServices": [
190 190   {
191 191   "extraServiceCode": "string",
... ... @@ -206,17 +206,7 @@
206 206   }
207 207   ]
208 208   }
209 - ],
210 - "insurancePrice": {
211 - "name": "string",
212 - "price": 0,
213 - "priceSurcarge": 0,
214 - "actualStartDate": "2023-12-18T14:09:48.103Z",
215 - "actualEndDate": "2023-12-18T14:09:48.103Z",
216 - "optional": true,
217 - "includedInPackagePrice": true
218 - },
219 - "cacheKey": "string"
132 + ]
220 220   }
221 221  }
222 222  {{/code}}
... ... @@ -224,7 +224,65 @@
224 224  
225 225  === Response example ===
226 226  
227 -{{code language="Json"}}{{/code}}
140 +{{code language="Json"}}
141 +{
142 + "package": {
143 + "id": "onlyhotel:c4e23e7e-3d54-4efa-a3db-88508230ce91:504f63ca-6dd5-4d84-8245-cf7e77ccff73",
144 + "priceCurrency": "USD",
145 + "totalPrice": 381.70,
146 + "agentCommissionPercent": 0.00,
147 + "agentCommissionAmount": 0.00,
148 + "hotel": {
149 + "hotelPriceId": "504f63ca-6dd5-4d84-8245-cf7e77ccff73",
150 + "providerId": 13,
151 + "hotelName": "Golden Tulip Al Barsha Hotel",
152 + "hotelCode": "ed0820c5-29b0-4e1b-8bcf-9f3c181e7961",
153 + "nigths": 4,
154 + "mealPlan": "RO",
155 + "hotelClass": "4",
156 + "availabilityType": "FreeSale",
157 + "availableRoomsCount": 0,
158 + "fewRooms": true,
159 + "roomCategoryCode": "e63ea5ac-4883-4059-bb0a-795a534bbbfb",
160 + "roomCategoryName": "Superior Twin",
161 + "placementTypeName": "SNGL + CHILD(6-11.99)sharing",
162 + "checkInDate": "2024-02-17T08:00:00.000Z",
163 + "checkOutDate": "2024-02-21T08:00:00.000Z",
164 + "adults": 1,
165 + "children": 1,
166 + "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e",
167 + "districtName": "Al Barsha",
168 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
169 + "cityName": "Dubai",
170 + "countryCode": "AE",
171 + "countryName": "United Arab Emirates",
172 + "hasAlcohol": true,
173 + "hasFreeWifi": true,
174 + "hasMetro": false,
175 + "hasPool": true,
176 + "hasMall": false,
177 + "cancellationPolicyDescription": "Cancellation Policy: 15 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %",
178 + "cancellationPolicy": {
179 + "noShowChargeValue": 100.00,
180 + "noShowChargeValueType": "%",
181 + "earlyDepartureChargeValue": 100.00,
182 + "earlyDepartureChargeValueType": "%",
183 + "conditions": [
184 + {
185 + "timeunits": 15,
186 + "timeunitType": "Day",
187 + "timeOffsetTypeName": "Before Arrival",
188 + "chargeValue": 100.00,
189 + "chargeValueType": "%"
190 + }
191 + ]
192 + }
193 + },
194 + "extraServices": []
195 + },
196 + "error": false
197 +}
198 +{{/code}}
228 228  
229 229  
230 230  === Schema ===