Wiki source code of 3. CalcPackage

Version 12.1 by Giorgi Mdivnishvili on 2024/04/11 08:07

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2
3
4 {{toc/}}
5 {{/box}}
6
7 = Method Description =
8
9 This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book.
10
11 == Endpoint URL - [POST] ==
12
13 {{info}}
14 [[https:~~/~~/integration.kazunion.com/api/TourPackages/CalcPackage>>https://integration.kazunion.com/api/TourPackages/CalcPackage]]
15 {{/info}}
16
17
18 == Request Parameters ==
19
20 (% class="box infomessage" %)
21 (((
22 None
23 )))
24
25
26 == Request Body ==
27
28 {{code language="Json"}}
29 {
30 "packageId": "string",
31 "extraServicePriceCodes": [
32 "string"
33 ],
34 "flightPassengers": [
35 {
36 "id": "string",
37 "selectedForwardBaggageCode": "string",
38 "selectedBackwardBaggageCode": "string"
39 }
40 ],
41 "includeInsurance": true,
42 "refreshPrices": true
43 }
44 {{/code}}
45
46 (% class="wikigeneratedid" id="HRequestBodyexample" %)
47 (% id="cke_bm_10575S" style="display:none" %)
48
49
50
51 == Request Body example ==
52
53 {{code language="Json"}}
54 {
55 "calcTourPackageRequests": [
56 {
57 "refreshPrices": true,
58 "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d",
59 "flightPassengers": [
60 {
61 "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1",
62 "selectedForwardBaggageCode": "INCLUDED",
63 "selectedBackwardBaggageCode": "INCLUDED"
64 },
65 {
66 "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2",
67 "selectedForwardBaggageCode": "INCLUDED",
68 "selectedBackwardBaggageCode": "INCLUDED"
69 }
70 ],
71 "extraServicePriceCodes": [],
72 "includeInsurance": true
73 }
74 ],
75 "calcOnlyHotelPackageRequests": [],
76 "calcOnlyAviaPackageRequests": []
77 }
78 {{/code}}
79
80
81 == Response ==
82
83 {{code language="json"}}
84 {
85 "error": true,
86 "errorCode": "string",
87 "errorDescription": "string",
88 "userErrorDescription": "string",
89 "package": {
90 "cacheKey": "string",
91 "id": "string",
92 "priceCurrency": "string",
93 "totalPrice": 0,
94 "agentCommissionPercent": 0,
95 "agentCommissionAmount": 0,
96 "includedExtrasAmount": 0,
97 "priceDifference": 0,
98 "hotel": {
99 "hotelPriceId": "string",
100 "providerId": 0,
101 "hotelName": "string",
102 "hotelCode": "string",
103 "nigths": 0,
104 "mealPlan": "string",
105 "hotelClass": "string",
106 "availabilityType": "OnRequest",
107 "availableRoomsCount": 0,
108 "fewRooms": true,
109 "roomCategoryCode": "string",
110 "roomCategoryName": "string",
111 "placementTypeName": "string",
112 "placementDescription": "string",
113 "checkInDate": "2023-12-26T12:55:59.433Z",
114 "checkOutDate": "2023-12-26T12:55:59.433Z",
115 "adults": 0,
116 "children": 0,
117 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
118 "districtName": "string",
119 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
120 "cityName": "string",
121 "countryCode": "string",
122 "countryName": "string",
123 "hasAlcohol": true,
124 "hasFreeWifi": true,
125 "hasMetro": true,
126 "hasPool": true,
127 "hasMall": true,
128 "cancellationPolicyDescription": "string",
129 "cancellationPolicy": {
130 "cancellationPolicyCode": "string",
131 "noShowChargeValue": 0,
132 "noShowChargeValueType": "string",
133 "earlyDepartureChargeValue": 0,
134 "earlyDepartureChargeValueType": "string",
135 "conditions": [
136 {
137 "timeunits": 0,
138 "timeunitType": "string",
139 "timeOffsetTypeName": "string",
140 "chargeValue": 0,
141 "chargeValueType": "string"
142 }
143 ]
144 }
145 },
146 "flight": {
147 "id": "string",
148 "departureDate": "2023-12-26T12:55:59.433Z",
149 "returnDate": "2023-12-26T12:55:59.433Z",
150 "departureTicketsLeft": 0,
151 "returnTicketsLeft": 0,
152 "departureAvailabilityType": "OnRequest",
153 "returnAvailabilityType": "OnRequest",
154 "isTwoWay": true,
155 "sameBaggageForAll": true,
156 "totalBaggage": true,
157 "departureSegments": [
158 {
159 "airlineCode": "string",
160 "airlineName": "string",
161 "flightCode": "string",
162 "class": "string",
163 "lugageWeight": 0,
164 "handLugageWeight": 0,
165 "departureFlightDate": "2023-12-26T12:55:59.433Z",
166 "departureCountryName": "string",
167 "departureCityName": "string",
168 "departureAirportCode": "string",
169 "departureAirportName": "string",
170 "departureTerminalCode": "string",
171 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
172 "arrivalCountryName": "string",
173 "arrivalCityName": "string",
174 "arrivalAirportCode": "string",
175 "arrivalAirportName": "string",
176 "arrivalTerminalCode": "string",
177 "flightDuration": "string"
178 }
179 ],
180 "returnSegments": [
181 {
182 "airlineCode": "string",
183 "airlineName": "string",
184 "flightCode": "string",
185 "class": "string",
186 "lugageWeight": 0,
187 "handLugageWeight": 0,
188 "departureFlightDate": "2023-12-26T12:55:59.433Z",
189 "departureCountryName": "string",
190 "departureCityName": "string",
191 "departureAirportCode": "string",
192 "departureAirportName": "string",
193 "departureTerminalCode": "string",
194 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
195 "arrivalCountryName": "string",
196 "arrivalCityName": "string",
197 "arrivalAirportCode": "string",
198 "arrivalAirportName": "string",
199 "arrivalTerminalCode": "string",
200 "flightDuration": "string"
201 }
202 ],
203 "passengers": [
204 {
205 "id": "string",
206 "isAdult": true,
207 "selectedForwardBaggageCode": "string",
208 "selectedBackwardBaggageCode": "string",
209 "forwardBaggages": [
210 {
211 "baggageCode": "string",
212 "description": "string",
213 "price": 0,
214 "currency": "string",
215 "included": true
216 }
217 ],
218 "backwardBaggages": [
219 {
220 "baggageCode": "string",
221 "description": "string",
222 "price": 0,
223 "currency": "string",
224 "included": true
225 }
226 ]
227 }
228 ]
229 },
230 "extraServices": [
231 {
232 "extraServiceCode": "string",
233 "extraServiceTypeCode": "string",
234 "isMandatory": 0,
235 "extraServiceName": "string",
236 "minimalServiceAmount": 0,
237 "includedPriceCode": "string",
238 "prices": [
239 {
240 "extraServicePriceCode": "string",
241 "displayName": "string",
242 "restrictionInfo": "string",
243 "additionalInfo": "string",
244 "price": 0,
245 "extraPrice": 0,
246 "currency": "string"
247 }
248 ]
249 }
250 ],
251 "insurancePrice": {
252 "name": "string",
253 "price": 0,
254 "priceSurcarge": 0,
255 "actualStartDate": "2023-12-26T12:55:59.433Z",
256 "actualEndDate": "2023-12-26T12:55:59.433Z",
257 "optional": true,
258 "includedInPackagePrice": true
259 }
260 },
261 "altPackages": [
262 {
263 "cacheKey": "string",
264 "id": "string",
265 "priceCurrency": "string",
266 "totalPrice": 0,
267 "agentCommissionPercent": 0,
268 "agentCommissionAmount": 0,
269 "includedExtrasAmount": 0,
270 "priceDifference": 0,
271 "hotel": {
272 "hotelPriceId": "string",
273 "providerId": 0,
274 "hotelName": "string",
275 "hotelCode": "string",
276 "nigths": 0,
277 "mealPlan": "string",
278 "hotelClass": "string",
279 "availabilityType": "OnRequest",
280 "availableRoomsCount": 0,
281 "fewRooms": true,
282 "roomCategoryCode": "string",
283 "roomCategoryName": "string",
284 "placementTypeName": "string",
285 "placementDescription": "string",
286 "checkInDate": "2023-12-26T12:55:59.433Z",
287 "checkOutDate": "2023-12-26T12:55:59.433Z",
288 "adults": 0,
289 "children": 0,
290 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
291 "districtName": "string",
292 "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
293 "cityName": "string",
294 "countryCode": "string",
295 "countryName": "string",
296 "hasAlcohol": true,
297 "hasFreeWifi": true,
298 "hasMetro": true,
299 "hasPool": true,
300 "hasMall": true,
301 "cancellationPolicyDescription": "string",
302 "cancellationPolicy": {
303 "cancellationPolicyCode": "string",
304 "noShowChargeValue": 0,
305 "noShowChargeValueType": "string",
306 "earlyDepartureChargeValue": 0,
307 "earlyDepartureChargeValueType": "string",
308 "conditions": [
309 {
310 "timeunits": 0,
311 "timeunitType": "string",
312 "timeOffsetTypeName": "string",
313 "chargeValue": 0,
314 "chargeValueType": "string"
315 }
316 ]
317 }
318 },
319 "flight": {
320 "id": "string",
321 "departureDate": "2023-12-26T12:55:59.433Z",
322 "returnDate": "2023-12-26T12:55:59.433Z",
323 "departureTicketsLeft": 0,
324 "returnTicketsLeft": 0,
325 "departureAvailabilityType": "OnRequest",
326 "returnAvailabilityType": "OnRequest",
327 "isTwoWay": true,
328 "sameBaggageForAll": true,
329 "totalBaggage": true,
330 "departureSegments": [
331 {
332 "airlineCode": "string",
333 "airlineName": "string",
334 "flightCode": "string",
335 "class": "string",
336 "lugageWeight": 0,
337 "handLugageWeight": 0,
338 "departureFlightDate": "2023-12-26T12:55:59.433Z",
339 "departureCountryName": "string",
340 "departureCityName": "string",
341 "departureAirportCode": "string",
342 "departureAirportName": "string",
343 "departureTerminalCode": "string",
344 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
345 "arrivalCountryName": "string",
346 "arrivalCityName": "string",
347 "arrivalAirportCode": "string",
348 "arrivalAirportName": "string",
349 "arrivalTerminalCode": "string",
350 "flightDuration": "string"
351 }
352 ],
353 "returnSegments": [
354 {
355 "airlineCode": "string",
356 "airlineName": "string",
357 "flightCode": "string",
358 "class": "string",
359 "lugageWeight": 0,
360 "handLugageWeight": 0,
361 "departureFlightDate": "2023-12-26T12:55:59.433Z",
362 "departureCountryName": "string",
363 "departureCityName": "string",
364 "departureAirportCode": "string",
365 "departureAirportName": "string",
366 "departureTerminalCode": "string",
367 "arrivalFlightDate": "2023-12-26T12:55:59.433Z",
368 "arrivalCountryName": "string",
369 "arrivalCityName": "string",
370 "arrivalAirportCode": "string",
371 "arrivalAirportName": "string",
372 "arrivalTerminalCode": "string",
373 "flightDuration": "string"
374 }
375 ],
376 "passengers": [
377 {
378 "id": "string",
379 "isAdult": true,
380 "selectedForwardBaggageCode": "string",
381 "selectedBackwardBaggageCode": "string",
382 "forwardBaggages": [
383 {
384 "baggageCode": "string",
385 "description": "string",
386 "price": 0,
387 "currency": "string",
388 "included": true
389 }
390 ],
391 "backwardBaggages": [
392 {
393 "baggageCode": "string",
394 "description": "string",
395 "price": 0,
396 "currency": "string",
397 "included": true
398 }
399 ]
400 }
401 ]
402 },
403 "extraServices": [
404 {
405 "extraServiceCode": "string",
406 "extraServiceTypeCode": "string",
407 "isMandatory": 0,
408 "extraServiceName": "string",
409 "minimalServiceAmount": 0,
410 "includedPriceCode": "string",
411 "prices": [
412 {
413 "extraServicePriceCode": "string",
414 "displayName": "string",
415 "restrictionInfo": "string",
416 "additionalInfo": "string",
417 "price": 0,
418 "extraPrice": 0,
419 "currency": "string"
420 }
421 ]
422 }
423 ],
424 "insurancePrice": {
425 "name": "string",
426 "price": 0,
427 "priceSurcarge": 0,
428 "actualStartDate": "2023-12-26T12:55:59.433Z",
429 "actualEndDate": "2023-12-26T12:55:59.433Z",
430 "optional": true,
431 "includedInPackagePrice": true
432 }
433 }
434 ],
435 "refreshPriceResult": "Success"
436 }
437 {{/code}}
438
439
440 === Response example ===
441
442 {{code language="Json"}}
443 {
444 "priceCurrency": "USD",
445 "totalPrice": 782,
446 "agentCommissionPercent": 0.00,
447 "agentCommissionAmount": 0,
448 "requiredCitizenIdentifiers": [
449 {
450 "countryCode": "KZ",
451 "identifierType": "TIN"
452 },
453 {
454 "countryCode": "AZ",
455 "identifierType": "FIN"
456 }
457 ],
458 "hotels": [
459 {
460 "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
461 "touristIds": [
462 "0223735d-3895-493e-89f5-7cc06514ba12",
463 "59db21f9-cebd-458e-8210-c186e0cdeb81"
464 ],
465 "description": "Ibis Al Rigga"
466 }
467 ],
468 "tourists": [
469 {
470 "id": "0223735d-3895-493e-89f5-7cc06514ba12",
471 "isAdult": true,
472 "flightIds": [
473 "53552191-59ea-469d-ae9d-5b848da8839d"
474 ],
475 "flights": [
476 {
477 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
478 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
479 }
480 ],
481 "insurancePrice": {
482 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
483 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
484 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
485 "touristId": "0223735d-3895-493e-89f5-7cc06514ba12",
486 "insuranceName": "Medical INS (N10000)",
487 "contragentName": "Nomad Insurance",
488 "contragentFullName": "Nomad Insurance",
489 "actualStartDate": "2024-05-17T00:00:00.000",
490 "actualEndDate": "2024-05-21T00:00:00.000",
491 "costCurrencyCode": "USD",
492 "costAmount": 6.70,
493 "priceCurrencyCode": "USD",
494 "priceAmount": 11.20,
495 "coverageCurrencyCode": "USD",
496 "coverageAmount": 10000.0000
497 },
498 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
499 "transfers": [
500 {
501 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
502 "type": "Arrival",
503 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
504 "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
505 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
506 "transferPrices": [
507 {
508 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
509 "name": "GROUP",
510 "adultPlaces": 1,
511 "childPlaces": 1,
512 "perPersonPrice": true,
513 "adultPrice": 0,
514 "childPrice": 0
515 },
516 {
517 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
518 "name": "MINIVAN",
519 "adultPlaces": 5,
520 "childPlaces": 0,
521 "perPersonPrice": false,
522 "adultPrice": 45.00000000,
523 "childPrice": 0
524 },
525 {
526 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
527 "name": "TOYOTA HIACE",
528 "adultPlaces": 9,
529 "childPlaces": 0,
530 "perPersonPrice": false,
531 "adultPrice": 50.00000000,
532 "childPrice": 0
533 },
534 {
535 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
536 "name": "HIGER BUS (27 SEATERS)",
537 "adultPlaces": 27,
538 "childPlaces": 0,
539 "perPersonPrice": false,
540 "adultPrice": 85.00000000,
541 "childPrice": 0
542 },
543 {
544 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
545 "name": "HIGER 53",
546 "adultPlaces": 51,
547 "childPlaces": 0,
548 "perPersonPrice": false,
549 "adultPrice": 120.00000000,
550 "childPrice": 0
551 },
552 {
553 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
554 "name": "MERCEDES S CLASS 400",
555 "adultPlaces": 3,
556 "childPlaces": 0,
557 "perPersonPrice": false,
558 "adultPrice": 140.00000000,
559 "childPrice": 0
560 },
561 {
562 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
563 "name": "MERCEDES V CLASS",
564 "adultPlaces": 7,
565 "childPlaces": 0,
566 "perPersonPrice": false,
567 "adultPrice": 140.00000000,
568 "childPrice": 0
569 },
570 {
571 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
572 "name": "MERCEDES S CLASS 500",
573 "adultPlaces": 3,
574 "childPlaces": 0,
575 "perPersonPrice": false,
576 "adultPrice": 165.00000000,
577 "childPrice": 0
578 }
579 ]
580 },
581 {
582 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
583 "type": "Departure",
584 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
585 "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
586 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
587 "transferPrices": [
588 {
589 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
590 "name": "GROUP",
591 "adultPlaces": 1,
592 "childPlaces": 1,
593 "perPersonPrice": true,
594 "adultPrice": 0,
595 "childPrice": 0
596 },
597 {
598 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
599 "name": "MINIVAN",
600 "adultPlaces": 5,
601 "childPlaces": 0,
602 "perPersonPrice": false,
603 "adultPrice": 45.00000000,
604 "childPrice": 0
605 },
606 {
607 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
608 "name": "TOYOTA HIACE",
609 "adultPlaces": 9,
610 "childPlaces": 0,
611 "perPersonPrice": false,
612 "adultPrice": 50.00000000,
613 "childPrice": 0
614 },
615 {
616 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
617 "name": "HIGER BUS (27 SEATERS)",
618 "adultPlaces": 27,
619 "childPlaces": 0,
620 "perPersonPrice": false,
621 "adultPrice": 85.00000000,
622 "childPrice": 0
623 },
624 {
625 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
626 "name": "HIGER 53",
627 "adultPlaces": 51,
628 "childPlaces": 0,
629 "perPersonPrice": false,
630 "adultPrice": 120.00000000,
631 "childPrice": 0
632 },
633 {
634 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
635 "name": "MERCEDES S CLASS 400",
636 "adultPlaces": 3,
637 "childPlaces": 0,
638 "perPersonPrice": false,
639 "adultPrice": 140.00000000,
640 "childPrice": 0
641 },
642 {
643 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
644 "name": "MERCEDES V CLASS",
645 "adultPlaces": 7,
646 "childPlaces": 0,
647 "perPersonPrice": false,
648 "adultPrice": 140.00000000,
649 "childPrice": 0
650 },
651 {
652 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
653 "name": "MERCEDES S CLASS 500",
654 "adultPlaces": 3,
655 "childPlaces": 0,
656 "perPersonPrice": false,
657 "adultPrice": 165.00000000,
658 "childPrice": 0
659 }
660 ]
661 }
662 ],
663 "description": " "
664 },
665 {
666 "id": "59db21f9-cebd-458e-8210-c186e0cdeb81",
667 "isAdult": true,
668 "flightIds": [
669 "53552191-59ea-469d-ae9d-5b848da8839d"
670 ],
671 "flights": [
672 {
673 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
674 "note": "Kazunion Block, Baggage Info: 20 Kg Included"
675 }
676 ],
677 "insurancePrice": {
678 "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
679 "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
680 "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
681 "touristId": "59db21f9-cebd-458e-8210-c186e0cdeb81",
682 "insuranceName": "Medical INS (N10000)",
683 "contragentName": "Nomad Insurance",
684 "contragentFullName": "Nomad Insurance",
685 "actualStartDate": "2024-05-17T00:00:00.000",
686 "actualEndDate": "2024-05-21T00:00:00.000",
687 "costCurrencyCode": "USD",
688 "costAmount": 6.70,
689 "priceCurrencyCode": "USD",
690 "priceAmount": 11.20,
691 "coverageCurrencyCode": "USD",
692 "coverageAmount": 10000.0000
693 },
694 "selectedVisaId": "00000000-0000-0000-0000-000000000000",
695 "transfers": [
696 {
697 "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
698 "type": "Arrival",
699 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
700 "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
701 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
702 "transferPrices": [
703 {
704 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
705 "name": "GROUP",
706 "adultPlaces": 1,
707 "childPlaces": 1,
708 "perPersonPrice": true,
709 "adultPrice": 0,
710 "childPrice": 0
711 },
712 {
713 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
714 "name": "MINIVAN",
715 "adultPlaces": 5,
716 "childPlaces": 0,
717 "perPersonPrice": false,
718 "adultPrice": 45.00000000,
719 "childPrice": 0
720 },
721 {
722 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
723 "name": "TOYOTA HIACE",
724 "adultPlaces": 9,
725 "childPlaces": 0,
726 "perPersonPrice": false,
727 "adultPrice": 50.00000000,
728 "childPrice": 0
729 },
730 {
731 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
732 "name": "HIGER BUS (27 SEATERS)",
733 "adultPlaces": 27,
734 "childPlaces": 0,
735 "perPersonPrice": false,
736 "adultPrice": 85.00000000,
737 "childPrice": 0
738 },
739 {
740 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
741 "name": "HIGER 53",
742 "adultPlaces": 51,
743 "childPlaces": 0,
744 "perPersonPrice": false,
745 "adultPrice": 120.00000000,
746 "childPrice": 0
747 },
748 {
749 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
750 "name": "MERCEDES S CLASS 400",
751 "adultPlaces": 3,
752 "childPlaces": 0,
753 "perPersonPrice": false,
754 "adultPrice": 140.00000000,
755 "childPrice": 0
756 },
757 {
758 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
759 "name": "MERCEDES V CLASS",
760 "adultPlaces": 7,
761 "childPlaces": 0,
762 "perPersonPrice": false,
763 "adultPrice": 140.00000000,
764 "childPrice": 0
765 },
766 {
767 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
768 "name": "MERCEDES S CLASS 500",
769 "adultPlaces": 3,
770 "childPlaces": 0,
771 "perPersonPrice": false,
772 "adultPrice": 165.00000000,
773 "childPrice": 0
774 }
775 ]
776 },
777 {
778 "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
779 "type": "Departure",
780 "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
781 "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
782 "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
783 "transferPrices": [
784 {
785 "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
786 "name": "GROUP",
787 "adultPlaces": 1,
788 "childPlaces": 1,
789 "perPersonPrice": true,
790 "adultPrice": 0,
791 "childPrice": 0
792 },
793 {
794 "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
795 "name": "MINIVAN",
796 "adultPlaces": 5,
797 "childPlaces": 0,
798 "perPersonPrice": false,
799 "adultPrice": 45.00000000,
800 "childPrice": 0
801 },
802 {
803 "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
804 "name": "TOYOTA HIACE",
805 "adultPlaces": 9,
806 "childPlaces": 0,
807 "perPersonPrice": false,
808 "adultPrice": 50.00000000,
809 "childPrice": 0
810 },
811 {
812 "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
813 "name": "HIGER BUS (27 SEATERS)",
814 "adultPlaces": 27,
815 "childPlaces": 0,
816 "perPersonPrice": false,
817 "adultPrice": 85.00000000,
818 "childPrice": 0
819 },
820 {
821 "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
822 "name": "HIGER 53",
823 "adultPlaces": 51,
824 "childPlaces": 0,
825 "perPersonPrice": false,
826 "adultPrice": 120.00000000,
827 "childPrice": 0
828 },
829 {
830 "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
831 "name": "MERCEDES S CLASS 400",
832 "adultPlaces": 3,
833 "childPlaces": 0,
834 "perPersonPrice": false,
835 "adultPrice": 140.00000000,
836 "childPrice": 0
837 },
838 {
839 "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
840 "name": "MERCEDES V CLASS",
841 "adultPlaces": 7,
842 "childPlaces": 0,
843 "perPersonPrice": false,
844 "adultPrice": 140.00000000,
845 "childPrice": 0
846 },
847 {
848 "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
849 "name": "MERCEDES S CLASS 500",
850 "adultPlaces": 3,
851 "childPlaces": 0,
852 "perPersonPrice": false,
853 "adultPrice": 165.00000000,
854 "childPrice": 0
855 }
856 ]
857 }
858 ],
859 "description": " "
860 }
861 ],
862 "visas": [
863 {
864 "prid": "00000000-0000-0000-0000-000000000000",
865 "prName": "WITHOUT VISA",
866 "prValue": 0.00000000,
867 "sortingOrder": 4
868 },
869 {
870 "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b",
871 "prName": "TOURIST VISA",
872 "prValue": 80.01000000,
873 "sortingOrder": 2
874 },
875 {
876 "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb",
877 "prName": "SERVICE VISA",
878 "prValue": 120.08000000,
879 "sortingOrder": 3
880 }
881 ],
882 "terminals": [
883 {
884 "terminalCode": "DXB2",
885 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
886 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
887 "terminalName": "DXB2",
888 "countryCode": "AE"
889 },
890 {
891 "terminalCode": "DXB3",
892 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
893 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
894 "terminalName": "DXB3",
895 "countryCode": "AE"
896 },
897 {
898 "terminalCode": "ETD",
899 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
900 "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
901 "terminalName": "Etihad Main Office Dubai",
902 "countryCode": "AE",
903 "note": "Noor Islamic Bank MS"
904 },
905 {
906 "terminalCode": "XGD",
907 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
908 "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf",
909 "terminalName": "Dnata - Clock Tower",
910 "countryCode": "AE"
911 },
912 {
913 "terminalCode": "Etihad Bus Station",
914 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
915 "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
916 "terminalName": "Etihad Bus Station",
917 "countryCode": "AE"
918 },
919 {
920 "terminalCode": "DXB1",
921 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
922 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
923 "terminalName": "DXB1",
924 "countryCode": "AE"
925 },
926 {
927 "terminalCode": "DWC",
928 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
929 "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444",
930 "terminalName": "DWC",
931 "countryCode": "AE",
932 "note": "Al Maktoum intl. airport"
933 },
934 {
935 "terminalCode": "DXB",
936 "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
937 "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
938 "terminalName": "DXB",
939 "countryCode": "AE"
940 },
941 {
942 "terminalCode": "SHJ",
943 "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
944 "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d",
945 "terminalName": "SHJ",
946 "countryCode": "AE"
947 },
948 {
949 "terminalCode": "AUH",
950 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
951 "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
952 "terminalName": "AUH",
953 "countryCode": "AE"
954 },
955 {
956 "terminalCode": "QIW",
957 "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88",
958 "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94",
959 "terminalName": "Um Al Quwain Terminal ",
960 "countryCode": "AE"
961 },
962 {
963 "terminalCode": "AUH3",
964 "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
965 "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
966 "terminalName": "AUH3",
967 "countryCode": "AE"
968 },
969 {
970 "terminalCode": "QAJ",
971 "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d",
972 "districtUID": "70e57708-9de2-4505-b550-f4627ae40877",
973 "terminalName": "Ajman Terminal ",
974 "countryCode": "AE"
975 },
976 {
977 "terminalCode": "RKT",
978 "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b",
979 "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42",
980 "terminalName": "Ras Al Khaimah Terminal ",
981 "countryCode": "AE"
982 },
983 {
984 "terminalCode": "FJR",
985 "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222",
986 "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82",
987 "terminalName": "Fujairah Terminal ",
988 "countryCode": "AE"
989 }
990 ],
991 "containsError": false,
992 "refreshPriceResult": "Success",
993 "reservationId": "d295362b-1083-4896-86c2-b2935715c5b9",
994 "reservationDetailsUnavailable": false,
995 "error": false
996 }
997 {{/code}}
998
999
1000 === Schema ===
1001
1002 {{success}}
1003 CalcOnlyHotelPackageResponse{
1004
1005 |error|boolean
1006 |errorCode|string
1007 nullable: true
1008 |errorDescription|string
1009 nullable: true
1010 |userErrorDescription|string
1011 nullable: true
1012 |package|OnlyHotelPackage{(((
1013 |id|string
1014 nullable: true
1015 |priceCurrency|string
1016 nullable: true
1017 |totalPrice|number($double)
1018 |agentCommissionPercent|number($double)
1019 |agentCommissionAmount|number($double)
1020 |hotel|PackageHotel{(((
1021 |hotelPriceId|string
1022 nullable: true
1023 |providerId|integer($int32)
1024 |hotelName|string
1025 nullable: true
1026 |hotelCode|string
1027 nullable: true
1028 |nigths|integer($int32)
1029 |mealPlan|string
1030 nullable: true
1031 |hotelClass|string
1032 nullable: true
1033 |availabilityType|RoomAvailabilityTypeEnumstringEnum:
1034 [ OnRequest, FreeSale, StopSale ]
1035 |availableRoomsCount|integer($int32)
1036 |fewRooms|boolean
1037 |roomCategoryCode|string
1038 nullable: true
1039 |roomCategoryName|string
1040 nullable: true
1041 |placementTypeName|string
1042 nullable: true
1043 |placementDescription|string
1044 nullable: true
1045 |checkInDate|string($date-time)
1046 |checkOutDate|string($date-time)
1047 |adults|integer($int32)
1048 |children|integer($int32)
1049 |districtUID|string($uuid)
1050 nullable: true
1051 |districtName|string
1052 nullable: true
1053 |cityUID|string($uuid)
1054 nullable: true
1055 |cityName|string
1056 nullable: true
1057 |countryCode|string
1058 nullable: true
1059 |countryName|string
1060 nullable: true
1061 |hasAlcohol|boolean
1062 |hasFreeWifi|boolean
1063 |hasMetro|boolean
1064 |hasPool|boolean
1065 |hasMall|boolean
1066 |cancellationPolicyDescription|string
1067 nullable: true
1068 |cancellationPolicy|CancellationPolicyExchange{(((
1069 |cancellationPolicyCode|string
1070 nullable: true
1071 |noShowChargeValue|number($double)
1072 nullable: true
1073 |noShowChargeValueType|string
1074 nullable: true
1075 |earlyDepartureChargeValue|number($double)
1076 nullable: true
1077 |earlyDepartureChargeValueType|string
1078 nullable: true
1079 |conditions|[
1080 nullable: trueCancellationPolicyConditionExchange{(((
1081 |timeunits|integer($int32)
1082 |timeunitType|string
1083 nullable: true
1084 |timeOffsetTypeName|string
1085 nullable: true
1086 |chargeValue|number($double)
1087 nullable: true
1088 |chargeValueType|string
1089 nullable: true
1090
1091 }]
1092 )))
1093
1094 }
1095 )))
1096
1097 }
1098 )))
1099 |extraServices|[
1100 nullable: trueHotelExtraServiceBase{(((
1101 |extraServiceCode|string
1102 nullable: true
1103 |extraServiceTypeCode|string
1104 nullable: true
1105 |isMandatory|integer($int32)
1106 |extraServiceName|string
1107 nullable: true
1108 |minimalServiceAmount|number($double)
1109 |includedPriceCode|string
1110 nullable: true
1111 |prices|[
1112 nullable: trueHotelExtraServicePriceBase{(((
1113 |extraServicePriceCode|string
1114 nullable: true
1115 |displayName|string
1116 nullable: true
1117 |restrictionInfo|string
1118 nullable: true
1119 |additionalInfo|string
1120 nullable: true
1121 |price|number($double)
1122 |extraPrice|number($double)
1123 |currency|string
1124 nullable: true
1125
1126 }]
1127 )))
1128
1129 }]
1130 )))
1131
1132 }
1133 )))
1134
1135 }
1136 {{/success}}