Changes for page 1. SearchOnlyAvia

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

From version 9.1
edited by Giorgi Mdivnishvili
on 2023/12/26 15:05
Change comment: There is no comment for this version
To version 12.1
edited by Giorgi Mdivnishvili
on 2024/01/10 17:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,13 +6,13 @@
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 +This method is used to find only avia packages (only avia tickets) with all flight details.
10 10  
11 11  
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
15 -[[https:~~/~~/online-api.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages>>https://online-api.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages]]
15 +[[https:~~/~~/integration.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages>>https://integration.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages]]
16 16  {{/info}}
17 17  
18 18  
... ... @@ -30,8 +30,8 @@
30 30  {
31 31   "flightRequests": [
32 32   {
33 - "departureDate": "2023-12-18T08:33:20.358Z",
34 - "returnDate": "2023-12-18T08:33:20.358Z",
33 + "departureDate": "2023-12-18",
34 + "returnDate": "2023-12-18",
35 35   "departureLocation": "string",
36 36   "departureType": "string",
37 37   "arrivalLocation": "string",
... ... @@ -61,10 +61,10 @@
61 61   {
62 62   "arrivalLocation": "DXB",
63 63   "arrivalType": "airport",
64 - "departureDate": "2023-12-22T20:00:00.000Z",
64 + "departureDate": "2023-12-22",
65 65   "departureLocation": "ALA",
66 66   "departureType": "airport",
67 - "returnDate": "2023-12-28T20:00:00.000Z"
67 + "returnDate": "2023-12-28"
68 68   }
69 69   ],
70 70   "adults": 1,
... ... @@ -767,7 +767,7 @@
767 767  
768 768  
769 769  
770 - == Important ==
770 +== Important ==
771 771  
772 772  {{error}}
773 773  It's Important to in every other request header, put Auth token
... ... @@ -785,4 +785,3 @@
785 785  
786 786  **Value **- 240
787 787  {{/error}}
788 -