Changes for page 1. SearchOnlyAvia

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

From version 8.1
edited by Giorgi Mdivnishvili
on 2023/12/19 18:04
Change comment: There is no comment for this version
To version 13.1
edited by Giorgi Mdivnishvili
on 2024/06/11 17:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -1. SearchOnlyAviaPackages
1 +1. SearchOnlyAvia
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,
... ... @@ -765,4 +765,23 @@
765 765  }
766 766  {{/success}}
767 767  
768 -
768 +
769 +
770 +== Important ==
771 +
772 +{{error}}
773 +It's Important to in every other request header, put Auth token
774 +
775 +**Key **- Authorization
776 +
777 +**Value **- Bearer Token what is given in this response.
778 +
779 +
780 +**also note in headers that:**
781 +
782 +Content-Type - application/json
783 +
784 +**Key - **X-nugios-timezone
785 +
786 +**Value **- 240
787 +{{/error}}