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
Change comment: There is no comment for this version
To version 5.1
edited by Giorgi Mdivnishvili
on 2023/12/26 09:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -32,15 +32,7 @@
32 32   "extraServicePriceCodes": [
33 33   "string"
34 34   ],
35 - "flightPassengers": [
36 - {
37 - "id": "string",
38 - "selectedForwardBaggageCode": "string",
39 - "selectedBackwardBaggageCode": "string"
40 - }
41 - ],
42 - "includeInsurance": true,
43 - "refreshPrices": true
35 + "includeInsurance": true
44 44  }
45 45  {{/code}}
46 46  
... ... @@ -51,19 +51,10 @@
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",
46 + "packageId": "onlyhotel:c4e23e7e-3d54-4efa-a3db-88508230ce91:504f63ca-6dd5-4d84-8245-cf7e77ccff73",
55 55   "extraServicePriceCodes": [
56 56  
57 - ],
58 - "flightPassengers": [
59 - {
60 - "id": "42779531011000004-A1",
61 - "selectedForwardBaggageCode": "",
62 - "selectedBackwardBaggageCode": ""
63 - }
64 - ],
65 - "includeInsurance": true,
66 - "refreshPrices": true
49 + ]
67 67  }
68 68  {{/code}}
69 69  
... ... @@ -77,7 +77,6 @@
77 77   "errorDescription": "string",
78 78   "userErrorDescription": "string",
79 79   "package": {
80 - "cacheKey": "string",
81 81   "id": "string",
82 82   "priceCurrency": "string",
83 83   "totalPrice": 0,
... ... @@ -100,8 +100,8 @@
100 100   "roomCategoryName": "string",
101 101   "placementTypeName": "string",
102 102   "placementDescription": "string",
103 - "checkInDate": "2023-12-26T12:55:59.433Z",
104 - "checkOutDate": "2023-12-26T12:55:59.433Z",
85 + "checkInDate": "2023-12-18T14:09:48.103Z",
86 + "checkOutDate": "2023-12-18T14:09:48.103Z",
105 105   "adults": 0,
106 106   "children": 0,
107 107   "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
... ... @@ -135,15 +135,13 @@
135 135   },
136 136   "flight": {
137 137   "id": "string",
138 - "departureDate": "2023-12-26T12:55:59.433Z",
139 - "returnDate": "2023-12-26T12:55:59.433Z",
120 + "departureDate": "2023-12-18T14:09:48.103Z",
121 + "returnDate": "2023-12-18T14:09:48.103Z",
140 140   "departureTicketsLeft": 0,
141 141   "returnTicketsLeft": 0,
142 142   "departureAvailabilityType": "OnRequest",
143 143   "returnAvailabilityType": "OnRequest",
144 144   "isTwoWay": true,
145 - "sameBaggageForAll": true,
146 - "totalBaggage": true,
147 147   "departureSegments": [
148 148   {
149 149   "airlineCode": "string",
... ... @@ -152,19 +152,28 @@
152 152   "class": "string",
153 153   "lugageWeight": 0,
154 154   "handLugageWeight": 0,
155 - "departureFlightDate": "2023-12-26T12:55:59.433Z",
135 + "departureFlightDate": "2023-12-18T14:09:48.103Z",
156 156   "departureCountryName": "string",
157 157   "departureCityName": "string",
158 158   "departureAirportCode": "string",
159 159   "departureAirportName": "string",
160 160   "departureTerminalCode": "string",
161 - "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
141 + "arrivalFlightDate": "2023-12-18T14:09:48.103Z",
162 162   "arrivalCountryName": "string",
163 163   "arrivalCityName": "string",
164 164   "arrivalAirportCode": "string",
165 165   "arrivalAirportName": "string",
166 166   "arrivalTerminalCode": "string",
167 - "flightDuration": "string"
147 + "flightDuration": "string",
148 + "baggages": [
149 + {
150 + "baggageCode": "string",
151 + "description": "string",
152 + "price": 0,
153 + "currency": "string",
154 + "included": true
155 + }
156 + ]
168 168   }
169 169   ],
170 170   "returnSegments": [
... ... @@ -175,28 +175,20 @@
175 175   "class": "string",
176 176   "lugageWeight": 0,
177 177   "handLugageWeight": 0,
178 - "departureFlightDate": "2023-12-26T12:55:59.433Z",
167 + "departureFlightDate": "2023-12-18T14:09:48.103Z",
179 179   "departureCountryName": "string",
180 180   "departureCityName": "string",
181 181   "departureAirportCode": "string",
182 182   "departureAirportName": "string",
183 183   "departureTerminalCode": "string",
184 - "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
173 + "arrivalFlightDate": "2023-12-18T14:09:48.103Z",
185 185   "arrivalCountryName": "string",
186 186   "arrivalCityName": "string",
187 187   "arrivalAirportCode": "string",
188 188   "arrivalAirportName": "string",
189 189   "arrivalTerminalCode": "string",
190 - "flightDuration": "string"
191 - }
192 - ],
193 - "passengers": [
194 - {
195 - "id": "string",
196 - "isAdult": true,
197 - "selectedForwardBaggageCode": "string",
198 - "selectedBackwardBaggageCode": "string",
199 - "forwardBaggages": [
179 + "flightDuration": "string",
180 + "baggages": [
200 200   {
201 201   "baggageCode": "string",
202 202   "description": "string",
... ... @@ -204,15 +204,6 @@
204 204   "currency": "string",
205 205   "included": true
206 206   }
207 - ],
208 - "backwardBaggages": [
209 - {
210 - "baggageCode": "string",
211 - "description": "string",
212 - "price": 0,
213 - "currency": "string",
214 - "included": true
215 - }
216 216   ]
217 217   }
218 218   ]
... ... @@ -242,187 +242,13 @@
242 242   "name": "string",
243 243   "price": 0,
244 244   "priceSurcarge": 0,
245 - "actualStartDate": "2023-12-26T12:55:59.433Z",
246 - "actualEndDate": "2023-12-26T12:55:59.433Z",
217 + "actualStartDate": "2023-12-18T14:09:48.103Z",
218 + "actualEndDate": "2023-12-18T14:09:48.103Z",
247 247   "optional": true,
248 248   "includedInPackagePrice": true
249 - }
250 - },
251 - "altPackages": [
252 - {
253 - "cacheKey": "string",
254 - "id": "string",
255 - "priceCurrency": "string",
256 - "totalPrice": 0,
257 - "agentCommissionPercent": 0,
258 - "agentCommissionAmount": 0,
259 - "includedExtrasAmount": 0,
260 - "priceDifference": 0,
261 - "hotel": {
262 - "hotelPriceId": "string",
263 - "providerId": 0,
264 - "hotelName": "string",
265 - "hotelCode": "string",
266 - "nigths": 0,
267 - "mealPlan": "string",
268 - "hotelClass": "string",
269 - "availabilityType": "OnRequest",
270 - "availableRoomsCount": 0,
271 - "fewRooms": true,
272 - "roomCategoryCode": "string",
273 - "roomCategoryName": "string",
274 - "placementTypeName": "string",
275 - "placementDescription": "string",
276 - "checkInDate": "2023-12-26T12:55:59.433Z",
277 - "checkOutDate": "2023-12-26T12:55:59.433Z",
278 - "adults": 0,
279 - "children": 0,
280 - "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
281 - "districtName": "string",
282 - "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
283 - "cityName": "string",
284 - "countryCode": "string",
285 - "countryName": "string",
286 - "hasAlcohol": true,
287 - "hasFreeWifi": true,
288 - "hasMetro": true,
289 - "hasPool": true,
290 - "hasMall": true,
291 - "cancellationPolicyDescription": "string",
292 - "cancellationPolicy": {
293 - "cancellationPolicyCode": "string",
294 - "noShowChargeValue": 0,
295 - "noShowChargeValueType": "string",
296 - "earlyDepartureChargeValue": 0,
297 - "earlyDepartureChargeValueType": "string",
298 - "conditions": [
299 - {
300 - "timeunits": 0,
301 - "timeunitType": "string",
302 - "timeOffsetTypeName": "string",
303 - "chargeValue": 0,
304 - "chargeValueType": "string"
305 - }
306 - ]
307 - }
308 - },
309 - "flight": {
310 - "id": "string",
311 - "departureDate": "2023-12-26T12:55:59.433Z",
312 - "returnDate": "2023-12-26T12:55:59.433Z",
313 - "departureTicketsLeft": 0,
314 - "returnTicketsLeft": 0,
315 - "departureAvailabilityType": "OnRequest",
316 - "returnAvailabilityType": "OnRequest",
317 - "isTwoWay": true,
318 - "sameBaggageForAll": true,
319 - "totalBaggage": true,
320 - "departureSegments": [
321 - {
322 - "airlineCode": "string",
323 - "airlineName": "string",
324 - "flightCode": "string",
325 - "class": "string",
326 - "lugageWeight": 0,
327 - "handLugageWeight": 0,
328 - "departureFlightDate": "2023-12-26T12:55:59.433Z",
329 - "departureCountryName": "string",
330 - "departureCityName": "string",
331 - "departureAirportCode": "string",
332 - "departureAirportName": "string",
333 - "departureTerminalCode": "string",
334 - "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
335 - "arrivalCountryName": "string",
336 - "arrivalCityName": "string",
337 - "arrivalAirportCode": "string",
338 - "arrivalAirportName": "string",
339 - "arrivalTerminalCode": "string",
340 - "flightDuration": "string"
341 - }
342 - ],
343 - "returnSegments": [
344 - {
345 - "airlineCode": "string",
346 - "airlineName": "string",
347 - "flightCode": "string",
348 - "class": "string",
349 - "lugageWeight": 0,
350 - "handLugageWeight": 0,
351 - "departureFlightDate": "2023-12-26T12:55:59.433Z",
352 - "departureCountryName": "string",
353 - "departureCityName": "string",
354 - "departureAirportCode": "string",
355 - "departureAirportName": "string",
356 - "departureTerminalCode": "string",
357 - "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
358 - "arrivalCountryName": "string",
359 - "arrivalCityName": "string",
360 - "arrivalAirportCode": "string",
361 - "arrivalAirportName": "string",
362 - "arrivalTerminalCode": "string",
363 - "flightDuration": "string"
364 - }
365 - ],
366 - "passengers": [
367 - {
368 - "id": "string",
369 - "isAdult": true,
370 - "selectedForwardBaggageCode": "string",
371 - "selectedBackwardBaggageCode": "string",
372 - "forwardBaggages": [
373 - {
374 - "baggageCode": "string",
375 - "description": "string",
376 - "price": 0,
377 - "currency": "string",
378 - "included": true
379 - }
380 - ],
381 - "backwardBaggages": [
382 - {
383 - "baggageCode": "string",
384 - "description": "string",
385 - "price": 0,
386 - "currency": "string",
387 - "included": true
388 - }
389 - ]
390 - }
391 - ]
392 - },
393 - "extraServices": [
394 - {
395 - "extraServiceCode": "string",
396 - "extraServiceTypeCode": "string",
397 - "isMandatory": 0,
398 - "extraServiceName": "string",
399 - "minimalServiceAmount": 0,
400 - "includedPriceCode": "string",
401 - "prices": [
402 - {
403 - "extraServicePriceCode": "string",
404 - "displayName": "string",
405 - "restrictionInfo": "string",
406 - "additionalInfo": "string",
407 - "price": 0,
408 - "extraPrice": 0,
409 - "currency": "string"
410 - }
411 - ]
412 - }
413 - ],
414 - "insurancePrice": {
415 - "name": "string",
416 - "price": 0,
417 - "priceSurcarge": 0,
418 - "actualStartDate": "2023-12-26T12:55:59.433Z",
419 - "actualEndDate": "2023-12-26T12:55:59.433Z",
420 - "optional": true,
421 - "includedInPackagePrice": true
422 - }
423 - }
424 - ],
425 - "refreshPriceResult": "Success"
221 + },
222 + "cacheKey": "string"
223 + }
426 426  }
427 427  {{/code}}
428 428  
... ... @@ -570,3 +570,4 @@
570 570  }
571 571  {{/success}}
572 572  
371 +