Changes for page 2. GetOtherFlights

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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -2. GetOtherFlights
1 +GetOtherFlights
Content
... ... @@ -12,7 +12,7 @@
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
15 -{{{ }}}
15 +{{{https://online-api.kazunion.com/api/TourPackages/GetOtherFlights}}}
16 16  {{/info}}
17 17  
18 18  == Request Parameters ==
... ... @@ -197,8 +197,13 @@
197 197  
198 198  {{code language="json"}}
199 199  {
200 + "error": true,
201 + "errorCode": "string",
202 + "errorDescription": "string",
203 + "userErrorDescription": "string",
200 200   "packages": [
201 201   {
206 + "cacheKey": "string",
202 202   "id": "string",
203 203   "priceCurrency": "string",
204 204   "totalPrice": 0,
... ... @@ -221,8 +221,8 @@
221 221   "roomCategoryName": "string",
222 222   "placementTypeName": "string",
223 223   "placementDescription": "string",
224 - "checkInDate": "2023-12-18T14:03:10.148Z",
225 - "checkOutDate": "2023-12-18T14:03:10.148Z",
229 + "checkInDate": "2023-12-14T13:47:13.396Z",
230 + "checkOutDate": "2023-12-14T13:47:13.396Z",
226 226   "adults": 0,
227 227   "children": 0,
228 228   "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
... ... @@ -256,8 +256,8 @@
256 256   },
257 257   "flight": {
258 258   "id": "string",
259 - "departureDate": "2023-12-18T14:03:10.148Z",
260 - "returnDate": "2023-12-18T14:03:10.148Z",
264 + "departureDate": "2023-12-14T13:47:13.396Z",
265 + "returnDate": "2023-12-14T13:47:13.396Z",
261 261   "departureTicketsLeft": 0,
262 262   "returnTicketsLeft": 0,
263 263   "departureAvailabilityType": "OnRequest",
... ... @@ -271,13 +271,13 @@
271 271   "class": "string",
272 272   "lugageWeight": 0,
273 273   "handLugageWeight": 0,
274 - "departureFlightDate": "2023-12-18T14:03:10.148Z",
279 + "departureFlightDate": "2023-12-14T13:47:13.396Z",
275 275   "departureCountryName": "string",
276 276   "departureCityName": "string",
277 277   "departureAirportCode": "string",
278 278   "departureAirportName": "string",
279 279   "departureTerminalCode": "string",
280 - "arrivalFlightDate": "2023-12-18T14:03:10.148Z",
285 + "arrivalFlightDate": "2023-12-14T13:47:13.396Z",
281 281   "arrivalCountryName": "string",
282 282   "arrivalCityName": "string",
283 283   "arrivalAirportCode": "string",
... ... @@ -303,13 +303,13 @@
303 303   "class": "string",
304 304   "lugageWeight": 0,
305 305   "handLugageWeight": 0,
306 - "departureFlightDate": "2023-12-18T14:03:10.148Z",
311 + "departureFlightDate": "2023-12-14T13:47:13.396Z",
307 307   "departureCountryName": "string",
308 308   "departureCityName": "string",
309 309   "departureAirportCode": "string",
310 310   "departureAirportName": "string",
311 311   "departureTerminalCode": "string",
312 - "arrivalFlightDate": "2023-12-18T14:03:10.148Z",
317 + "arrivalFlightDate": "2023-12-14T13:47:13.396Z",
313 313   "arrivalCountryName": "string",
314 314   "arrivalCityName": "string",
315 315   "arrivalAirportCode": "string",
... ... @@ -353,14 +353,16 @@
353 353   "name": "string",
354 354   "price": 0,
355 355   "priceSurcarge": 0,
356 - "actualStartDate": "2023-12-18T14:03:10.148Z",
357 - "actualEndDate": "2023-12-18T14:03:10.148Z",
361 + "actualStartDate": "2023-12-14T13:47:13.396Z",
362 + "actualEndDate": "2023-12-14T13:47:13.396Z",
358 358   "optional": true,
359 359   "includedInPackagePrice": true
360 - },
361 - "cacheKey": "string"
365 + }
362 362   }
363 - ]
367 + ],
368 + "pagingId": "string",
369 + "pageNumber": 0,
370 + "pageCount": 0
364 364  }
365 365  {{/code}}
366 366  
... ... @@ -375,10 +375,19 @@
375 375  === Schema ===
376 376  
377 377  {{success}}
378 -GetOtherFlightsResponse{
385 +SearchTourPackagesResponse{
379 379  
387 +|error|boolean
388 +|errorCode|string
389 +nullable: true
390 +|errorDescription|string
391 +nullable: true
392 +|userErrorDescription|string
393 +nullable: true
380 380  |packages|[
381 381  nullable: trueTourPackage{(((
396 +|cacheKey|string
397 +nullable: true
382 382  |id|string
383 383  nullable: true
384 384  |priceCurrency|string
... ... @@ -631,13 +631,14 @@
631 631  
632 632  }
633 633  )))
634 -|cacheKey|string
635 -nullable: true
636 636  
637 637  }]
638 638  )))
653 +|pagingId|string
654 +nullable: true
655 +|pageNumber|integer($int64)
656 +|pageCount|integer($int64)
639 639  
640 640  }
641 641  {{/success}}
642 642  
643 -