Changes for page 2. GetOtherFlights

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

From version 15.1
edited by Giorgi Mdivnishvili
on 2024/04/11 17:06
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
... ... @@ -6,22 +6,13 @@
6 6  
7 7  = Method Description =
8 8  
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.
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.
10 10  
11 -The system enables users to initiate a detailed evaluation workflow for the selected package. This evaluation includes:
12 12  
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 -
21 21  == Endpoint URL - [POST] ==
22 22  
23 23  {{info}}
24 -[[https:~~/~~/integration.kazunion.com/api/TourPackages/GetOtherFlights>>https://integration.kazunion.com/api/TourPackages/GetOtherFlights]]
15 +{{{https://online-api.kazunion.com/api/TourPackages/GetOtherFlights}}}
25 25  {{/info}}
26 26  
27 27  == Request Parameters ==
... ... @@ -206,8 +206,13 @@
206 206  
207 207  {{code language="json"}}
208 208  {
200 + "error": true,
201 + "errorCode": "string",
202 + "errorDescription": "string",
203 + "userErrorDescription": "string",
209 209   "packages": [
210 210   {
206 + "cacheKey": "string",
211 211   "id": "string",
212 212   "priceCurrency": "string",
213 213   "totalPrice": 0,
... ... @@ -230,8 +230,8 @@
230 230   "roomCategoryName": "string",
231 231   "placementTypeName": "string",
232 232   "placementDescription": "string",
233 - "checkInDate": "2023-12-18T14:03:10.148Z",
234 - "checkOutDate": "2023-12-18T14:03:10.148Z",
229 + "checkInDate": "2023-12-14T13:47:13.396Z",
230 + "checkOutDate": "2023-12-14T13:47:13.396Z",
235 235   "adults": 0,
236 236   "children": 0,
237 237   "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
... ... @@ -265,8 +265,8 @@
265 265   },
266 266   "flight": {
267 267   "id": "string",
268 - "departureDate": "2023-12-18T14:03:10.148Z",
269 - "returnDate": "2023-12-18T14:03:10.148Z",
264 + "departureDate": "2023-12-14T13:47:13.396Z",
265 + "returnDate": "2023-12-14T13:47:13.396Z",
270 270   "departureTicketsLeft": 0,
271 271   "returnTicketsLeft": 0,
272 272   "departureAvailabilityType": "OnRequest",
... ... @@ -280,13 +280,13 @@
280 280   "class": "string",
281 281   "lugageWeight": 0,
282 282   "handLugageWeight": 0,
283 - "departureFlightDate": "2023-12-18T14:03:10.148Z",
279 + "departureFlightDate": "2023-12-14T13:47:13.396Z",
284 284   "departureCountryName": "string",
285 285   "departureCityName": "string",
286 286   "departureAirportCode": "string",
287 287   "departureAirportName": "string",
288 288   "departureTerminalCode": "string",
289 - "arrivalFlightDate": "2023-12-18T14:03:10.148Z",
285 + "arrivalFlightDate": "2023-12-14T13:47:13.396Z",
290 290   "arrivalCountryName": "string",
291 291   "arrivalCityName": "string",
292 292   "arrivalAirportCode": "string",
... ... @@ -312,13 +312,13 @@
312 312   "class": "string",
313 313   "lugageWeight": 0,
314 314   "handLugageWeight": 0,
315 - "departureFlightDate": "2023-12-18T14:03:10.148Z",
311 + "departureFlightDate": "2023-12-14T13:47:13.396Z",
316 316   "departureCountryName": "string",
317 317   "departureCityName": "string",
318 318   "departureAirportCode": "string",
319 319   "departureAirportName": "string",
320 320   "departureTerminalCode": "string",
321 - "arrivalFlightDate": "2023-12-18T14:03:10.148Z",
317 + "arrivalFlightDate": "2023-12-14T13:47:13.396Z",
322 322   "arrivalCountryName": "string",
323 323   "arrivalCityName": "string",
324 324   "arrivalAirportCode": "string",
... ... @@ -362,14 +362,16 @@
362 362   "name": "string",
363 363   "price": 0,
364 364   "priceSurcarge": 0,
365 - "actualStartDate": "2023-12-18T14:03:10.148Z",
366 - "actualEndDate": "2023-12-18T14:03:10.148Z",
361 + "actualStartDate": "2023-12-14T13:47:13.396Z",
362 + "actualEndDate": "2023-12-14T13:47:13.396Z",
367 367   "optional": true,
368 368   "includedInPackagePrice": true
369 - },
370 - "cacheKey": "string"
365 + }
371 371   }
372 - ]
367 + ],
368 + "pagingId": "string",
369 + "pageNumber": 0,
370 + "pageCount": 0
373 373  }
374 374  {{/code}}
375 375  
... ... @@ -384,10 +384,19 @@
384 384  === Schema ===
385 385  
386 386  {{success}}
387 -GetOtherFlightsResponse{
385 +SearchTourPackagesResponse{
388 388  
387 +|error|boolean
388 +|errorCode|string
389 +nullable: true
390 +|errorDescription|string
391 +nullable: true
392 +|userErrorDescription|string
393 +nullable: true
389 389  |packages|[
390 390  nullable: trueTourPackage{(((
396 +|cacheKey|string
397 +nullable: true
391 391  |id|string
392 392  nullable: true
393 393  |priceCurrency|string
... ... @@ -640,13 +640,14 @@
640 640  
641 641  }
642 642  )))
643 -|cacheKey|string
644 -nullable: true
645 645  
646 646  }]
647 647  )))
653 +|pagingId|string
654 +nullable: true
655 +|pageNumber|integer($int64)
656 +|pageCount|integer($int64)
648 648  
649 649  }
650 650  {{/success}}
651 651  
652 -