Changes for page 2. GetOtherFlights

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

From version 3.1
edited by Giorgi Mdivnishvili
on 2023/12/18 18:03
Change comment: There is no comment for this version
To version 15.1
edited by Giorgi Mdivnishvili
on 2024/04/11 17:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -GetOtherFlights
1 +2. GetOtherFlights
Content
... ... @@ -6,13 +6,22 @@
6 6  
7 7  = Method Description =
8 8  
9 -The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods.
9 +After searching available tour packages according to your preferences, it's possible to choose alternate flight options. with this method it's possible to in same dates find alternative flights options.
10 10  
11 +The system enables users to initiate a detailed evaluation workflow for the selected package. This evaluation includes:
11 11  
13 +1. **Data Retrieval**: Automated fetching of extensive details related to the selected package, ensuring a complete dataset is available for user review.
14 +1. **Price Recalculation**: Implementation of dynamic pricing algorithms to recalculate the cost of the package in real-time, considering current availability, user preferences, and potential discounts.
15 +1. **Variant Exploration**: Activation of mechanisms to navigate and assess alternative package variations, offering users a breadth of options based on predefined criteria such as duration, included amenities, and price points.
16 +1. **Condition Assessment**: Provision of a detailed parsing and presentation layer for the terms and conditions associated with the package, enabling users to programmatically understand obligations, benefits, and limitations.
17 +
18 +This functionality is designed to support an informed decision-making process by providing a comprehensive, algorithm-driven analysis of each package from a technical and user-centric standpoint.
19 +
20 +
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
15 -{{{https://online-api.kazunion.com/api/TourPackages/GetOtherFlights}}}
24 +[[https:~~/~~/integration.kazunion.com/api/TourPackages/GetOtherFlights>>https://integration.kazunion.com/api/TourPackages/GetOtherFlights]]
16 16  {{/info}}
17 17  
18 18  == Request Parameters ==
... ... @@ -197,13 +197,8 @@
197 197  
198 198  {{code language="json"}}
199 199  {
200 - "error": true,
201 - "errorCode": "string",
202 - "errorDescription": "string",
203 - "userErrorDescription": "string",
204 204   "packages": [
205 205   {
206 - "cacheKey": "string",
207 207   "id": "string",
208 208   "priceCurrency": "string",
209 209   "totalPrice": 0,
... ... @@ -226,8 +226,8 @@
226 226   "roomCategoryName": "string",
227 227   "placementTypeName": "string",
228 228   "placementDescription": "string",
229 - "checkInDate": "2023-12-14T13:47:13.396Z",
230 - "checkOutDate": "2023-12-14T13:47:13.396Z",
233 + "checkInDate": "2023-12-18T14:03:10.148Z",
234 + "checkOutDate": "2023-12-18T14:03:10.148Z",
231 231   "adults": 0,
232 232   "children": 0,
233 233   "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
... ... @@ -261,8 +261,8 @@
261 261   },
262 262   "flight": {
263 263   "id": "string",
264 - "departureDate": "2023-12-14T13:47:13.396Z",
265 - "returnDate": "2023-12-14T13:47:13.396Z",
268 + "departureDate": "2023-12-18T14:03:10.148Z",
269 + "returnDate": "2023-12-18T14:03:10.148Z",
266 266   "departureTicketsLeft": 0,
267 267   "returnTicketsLeft": 0,
268 268   "departureAvailabilityType": "OnRequest",
... ... @@ -276,13 +276,13 @@
276 276   "class": "string",
277 277   "lugageWeight": 0,
278 278   "handLugageWeight": 0,
279 - "departureFlightDate": "2023-12-14T13:47:13.396Z",
283 + "departureFlightDate": "2023-12-18T14:03:10.148Z",
280 280   "departureCountryName": "string",
281 281   "departureCityName": "string",
282 282   "departureAirportCode": "string",
283 283   "departureAirportName": "string",
284 284   "departureTerminalCode": "string",
285 - "arrivalFlightDate": "2023-12-14T13:47:13.396Z",
289 + "arrivalFlightDate": "2023-12-18T14:03:10.148Z",
286 286   "arrivalCountryName": "string",
287 287   "arrivalCityName": "string",
288 288   "arrivalAirportCode": "string",
... ... @@ -308,13 +308,13 @@
308 308   "class": "string",
309 309   "lugageWeight": 0,
310 310   "handLugageWeight": 0,
311 - "departureFlightDate": "2023-12-14T13:47:13.396Z",
315 + "departureFlightDate": "2023-12-18T14:03:10.148Z",
312 312   "departureCountryName": "string",
313 313   "departureCityName": "string",
314 314   "departureAirportCode": "string",
315 315   "departureAirportName": "string",
316 316   "departureTerminalCode": "string",
317 - "arrivalFlightDate": "2023-12-14T13:47:13.396Z",
321 + "arrivalFlightDate": "2023-12-18T14:03:10.148Z",
318 318   "arrivalCountryName": "string",
319 319   "arrivalCityName": "string",
320 320   "arrivalAirportCode": "string",
... ... @@ -358,16 +358,14 @@
358 358   "name": "string",
359 359   "price": 0,
360 360   "priceSurcarge": 0,
361 - "actualStartDate": "2023-12-14T13:47:13.396Z",
362 - "actualEndDate": "2023-12-14T13:47:13.396Z",
365 + "actualStartDate": "2023-12-18T14:03:10.148Z",
366 + "actualEndDate": "2023-12-18T14:03:10.148Z",
363 363   "optional": true,
364 364   "includedInPackagePrice": true
365 - }
369 + },
370 + "cacheKey": "string"
366 366   }
367 - ],
368 - "pagingId": "string",
369 - "pageNumber": 0,
370 - "pageCount": 0
372 + ]
371 371  }
372 372  {{/code}}
373 373  
... ... @@ -382,19 +382,10 @@
382 382  === Schema ===
383 383  
384 384  {{success}}
385 -SearchTourPackagesResponse{
387 +GetOtherFlightsResponse{
386 386  
387 -|error|boolean
388 -|errorCode|string
389 -nullable: true
390 -|errorDescription|string
391 -nullable: true
392 -|userErrorDescription|string
393 -nullable: true
394 394  |packages|[
395 395  nullable: trueTourPackage{(((
396 -|cacheKey|string
397 -nullable: true
398 398  |id|string
399 399  nullable: true
400 400  |priceCurrency|string
... ... @@ -647,14 +647,13 @@
647 647  
648 648  }
649 649  )))
643 +|cacheKey|string
644 +nullable: true
650 650  
651 651  }]
652 652  )))
653 -|pagingId|string
654 -nullable: true
655 -|pageNumber|integer($int64)
656 -|pageCount|integer($int64)
657 657  
658 658  }
659 659  {{/success}}
660 660  
652 +