Changes for page 1. SearchOnlyAvia
Last modified by Giorgi Mdivnishvili on 2024/06/11 17:07
From 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
To 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
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -SearchOnlyAvia Packages1 +1. SearchOnlyAvia - Content
-
... ... @@ -6,13 +6,13 @@ 6 6 7 7 = Method Description = 8 8 9 -Th einitialmethodof theintegration processisauthorization.You willbe provided withatest user username andpasswordtogeneratetheaccesstokenthatyouwill needtopass in allthefollowingmethods.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-18 T08:33:20.358Z",34 - "returnDate": "2023-12-18 T08: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", ... ... @@ -52,8 +52,9 @@ 52 52 } 53 53 {{/code}} 54 54 55 -== (% id="cke_bm_10575S" style="display:none" %) (%%)Request Body example == 56 56 56 +== Request Body example == 57 + 57 57 {{code language="Json"}} 58 58 { 59 59 "flightRequests": [ ... ... @@ -60,10 +60,10 @@ 60 60 { 61 61 "arrivalLocation": "DXB", 62 62 "arrivalType": "airport", 63 - "departureDate": "2023-12-22 T20:00:00.000Z",64 + "departureDate": "2023-12-22", 64 64 "departureLocation": "ALA", 65 65 "departureType": "airport", 66 - "returnDate": "2023-12-28 T20:00:00.000Z"67 + "returnDate": "2023-12-28" 67 67 } 68 68 ], 69 69 "adults": 1, ... ... @@ -764,4 +764,23 @@ 764 764 } 765 765 {{/success}} 766 766 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}}