Changes for page 1. SearchOnlyAvia
Last modified by Giorgi Mdivnishvili on 2024/06/11 17:07
From version 13.1
edited by Giorgi Mdivnishvili
on 2024/06/11 17:07
on 2024/06/11 17:07
Change comment:
There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2023/12/18 12:50
on 2023/12/18 12:50
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - 1.SearchOnlyAvia1 +SearchOnlyAviaPackages - Content
-
... ... @@ -6,13 +6,13 @@ 6 6 7 7 = Method Description = 8 8 9 -Thi smethod isusedtofindonlyaviapackages(onlyavia tickets)withall flightdetails.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 11 12 12 == Endpoint URL - [POST] == 13 13 14 14 {{info}} 15 -[[https:~~/~~/in tegration.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages>>https://integration.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages]]15 +[[https:~~/~~/online-api.kazunion.com/api/OnlyAviaPackages/SearchOnlyAviaPackages>>https://online-api.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-18", 34 - "returnDate": "2023-12-18", 33 + "departureDate": "2023-12-18T08:33:20.358Z", 34 + "returnDate": "2023-12-18T08:33:20.358Z", 35 35 "departureLocation": "string", 36 36 "departureType": "string", 37 37 "arrivalLocation": "string", ... ... @@ -52,9 +52,8 @@ 52 52 } 53 53 {{/code}} 54 54 55 +== (% id="cke_bm_10575S" style="display:none" %) (%%)Request Body example == 55 55 56 -== Request Body example == 57 - 58 58 {{code language="Json"}} 59 59 { 60 60 "flightRequests": [ ... ... @@ -61,10 +61,10 @@ 61 61 { 62 62 "arrivalLocation": "DXB", 63 63 "arrivalType": "airport", 64 - "departureDate": "2023-12-22", 63 + "departureDate": "2023-12-22T20:00:00.000Z", 65 65 "departureLocation": "ALA", 66 66 "departureType": "airport", 67 - "returnDate": "2023-12-28" 66 + "returnDate": "2023-12-28T20:00:00.000Z" 68 68 } 69 69 ], 70 70 "adults": 1, ... ... @@ -765,23 +765,4 @@ 765 765 } 766 766 {{/success}} 767 767 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}} 767 +