Changes for page 1. SearchOnlyAvia

Last modified by Giorgi Mdivnishvili on 2024/06/11 17:07

From version 4.1
edited by Giorgi Mdivnishvili
on 2023/12/14 16:22
Change comment: There is no comment for this version
To version 7.1
edited by Giorgi Mdivnishvili
on 2023/12/18 12:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,7 +12,7 @@
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
15 -[[https:~~/~~/online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage]]
15 +[[https:~~/~~/online-api.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages>>https://online-api.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages]]
16 16  {{/info}}
17 17  
18 18  
... ... @@ -27,23 +27,52 @@
27 27  == Request Body ==
28 28  
29 29  {{code language="Json"}}
30 -none{
31 - "packageId": "string",
32 - "extraServicePriceCodes": [
33 - "string"
34 - ]
30 +{
31 + "flightRequests": [
32 + {
33 + "departureDate": "2023-12-18T08:33:20.358Z",
34 + "returnDate": "2023-12-18T08:33:20.358Z",
35 + "departureLocation": "string",
36 + "departureType": "string",
37 + "arrivalLocation": "string",
38 + "arrivalType": "string"
39 + }
40 + ],
41 + "adults": 0,
42 + "children": 0,
43 + "childrenAges": [
44 + 0
45 + ],
46 + "ticketType": "string",
47 + "longConnectTime": true,
48 + "directFlightsOnly": true,
49 + "pagingId": "string",
50 + "pageNumber": 0,
51 + "pageRowCount": 0
35 35  }
36 36  {{/code}}
37 37  
38 -== (% id="cke_bm_10575S" style="display:none" %) (%%)Request Body example ==
39 39  
56 +== Request Body example ==
57 +
40 40  {{code language="Json"}}
41 41  {
42 - "packageId": "onlyhotel:c4e23e7e-3d54-4efa-a3db-88508230ce91:504f63ca-6dd5-4d84-8245-cf7e77ccff73",
43 - "extraServicePriceCodes": [
44 -
45 - ]
60 + "flightRequests": [
61 + {
62 + "arrivalLocation": "DXB",
63 + "arrivalType": "airport",
64 + "departureDate": "2023-12-22T20:00:00.000Z",
65 + "departureLocation": "ALA",
66 + "departureType": "airport",
67 + "returnDate": "2023-12-28T20:00:00.000Z"
68 + }
69 + ],
70 + "adults": 1,
71 + "children": 0,
72 + "isBusinessClass": false,
73 + "_flightTicketType": "roundTrip"
46 46  }
75 +
47 47  {{/code}}
48 48  
49 49  
... ... @@ -51,86 +51,101 @@
51 51  
52 52  {{code language="json"}}
53 53  {
54 - "error": true,
55 - "errorCode": "string",
56 - "errorDescription": "string",
57 - "userErrorDescription": "string",
58 - "package": {
59 - "id": "string",
60 - "priceCurrency": "string",
61 - "totalPrice": 0,
62 - "agentCommissionPercent": 0,
63 - "agentCommissionAmount": 0,
64 - "hotel": {
65 - "hotelPriceId": "string",
66 - "providerId": 0,
67 - "hotelName": "string",
68 - "hotelCode": "string",
69 - "nigths": 0,
70 - "mealPlan": "string",
71 - "hotelClass": "string",
72 - "availabilityType": "OnRequest",
73 - "availableRoomsCount": 0,
74 - "fewRooms": true,
75 - "roomCategoryCode": "string",
76 - "roomCategoryName": "string",
77 - "placementTypeName": "string",
78 - "placementDescription": "string",
79 - "checkInDate": "2023-12-14T08:49:36.703Z",
80 - "checkOutDate": "2023-12-14T08:49:36.703Z",
81 - "adults": 0,
82 - "children": 0,
83 - "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
84 - "districtName": "string",
85 - "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
86 - "cityName": "string",
87 - "countryCode": "string",
88 - "countryName": "string",
89 - "hasAlcohol": true,
90 - "hasFreeWifi": true,
91 - "hasMetro": true,
92 - "hasPool": true,
93 - "hasMall": true,
94 - "cancellationPolicyDescription": "string",
95 - "cancellationPolicy": {
96 - "cancellationPolicyCode": "string",
97 - "noShowChargeValue": 0,
98 - "noShowChargeValueType": "string",
99 - "earlyDepartureChargeValue": 0,
100 - "earlyDepartureChargeValueType": "string",
101 - "conditions": [
83 + "airlines": [
84 + {
85 + "airlineCode": "string",
86 + "iataCode": "string",
87 + "icaoCode": "string",
88 + "airlineName": "string",
89 + "note": "string",
90 + "infantMaxAge": 0,
91 + "childMaxAge": 0
92 + }
93 + ],
94 + "packages": [
95 + {
96 + "id": "string",
97 + "priceCurrency": "string",
98 + "totalPrice": 0,
99 + "flight": {
100 + "id": "string",
101 + "departureDate": "2023-12-18T08:33:20.359Z",
102 + "returnDate": "2023-12-18T08:33:20.359Z",
103 + "departureTicketsLeft": 0,
104 + "returnTicketsLeft": 0,
105 + "departureAvailabilityType": "OnRequest",
106 + "returnAvailabilityType": "OnRequest",
107 + "isTwoWay": true,
108 + "departureSegments": [
102 102   {
103 - "timeunits": 0,
104 - "timeunitType": "string",
105 - "timeOffsetTypeName": "string",
106 - "chargeValue": 0,
107 - "chargeValueType": "string"
110 + "airlineCode": "string",
111 + "airlineName": "string",
112 + "flightCode": "string",
113 + "class": "string",
114 + "lugageWeight": 0,
115 + "handLugageWeight": 0,
116 + "departureFlightDate": "2023-12-18T08:33:20.359Z",
117 + "departureCountryName": "string",
118 + "departureCityName": "string",
119 + "departureAirportCode": "string",
120 + "departureAirportName": "string",
121 + "departureTerminalCode": "string",
122 + "arrivalFlightDate": "2023-12-18T08:33:20.359Z",
123 + "arrivalCountryName": "string",
124 + "arrivalCityName": "string",
125 + "arrivalAirportCode": "string",
126 + "arrivalAirportName": "string",
127 + "arrivalTerminalCode": "string",
128 + "flightDuration": "string",
129 + "baggages": [
130 + {
131 + "baggageCode": "string",
132 + "description": "string",
133 + "price": 0,
134 + "currency": "string",
135 + "included": true
136 + }
137 + ]
108 108   }
109 - ]
110 - }
111 - },
112 - "extraServices": [
113 - {
114 - "extraServiceCode": "string",
115 - "extraServiceTypeCode": "string",
116 - "isMandatory": 0,
117 - "extraServiceName": "string",
118 - "minimalServiceAmount": 0,
119 - "includedPriceCode": "string",
120 - "prices": [
139 + ],
140 + "returnSegments": [
121 121   {
122 - "extraServicePriceCode": "string",
123 - "displayName": "string",
124 - "restrictionInfo": "string",
125 - "additionalInfo": "string",
126 - "price": 0,
127 - "extraPrice": 0,
128 - "currency": "string"
142 + "airlineCode": "string",
143 + "airlineName": "string",
144 + "flightCode": "string",
145 + "class": "string",
146 + "lugageWeight": 0,
147 + "handLugageWeight": 0,
148 + "departureFlightDate": "2023-12-18T08:33:20.359Z",
149 + "departureCountryName": "string",
150 + "departureCityName": "string",
151 + "departureAirportCode": "string",
152 + "departureAirportName": "string",
153 + "departureTerminalCode": "string",
154 + "arrivalFlightDate": "2023-12-18T08:33:20.359Z",
155 + "arrivalCountryName": "string",
156 + "arrivalCityName": "string",
157 + "arrivalAirportCode": "string",
158 + "arrivalAirportName": "string",
159 + "arrivalTerminalCode": "string",
160 + "flightDuration": "string",
161 + "baggages": [
162 + {
163 + "baggageCode": "string",
164 + "description": "string",
165 + "price": 0,
166 + "currency": "string",
167 + "included": true
168 + }
169 + ]
129 129   }
130 130   ]
131 131   }
132 - ]
133 - }
173 + }
174 + ],
175 + "pagingId": "string",
176 + "pageNumber": 0,
177 + "pageCount": 0
134 134  }
135 135  {{/code}}
136 136  
... ... @@ -139,115 +139,586 @@
139 139  
140 140  {{code language="Json"}}
141 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": [
186 + "airlines": [
187 + {
188 + "airlineCode": "KC",
189 + "iataCode": "KC",
190 + "airlineName": "Air Astana.",
191 + "infantMaxAge": 0,
192 + "childMaxAge": 0
193 + },
194 + {
195 + "airlineCode": "FZ",
196 + "iataCode": "FZ",
197 + "airlineName": "Fly Dubai.",
198 + "infantMaxAge": 0,
199 + "childMaxAge": 0
200 + },
201 + {
202 + "airlineCode": "KC",
203 + "iataCode": "KC",
204 + "airlineName": "Air Astana-",
205 + "infantMaxAge": 0,
206 + "childMaxAge": 0
207 + },
208 + {
209 + "airlineCode": "FZ",
210 + "iataCode": "FZ",
211 + "airlineName": "Fly Dubai-",
212 + "infantMaxAge": 0,
213 + "childMaxAge": 0
214 + },
215 + {
216 + "airlineCode": "QR",
217 + "iataCode": "QR",
218 + "airlineName": "Qatar Airways-",
219 + "infantMaxAge": 0,
220 + "childMaxAge": 0
221 + },
222 + {
223 + "airlineCode": "J2",
224 + "iataCode": "J2",
225 + "airlineName": "Azerbaijan Airlines-",
226 + "infantMaxAge": 0,
227 + "childMaxAge": 0
228 + },
229 + {
230 + "airlineCode": "HY",
231 + "iataCode": "HY",
232 + "airlineName": "Uzbekistan Airways-",
233 + "infantMaxAge": 0,
234 + "childMaxAge": 0
235 + },
236 + {
237 + "airlineCode": "TK",
238 + "iataCode": "TK",
239 + "airlineName": "Turkish Airlines-",
240 + "infantMaxAge": 0,
241 + "childMaxAge": 0
242 + },
243 + {
244 + "airlineCode": "MS",
245 + "iataCode": "MS",
246 + "airlineName": "Egyptair-",
247 + "infantMaxAge": 0,
248 + "childMaxAge": 0
249 + },
250 + {
251 + "airlineCode": "PC",
252 + "iataCode": "PC",
253 + "airlineName": "Pegasus Airlines-",
254 + "infantMaxAge": 0,
255 + "childMaxAge": 0
256 + },
257 + {
258 + "airlineCode": "UK",
259 + "iataCode": "UK",
260 + "airlineName": "Sabre",
261 + "infantMaxAge": 0,
262 + "childMaxAge": 0
263 + },
264 + {
265 + "airlineCode": "EK",
266 + "iataCode": "EK",
267 + "airlineName": "Emirates-",
268 + "infantMaxAge": 0,
269 + "childMaxAge": 0
270 + },
271 + {
272 + "airlineCode": "3U",
273 + "iataCode": "3U",
274 + "airlineName": "Sabre",
275 + "infantMaxAge": 0,
276 + "childMaxAge": 0
277 + },
278 + {
279 + "airlineCode": "CZ",
280 + "iataCode": "CZ",
281 + "airlineName": "China Southern Airlines-",
282 + "infantMaxAge": 0,
283 + "childMaxAge": 0
284 + }
285 + ],
286 +"packages": [
287 + {
288 + "id": "onlyavia:a3129509-6799-4e98-a9ab-8566c0009403:026ab654-b452-43cd-9ebb-7e1b365c827a",
289 + "priceCurrency": "USD",
290 + "totalPrice": 80.0,
291 + "flight": {
292 + "id": "026ab654-b452-43cd-9ebb-7e1b365c827a",
293 + "departureDate": "2023-12-22T20:00:00.000Z",
294 + "returnDate": "2023-12-28T20:00:00.000Z",
295 + "departureTicketsLeft": 15,
296 + "returnTicketsLeft": 7,
297 + "departureAvailabilityType": "FreeSale",
298 + "returnAvailabilityType": "FewPlaces",
299 + "isTwoWay": true,
300 + "departureSegments": [
184 184   {
185 - "timeunits": 15,
186 - "timeunitType": "Day",
187 - "timeOffsetTypeName": "Before Arrival",
188 - "chargeValue": 100.00,
189 - "chargeValueType": "%"
302 + "airlineCode": "KC",
303 + "airlineName": "Air Astana.",
304 + "flightCode": "KC897",
305 + "class": "econom",
306 + "lugageWeight": 20,
307 + "handLugageWeight": 6,
308 + "departureFlightDate": "2023-12-22T20:00:00.000Z",
309 + "departureCountryName": "Kazakhstan",
310 + "departureCityName": "Almaty",
311 + "departureAirportCode": "ALA",
312 + "departureAirportName": "Almaty Intl Airport",
313 + "departureTerminalCode": "ALA",
314 + "arrivalFlightDate": "2023-12-22T20:00:00.000Z",
315 + "arrivalCountryName": "United Arab Emirates",
316 + "arrivalCityName": "Dubai",
317 + "arrivalAirportCode": "DXB",
318 + "arrivalAirportName": "Dubai Intl Airport",
319 + "arrivalTerminalCode": "DXB1",
320 + "flightDuration": "0h 50m",
321 + "baggages": [
322 + {
323 + "baggageCode": "INCLUDED",
324 + "description": "20 KG INCLUDED",
325 + "price": 0.0,
326 + "currency": "USD",
327 + "included": true
328 + }
329 + ]
190 190   }
331 + ],
332 + "returnSegments": [
333 + {
334 + "airlineCode": "KC",
335 + "airlineName": "Air Astana.",
336 + "flightCode": "KC898",
337 + "class": "econom",
338 + "lugageWeight": 20,
339 + "handLugageWeight": 6,
340 + "departureFlightDate": "2023-12-28T20:00:00.000Z",
341 + "departureCountryName": "United Arab Emirates",
342 + "departureCityName": "Dubai",
343 + "departureAirportCode": "DXB",
344 + "departureAirportName": "Dubai Intl Airport",
345 + "departureTerminalCode": "DXB1",
346 + "arrivalFlightDate": "2023-12-28T20:00:00.000Z",
347 + "arrivalCountryName": "Kazakhstan",
348 + "arrivalCityName": "Almaty",
349 + "arrivalAirportCode": "ALA",
350 + "arrivalAirportName": "Almaty Intl Airport",
351 + "arrivalTerminalCode": "ALA",
352 + "flightDuration": "8h 15m",
353 + "baggages": [
354 + {
355 + "baggageCode": "INCLUDED",
356 + "description": "20 KG INCLUDED",
357 + "price": 0.0,
358 + "currency": "USD",
359 + "included": true
360 + }
361 + ]
362 + }
191 191   ]
192 192   }
193 193   },
194 - "extraServices": []
195 - },
196 - "error": false
197 -}
366 + {
367 + "id": "onlyavia:a3129509-6799-4e98-a9ab-8566c0009403:e4d71fb2-18e7-4cbc-a8de-4dee96f8d859",
368 + "priceCurrency": "USD",
369 + "totalPrice": 80.0,
370 + "flight": {
371 + "id": "e4d71fb2-18e7-4cbc-a8de-4dee96f8d859",
372 + "departureDate": "2023-12-22T20:00:00.000Z",
373 + "returnDate": "2023-12-28T20:00:00.000Z",
374 + "departureTicketsLeft": 15,
375 + "returnTicketsLeft": 30,
376 + "departureAvailabilityType": "FewPlaces",
377 + "returnAvailabilityType": "FreeSale",
378 + "isTwoWay": true,
379 + "departureSegments": [
380 + {
381 + "airlineCode": "KC",
382 + "airlineName": "Air Astana.",
383 + "flightCode": "KC897",
384 + "class": "econom",
385 + "lugageWeight": 20,
386 + "handLugageWeight": 6,
387 + "departureFlightDate": "2023-12-22T20:00:00.000Z",
388 + "departureCountryName": "Kazakhstan",
389 + "departureCityName": "Almaty",
390 + "departureAirportCode": "ALA",
391 + "departureAirportName": "Almaty Intl Airport",
392 + "departureTerminalCode": "ALA",
393 + "arrivalFlightDate": "2023-12-22T20:00:00.000Z",
394 + "arrivalCountryName": "United Arab Emirates",
395 + "arrivalCityName": "Dubai",
396 + "arrivalAirportCode": "DXB",
397 + "arrivalAirportName": "Dubai Intl Airport",
398 + "arrivalTerminalCode": "DXB1",
399 + "flightDuration": "0h 50m",
400 + "baggages": [
401 + {
402 + "baggageCode": "INCLUDED",
403 + "description": "20 KG INCLUDED",
404 + "price": 0.0,
405 + "currency": "USD",
406 + "included": true
407 + }
408 + ]
409 + }
410 + ],
411 + "returnSegments": [
412 + {
413 + "airlineCode": "KC",
414 + "airlineName": "Air Astana.",
415 + "flightCode": "KC900",
416 + "class": "econom",
417 + "lugageWeight": 20,
418 + "handLugageWeight": 6,
419 + "departureFlightDate": "2023-12-28T20:00:00.000Z",
420 + "departureCountryName": "United Arab Emirates",
421 + "departureCityName": "Dubai",
422 + "departureAirportCode": "DXB",
423 + "departureAirportName": "Dubai Intl Airport",
424 + "departureTerminalCode": "DXB1",
425 + "arrivalFlightDate": "2023-12-27T20:00:00.000Z",
426 + "arrivalCountryName": "Kazakhstan",
427 + "arrivalCityName": "Almaty",
428 + "arrivalAirportCode": "ALA",
429 + "arrivalAirportName": "Almaty Intl Airport",
430 + "arrivalTerminalCode": "ALA",
431 + "flightDuration": "-45m",
432 + "baggages": [
433 + {
434 + "baggageCode": "INCLUDED",
435 + "description": "20 KG INCLUDED",
436 + "price": 0.0,
437 + "currency": "USD",
438 + "included": true
439 + }
440 + ]
441 + }
442 + ]
443 + }
444 + },
445 + {
446 + "id": "onlyavia:a3129509-6799-4e98-a9ab-8566c0009403:9501fa2a-aaaa-49bf-9e4f-532f4742a45c",
447 + "priceCurrency": "USD",
448 + "totalPrice": 80.0,
449 + "flight": {
450 + "id": "9501fa2a-aaaa-49bf-9e4f-532f4742a45c",
451 + "departureDate": "2023-12-22T20:00:00.000Z",
452 + "returnDate": "2023-12-28T20:00:00.000Z",
453 + "departureTicketsLeft": 26,
454 + "returnTicketsLeft": 30,
455 + "departureAvailabilityType": "FewPlaces",
456 + "returnAvailabilityType": "FreeSale",
457 + "isTwoWay": true,
458 + "departureSegments": [
459 + {
460 + "airlineCode": "KC",
461 + "airlineName": "Air Astana.",
462 + "flightCode": "KC899",
463 + "class": "econom",
464 + "lugageWeight": 20,
465 + "handLugageWeight": 6,
466 + "departureFlightDate": "2023-12-22T20:00:00.000Z",
467 + "departureCountryName": "Kazakhstan",
468 + "departureCityName": "Almaty",
469 + "departureAirportCode": "ALA",
470 + "departureAirportName": "Almaty Intl Airport",
471 + "departureTerminalCode": "ALA",
472 + "arrivalFlightDate": "2023-12-22T20:00:00.000Z",
473 + "arrivalCountryName": "United Arab Emirates",
474 + "arrivalCityName": "Dubai",
475 + "arrivalAirportCode": "DXB",
476 + "arrivalAirportName": "Dubai Intl Airport",
477 + "arrivalTerminalCode": "DXB1",
478 + "flightDuration": "0h 55m",
479 + "baggages": [
480 + {
481 + "baggageCode": "INCLUDED",
482 + "description": "20 KG INCLUDED",
483 + "price": 0.0,
484 + "currency": "USD",
485 + "included": true
486 + }
487 + ]
488 + }
489 + ],
490 + "returnSegments": [
491 + {
492 + "airlineCode": "KC",
493 + "airlineName": "Air Astana.",
494 + "flightCode": "KC900",
495 + "class": "econom",
496 + "lugageWeight": 20,
497 + "handLugageWeight": 6,
498 + "departureFlightDate": "2023-12-28T20:00:00.000Z",
499 + "departureCountryName": "United Arab Emirates",
500 + "departureCityName": "Dubai",
501 + "departureAirportCode": "DXB",
502 + "departureAirportName": "Dubai Intl Airport",
503 + "departureTerminalCode": "DXB1",
504 + "arrivalFlightDate": "2023-12-27T20:00:00.000Z",
505 + "arrivalCountryName": "Kazakhstan",
506 + "arrivalCityName": "Almaty",
507 + "arrivalAirportCode": "ALA",
508 + "arrivalAirportName": "Almaty Intl Airport",
509 + "arrivalTerminalCode": "ALA",
510 + "flightDuration": "-45m",
511 + "baggages": [
512 + {
513 + "baggageCode": "INCLUDED",
514 + "description": "20 KG INCLUDED",
515 + "price": 0.0,
516 + "currency": "USD",
517 + "included": true
518 + }
519 + ]
520 + }
521 + ]
522 + }
523 + },
524 + {
525 + "id": "onlyavia:a3129509-6799-4e98-a9ab-8566c0009403:d186456b-7640-47f7-b083-790026809190",
526 + "priceCurrency": "USD",
527 + "totalPrice": 80.0,
528 + "flight": {
529 + "id": "d186456b-7640-47f7-b083-790026809190",
530 + "departureDate": "2023-12-22T20:00:00.000Z",
531 + "returnDate": "2023-12-28T20:00:00.000Z",
532 + "departureTicketsLeft": 26,
533 + "returnTicketsLeft": 7,
534 + "departureAvailabilityType": "FreeSale",
535 + "returnAvailabilityType": "FewPlaces",
536 + "isTwoWay": true,
537 + "departureSegments": [
538 + {
539 + "airlineCode": "KC",
540 + "airlineName": "Air Astana.",
541 + "flightCode": "KC899",
542 + "class": "econom",
543 + "lugageWeight": 20,
544 + "handLugageWeight": 6,
545 + "departureFlightDate": "2023-12-22T20:00:00.000Z",
546 + "departureCountryName": "Kazakhstan",
547 + "departureCityName": "Almaty",
548 + "departureAirportCode": "ALA",
549 + "departureAirportName": "Almaty Intl Airport",
550 + "departureTerminalCode": "ALA",
551 + "arrivalFlightDate": "2023-12-22T20:00:00.000Z",
552 + "arrivalCountryName": "United Arab Emirates",
553 + "arrivalCityName": "Dubai",
554 + "arrivalAirportCode": "DXB",
555 + "arrivalAirportName": "Dubai Intl Airport",
556 + "arrivalTerminalCode": "DXB1",
557 + "flightDuration": "0h 55m",
558 + "baggages": [
559 + {
560 + "baggageCode": "INCLUDED",
561 + "description": "20 KG INCLUDED",
562 + "price": 0.0,
563 + "currency": "USD",
564 + "included": true
565 + }
566 + ]
567 + }
568 + ],
569 + "returnSegments": [
570 + {
571 + "airlineCode": "KC",
572 + "airlineName": "Air Astana.",
573 + "flightCode": "KC898",
574 + "class": "econom",
575 + "lugageWeight": 20,
576 + "handLugageWeight": 6,
577 + "departureFlightDate": "2023-12-28T20:00:00.000Z",
578 + "departureCountryName": "United Arab Emirates",
579 + "departureCityName": "Dubai",
580 + "departureAirportCode": "DXB",
581 + "departureAirportName": "Dubai Intl Airport",
582 + "departureTerminalCode": "DXB1",
583 + "arrivalFlightDate": "2023-12-28T20:00:00.000Z",
584 + "arrivalCountryName": "Kazakhstan",
585 + "arrivalCityName": "Almaty",
586 + "arrivalAirportCode": "ALA",
587 + "arrivalAirportName": "Almaty Intl Airport",
588 + "arrivalTerminalCode": "ALA",
589 + "flightDuration": "8h 15m",
590 + "baggages": [
591 + {
592 + "baggageCode": "INCLUDED",
593 + "description": "20 KG INCLUDED",
594 + "price": 0.0,
595 + "currency": "USD",
596 + "included": true
597 + }
598 + ]
599 + }
600 + ]
601 + }
602 + },
603 + {
198 198  {{/code}}
199 199  
200 200  
201 201  === Schema ===
202 202  
203 -{{code language="none"}}
204 -CalcOnlyHotelPackageResponse{
205 -error boolean
206 -errorCode string
207 -nullable: true
208 -errorDescription string
209 -nullable: true
210 -userErrorDescription string
211 -nullable: true
212 -package OnlyHotelPackage{
213 -id string
214 -nullable: true
215 -priceCurrency string
216 -nullable: true
217 -totalPrice number($double)
218 -agentCommissionPercent number($double)
219 -agentCommissionAmount number($double)
220 -hotel PackageHotel{...}
221 -extraServices [
222 -nullable: true
223 -HotelExtraServiceBase{
224 -extraServiceCode string
225 -nullable: true
226 -extraServiceTypeCode string
227 -nullable: true
228 -isMandatory integer($int32)
229 -extraServiceName string
230 -nullable: true
231 -minimalServiceAmount number($double)
232 -includedPriceCode string
233 -nullable: true
234 -prices [
235 -nullable: true
236 -HotelExtraServicePriceBase{
237 -extraServicePriceCode string
238 -nullable: true
239 -displayName string
240 -nullable: true
241 -restrictionInfo string
242 -nullable: true
243 -additionalInfo string
244 -nullable: true
245 -price number($double)
246 -extraPrice number($double)
247 -currency string
248 -nullable: true
609 +{{success}}
610 +SearchOnlyAviaPackagesResponse{
611 +
612 +|airlines|[
613 +nullable: trueAirline{(((
614 +|airlineCode|string
615 +nullable: true
616 +readOnly: true
617 +|iataCode|string
618 +nullable: true
619 +|icaoCode|string
620 +nullable: true
621 +|airlineName|string
622 +nullable: true
623 +|note|string
624 +nullable: true
625 +|infantMaxAge|number($double)
626 +|childMaxAge|number($double)
627 +
249 249  }]
629 +)))
630 +|packages|[
631 +nullable: trueOnlyAviaPackage{(((
632 +|id|string
633 +nullable: true
634 +|priceCurrency|string
635 +nullable: true
636 +|totalPrice|number($double)
637 +|flight|PackageFlight{(((
638 +|id|string
639 +nullable: true
640 +|departureDate|string($date-time)
641 +|returnDate|string($date-time)
642 +nullable: true
643 +|departureTicketsLeft|integer($int32)
644 +|returnTicketsLeft|integer($int32)
645 +|departureAvailabilityType|FlightAvailabilityTypestringEnum:
646 +[ OnRequest, FreeSale, FewPlaces, StopSale ]
647 +|returnAvailabilityType|FlightAvailabilityTypestringEnum:
648 +[ OnRequest, FreeSale, FewPlaces, StopSale ]
649 +|isTwoWay|boolean
650 +|departureSegments|[
651 +nullable: trueFlightSegment{(((
652 +|airlineCode|string
653 +nullable: true
654 +|airlineName|string
655 +nullable: true
656 +|flightCode|string
657 +nullable: true
658 +|class|string
659 +nullable: true
660 +|lugageWeight|number($double)
661 +|handLugageWeight|number($double)
662 +|departureFlightDate|string($date-time)
663 +|departureCountryName|string
664 +nullable: true
665 +|departureCityName|string
666 +nullable: true
667 +|departureAirportCode|string
668 +nullable: true
669 +|departureAirportName|string
670 +nullable: true
671 +|departureTerminalCode|string
672 +nullable: true
673 +|arrivalFlightDate|string($date-time)
674 +|arrivalCountryName|string
675 +nullable: true
676 +|arrivalCityName|string
677 +nullable: true
678 +|arrivalAirportCode|string
679 +nullable: true
680 +|arrivalAirportName|string
681 +nullable: true
682 +|arrivalTerminalCode|string
683 +nullable: true
684 +|flightDuration|string
685 +nullable: true
686 +|baggages|[
687 +nullable: trueBaggage{(((
688 +|baggageCode|string
689 +nullable: true
690 +|description|string
691 +nullable: true
692 +|price|number($double)
693 +|currency|string
694 +nullable: true
695 +|included|boolean
696 +
250 250  }]
698 +)))
699 +
700 +}]
701 +)))
702 +|returnSegments|[
703 +nullable: trueFlightSegment{(((
704 +|airlineCode|string
705 +nullable: true
706 +|airlineName|string
707 +nullable: true
708 +|flightCode|string
709 +nullable: true
710 +|class|string
711 +nullable: true
712 +|lugageWeight|number($double)
713 +|handLugageWeight|number($double)
714 +|departureFlightDate|string($date-time)
715 +|departureCountryName|string
716 +nullable: true
717 +|departureCityName|string
718 +nullable: true
719 +|departureAirportCode|string
720 +nullable: true
721 +|departureAirportName|string
722 +nullable: true
723 +|departureTerminalCode|string
724 +nullable: true
725 +|arrivalFlightDate|string($date-time)
726 +|arrivalCountryName|string
727 +nullable: true
728 +|arrivalCityName|string
729 +nullable: true
730 +|arrivalAirportCode|string
731 +nullable: true
732 +|arrivalAirportName|string
733 +nullable: true
734 +|arrivalTerminalCode|string
735 +nullable: true
736 +|flightDuration|string
737 +nullable: true
738 +|baggages|[
739 +nullable: trueBaggage{(((
740 +|baggageCode|string
741 +nullable: true
742 +|description|string
743 +nullable: true
744 +|price|number($double)
745 +|currency|string
746 +nullable: true
747 +|included|boolean
748 +
749 +}]
750 +)))
751 +
752 +}]
753 +)))
754 +
251 251  }
756 +)))
757 +
758 +}]
759 +)))
760 +|pagingId|string
761 +nullable: true
762 +|pageNumber|integer($int64)
763 +|pageCount|integer($int64)
764 +
252 252  }
253 -{{/code}}
766 +{{/success}}
767 +
768 +