Changes for page 6. GetReservationDetails

Last modified by Giorgi Mdivnishvili on 2024/07/11 10:45

From version 1.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:32
Change comment: There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -GetReservationDetails
1 +6. GetReservationDetails
Content
... ... @@ -1,32 +1,924 @@
1 1  {{box cssClass="floatinginfobox" title="**Contents**"}}
2 +
3 +
2 2  {{toc/}}
3 3  {{/box}}
4 4  
5 -= Paragraph 1 =
7 += Method Description =
6 6  
7 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
9 +This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book.
8 8  
9 -== Sub-paragraph ==
10 10  
11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
12 +== Endpoint URL - [POST] ==
12 12  
13 -== Sub-paragraph ==
14 +{{info}}
15 +[[https:~~/~~/integration.kazunion.com/api/Checkout/ConfirmCheckout>>https://integration.kazunion.com/api/Checkout/ConfirmCheckout]]
16 +{{/info}}
14 14  
15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
16 16  
17 -=== Sub-sub paragraph ===
19 +== Request Parameters ==
18 18  
19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
21 +(% class="box infomessage" %)
22 +(((
23 +None
24 +)))
20 20  
21 21  
22 -= Paragraph 2 =
27 +== Request Body ==
23 23  
24 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
29 +{{code language="Json"}}
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 +}
45 +{{/code}}
25 25  
26 -== Sub-paragraph ==
47 +(% class="wikigeneratedid" id="HRequestBodyexample" %)
48 +(% id="cke_bm_10575S" style="display:none" %)
27 27  
28 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
29 29  
30 -== Sub-paragraph ==
31 31  
32 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
52 +== Request Body example ==
53 +
54 +{{code language="Json"}}
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 +}
79 +{{/code}}
80 +
81 +
82 +== Response ==
83 +
84 +{{code language="json"}}
85 +{
86 + "error": true,
87 + "errorCode": "string",
88 + "errorDescription": "string",
89 + "userErrorDescription": "string",
90 + "package": {
91 + "cacheKey": "string",
92 + "id": "string",
93 + "priceCurrency": "string",
94 + "totalPrice": 0,
95 + "agentCommissionPercent": 0,
96 + "agentCommissionAmount": 0,
97 + "includedExtrasAmount": 0,
98 + "priceDifference": 0,
99 + "hotel": {
100 + "hotelPriceId": "string",
101 + "providerId": 0,
102 + "hotelName": "string",
103 + "hotelCode": "string",
104 + "nigths": 0,
105 + "mealPlan": "string",
106 + "hotelClass": "string",
107 + "availabilityType": "OnRequest",
108 + "availableRoomsCount": 0,
109 + "fewRooms": true,
110 + "roomCategoryCode": "string",
111 + "roomCategoryName": "string",
112 + "placementTypeName": "string",
113 + "placementDescription": "string",
114 + "checkInDate": "2023-12-26T12:55:59.433Z",
115 + "checkOutDate": "2023-12-26T12:55:59.433Z",
116 + "adults": 0,
117 + "children": 0,
118 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
119 + "districtName": "string",
120 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
121 + "cityName": "string",
122 + "countryCode": "string",
123 + "countryName": "string",
124 + "hasAlcohol": true,
125 + "hasFreeWifi": true,
126 + "hasMetro": true,
127 + "hasPool": true,
128 + "hasMall": true,
129 + "cancellationPolicyDescription": "string",
130 + "cancellationPolicy": {
131 + "cancellationPolicyCode": "string",
132 + "noShowChargeValue": 0,
133 + "noShowChargeValueType": "string",
134 + "earlyDepartureChargeValue": 0,
135 + "earlyDepartureChargeValueType": "string",
136 + "conditions": [
137 + {
138 + "timeunits": 0,
139 + "timeunitType": "string",
140 + "timeOffsetTypeName": "string",
141 + "chargeValue": 0,
142 + "chargeValueType": "string"
143 + }
144 + ]
145 + }
146 + },
147 + "flight": {
148 + "id": "string",
149 + "departureDate": "2023-12-26T12:55:59.433Z",
150 + "returnDate": "2023-12-26T12:55:59.433Z",
151 + "departureTicketsLeft": 0,
152 + "returnTicketsLeft": 0,
153 + "departureAvailabilityType": "OnRequest",
154 + "returnAvailabilityType": "OnRequest",
155 + "isTwoWay": true,
156 + "sameBaggageForAll": true,
157 + "totalBaggage": true,
158 + "departureSegments": [
159 + {
160 + "airlineCode": "string",
161 + "airlineName": "string",
162 + "flightCode": "string",
163 + "class": "string",
164 + "lugageWeight": 0,
165 + "handLugageWeight": 0,
166 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
167 + "departureCountryName": "string",
168 + "departureCityName": "string",
169 + "departureAirportCode": "string",
170 + "departureAirportName": "string",
171 + "departureTerminalCode": "string",
172 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
173 + "arrivalCountryName": "string",
174 + "arrivalCityName": "string",
175 + "arrivalAirportCode": "string",
176 + "arrivalAirportName": "string",
177 + "arrivalTerminalCode": "string",
178 + "flightDuration": "string"
179 + }
180 + ],
181 + "returnSegments": [
182 + {
183 + "airlineCode": "string",
184 + "airlineName": "string",
185 + "flightCode": "string",
186 + "class": "string",
187 + "lugageWeight": 0,
188 + "handLugageWeight": 0,
189 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
190 + "departureCountryName": "string",
191 + "departureCityName": "string",
192 + "departureAirportCode": "string",
193 + "departureAirportName": "string",
194 + "departureTerminalCode": "string",
195 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
196 + "arrivalCountryName": "string",
197 + "arrivalCityName": "string",
198 + "arrivalAirportCode": "string",
199 + "arrivalAirportName": "string",
200 + "arrivalTerminalCode": "string",
201 + "flightDuration": "string"
202 + }
203 + ],
204 + "passengers": [
205 + {
206 + "id": "string",
207 + "isAdult": true,
208 + "selectedForwardBaggageCode": "string",
209 + "selectedBackwardBaggageCode": "string",
210 + "forwardBaggages": [
211 + {
212 + "baggageCode": "string",
213 + "description": "string",
214 + "price": 0,
215 + "currency": "string",
216 + "included": true
217 + }
218 + ],
219 + "backwardBaggages": [
220 + {
221 + "baggageCode": "string",
222 + "description": "string",
223 + "price": 0,
224 + "currency": "string",
225 + "included": true
226 + }
227 + ]
228 + }
229 + ]
230 + },
231 + "extraServices": [
232 + {
233 + "extraServiceCode": "string",
234 + "extraServiceTypeCode": "string",
235 + "isMandatory": 0,
236 + "extraServiceName": "string",
237 + "minimalServiceAmount": 0,
238 + "includedPriceCode": "string",
239 + "prices": [
240 + {
241 + "extraServicePriceCode": "string",
242 + "displayName": "string",
243 + "restrictionInfo": "string",
244 + "additionalInfo": "string",
245 + "price": 0,
246 + "extraPrice": 0,
247 + "currency": "string"
248 + }
249 + ]
250 + }
251 + ],
252 + "insurancePrice": {
253 + "name": "string",
254 + "price": 0,
255 + "priceSurcarge": 0,
256 + "actualStartDate": "2023-12-26T12:55:59.433Z",
257 + "actualEndDate": "2023-12-26T12:55:59.433Z",
258 + "optional": true,
259 + "includedInPackagePrice": true
260 + }
261 + },
262 + "altPackages": [
263 + {
264 + "cacheKey": "string",
265 + "id": "string",
266 + "priceCurrency": "string",
267 + "totalPrice": 0,
268 + "agentCommissionPercent": 0,
269 + "agentCommissionAmount": 0,
270 + "includedExtrasAmount": 0,
271 + "priceDifference": 0,
272 + "hotel": {
273 + "hotelPriceId": "string",
274 + "providerId": 0,
275 + "hotelName": "string",
276 + "hotelCode": "string",
277 + "nigths": 0,
278 + "mealPlan": "string",
279 + "hotelClass": "string",
280 + "availabilityType": "OnRequest",
281 + "availableRoomsCount": 0,
282 + "fewRooms": true,
283 + "roomCategoryCode": "string",
284 + "roomCategoryName": "string",
285 + "placementTypeName": "string",
286 + "placementDescription": "string",
287 + "checkInDate": "2023-12-26T12:55:59.433Z",
288 + "checkOutDate": "2023-12-26T12:55:59.433Z",
289 + "adults": 0,
290 + "children": 0,
291 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
292 + "districtName": "string",
293 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
294 + "cityName": "string",
295 + "countryCode": "string",
296 + "countryName": "string",
297 + "hasAlcohol": true,
298 + "hasFreeWifi": true,
299 + "hasMetro": true,
300 + "hasPool": true,
301 + "hasMall": true,
302 + "cancellationPolicyDescription": "string",
303 + "cancellationPolicy": {
304 + "cancellationPolicyCode": "string",
305 + "noShowChargeValue": 0,
306 + "noShowChargeValueType": "string",
307 + "earlyDepartureChargeValue": 0,
308 + "earlyDepartureChargeValueType": "string",
309 + "conditions": [
310 + {
311 + "timeunits": 0,
312 + "timeunitType": "string",
313 + "timeOffsetTypeName": "string",
314 + "chargeValue": 0,
315 + "chargeValueType": "string"
316 + }
317 + ]
318 + }
319 + },
320 + "flight": {
321 + "id": "string",
322 + "departureDate": "2023-12-26T12:55:59.433Z",
323 + "returnDate": "2023-12-26T12:55:59.433Z",
324 + "departureTicketsLeft": 0,
325 + "returnTicketsLeft": 0,
326 + "departureAvailabilityType": "OnRequest",
327 + "returnAvailabilityType": "OnRequest",
328 + "isTwoWay": true,
329 + "sameBaggageForAll": true,
330 + "totalBaggage": true,
331 + "departureSegments": [
332 + {
333 + "airlineCode": "string",
334 + "airlineName": "string",
335 + "flightCode": "string",
336 + "class": "string",
337 + "lugageWeight": 0,
338 + "handLugageWeight": 0,
339 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
340 + "departureCountryName": "string",
341 + "departureCityName": "string",
342 + "departureAirportCode": "string",
343 + "departureAirportName": "string",
344 + "departureTerminalCode": "string",
345 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
346 + "arrivalCountryName": "string",
347 + "arrivalCityName": "string",
348 + "arrivalAirportCode": "string",
349 + "arrivalAirportName": "string",
350 + "arrivalTerminalCode": "string",
351 + "flightDuration": "string"
352 + }
353 + ],
354 + "returnSegments": [
355 + {
356 + "airlineCode": "string",
357 + "airlineName": "string",
358 + "flightCode": "string",
359 + "class": "string",
360 + "lugageWeight": 0,
361 + "handLugageWeight": 0,
362 + "departureFlightDate": "2023-12-26T12:55:59.433Z",
363 + "departureCountryName": "string",
364 + "departureCityName": "string",
365 + "departureAirportCode": "string",
366 + "departureAirportName": "string",
367 + "departureTerminalCode": "string",
368 + "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
369 + "arrivalCountryName": "string",
370 + "arrivalCityName": "string",
371 + "arrivalAirportCode": "string",
372 + "arrivalAirportName": "string",
373 + "arrivalTerminalCode": "string",
374 + "flightDuration": "string"
375 + }
376 + ],
377 + "passengers": [
378 + {
379 + "id": "string",
380 + "isAdult": true,
381 + "selectedForwardBaggageCode": "string",
382 + "selectedBackwardBaggageCode": "string",
383 + "forwardBaggages": [
384 + {
385 + "baggageCode": "string",
386 + "description": "string",
387 + "price": 0,
388 + "currency": "string",
389 + "included": true
390 + }
391 + ],
392 + "backwardBaggages": [
393 + {
394 + "baggageCode": "string",
395 + "description": "string",
396 + "price": 0,
397 + "currency": "string",
398 + "included": true
399 + }
400 + ]
401 + }
402 + ]
403 + },
404 + "extraServices": [
405 + {
406 + "extraServiceCode": "string",
407 + "extraServiceTypeCode": "string",
408 + "isMandatory": 0,
409 + "extraServiceName": "string",
410 + "minimalServiceAmount": 0,
411 + "includedPriceCode": "string",
412 + "prices": [
413 + {
414 + "extraServicePriceCode": "string",
415 + "displayName": "string",
416 + "restrictionInfo": "string",
417 + "additionalInfo": "string",
418 + "price": 0,
419 + "extraPrice": 0,
420 + "currency": "string"
421 + }
422 + ]
423 + }
424 + ],
425 + "insurancePrice": {
426 + "name": "string",
427 + "price": 0,
428 + "priceSurcarge": 0,
429 + "actualStartDate": "2023-12-26T12:55:59.433Z",
430 + "actualEndDate": "2023-12-26T12:55:59.433Z",
431 + "optional": true,
432 + "includedInPackagePrice": true
433 + }
434 + }
435 + ],
436 + "refreshPriceResult": "Success"
437 +}
438 +{{/code}}
439 +
440 +
441 +=== Response example ===
442 +
443 +{{code language="Json"}}
444 +{
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 + ]
497 + }
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",
640 + "cityName": "Dubai",
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 + }
664 + },
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 + ]
772 + },
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
782 + }
783 + },
784 + {
785 +{{/code}}
786 +
787 +
788 +=== Schema ===
789 +
790 +{{success}}
791 +CalcOnlyHotelPackageResponse{
792 +
793 +|error|boolean
794 +|errorCode|string
795 +nullable: true
796 +|errorDescription|string
797 +nullable: true
798 +|userErrorDescription|string
799 +nullable: true
800 +|package|OnlyHotelPackage{(((
801 +|id|string
802 +nullable: true
803 +|priceCurrency|string
804 +nullable: true
805 +|totalPrice|number($double)
806 +|agentCommissionPercent|number($double)
807 +|agentCommissionAmount|number($double)
808 +|hotel|PackageHotel{(((
809 +|hotelPriceId|string
810 +nullable: true
811 +|providerId|integer($int32)
812 +|hotelName|string
813 +nullable: true
814 +|hotelCode|string
815 +nullable: true
816 +|nigths|integer($int32)
817 +|mealPlan|string
818 +nullable: true
819 +|hotelClass|string
820 +nullable: true
821 +|availabilityType|RoomAvailabilityTypeEnumstringEnum:
822 +[ OnRequest, FreeSale, StopSale ]
823 +|availableRoomsCount|integer($int32)
824 +|fewRooms|boolean
825 +|roomCategoryCode|string
826 +nullable: true
827 +|roomCategoryName|string
828 +nullable: true
829 +|placementTypeName|string
830 +nullable: true
831 +|placementDescription|string
832 +nullable: true
833 +|checkInDate|string($date-time)
834 +|checkOutDate|string($date-time)
835 +|adults|integer($int32)
836 +|children|integer($int32)
837 +|districtUID|string($uuid)
838 +nullable: true
839 +|districtName|string
840 +nullable: true
841 +|cityUID|string($uuid)
842 +nullable: true
843 +|cityName|string
844 +nullable: true
845 +|countryCode|string
846 +nullable: true
847 +|countryName|string
848 +nullable: true
849 +|hasAlcohol|boolean
850 +|hasFreeWifi|boolean
851 +|hasMetro|boolean
852 +|hasPool|boolean
853 +|hasMall|boolean
854 +|cancellationPolicyDescription|string
855 +nullable: true
856 +|cancellationPolicy|CancellationPolicyExchange{(((
857 +|cancellationPolicyCode|string
858 +nullable: true
859 +|noShowChargeValue|number($double)
860 +nullable: true
861 +|noShowChargeValueType|string
862 +nullable: true
863 +|earlyDepartureChargeValue|number($double)
864 +nullable: true
865 +|earlyDepartureChargeValueType|string
866 +nullable: true
867 +|conditions|[
868 +nullable: trueCancellationPolicyConditionExchange{(((
869 +|timeunits|integer($int32)
870 +|timeunitType|string
871 +nullable: true
872 +|timeOffsetTypeName|string
873 +nullable: true
874 +|chargeValue|number($double)
875 +nullable: true
876 +|chargeValueType|string
877 +nullable: true
878 +
879 +}]
880 +)))
881 +
882 +}
883 +)))
884 +
885 +}
886 +)))
887 +|extraServices|[
888 +nullable: trueHotelExtraServiceBase{(((
889 +|extraServiceCode|string
890 +nullable: true
891 +|extraServiceTypeCode|string
892 +nullable: true
893 +|isMandatory|integer($int32)
894 +|extraServiceName|string
895 +nullable: true
896 +|minimalServiceAmount|number($double)
897 +|includedPriceCode|string
898 +nullable: true
899 +|prices|[
900 +nullable: trueHotelExtraServicePriceBase{(((
901 +|extraServicePriceCode|string
902 +nullable: true
903 +|displayName|string
904 +nullable: true
905 +|restrictionInfo|string
906 +nullable: true
907 +|additionalInfo|string
908 +nullable: true
909 +|price|number($double)
910 +|extraPrice|number($double)
911 +|currency|string
912 +nullable: true
913 +
914 +}]
915 +)))
916 +
917 +}]
918 +)))
919 +
920 +}
921 +)))
922 +
923 +}
924 +{{/success}}