Changes for page 1. Authorization
Last modified by Giorgi Mdivnishvili on 2024/04/26 15:59
From version 30.1
edited by Giorgi Mdivnishvili
on 2024/04/11 15:34
on 2024/04/11 15:34
Change comment:
There is no comment for this version
To version 13.1
edited by Giorgi Mdivnishvili
on 2023/12/19 18:00
on 2023/12/19 18:00
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. 1 +1.Authorization - Content
-
... ... @@ -1,22 +6,17 @@ 1 -(% data-xwiki-non-generated-content="java.util.List" %) 2 -((( 3 - 4 -))) 5 - 6 6 {{box cssClass="floatinginfobox" title="**Contents**"}} 7 7 {{toc/}} 8 8 {{/box}} 9 9 10 -= Authorization:Starting Your Integration =5 += Method Description = 11 11 12 -The firststepinintegratingwith ourAPIistheauthorizationprocess.As a developer, you'll beassigned a unique username and password.These credentials are essential forgeneratingthe access token,a critical component thatmustbeincludedintheheadersofallsubsequentAPI requests. This tokenvalidatesyour requests and grants you access to the fullsuiteof ourservices.7 +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. 13 13 14 14 15 -== Request URL - [ POST] ==10 +== Request URL - [GET] == 16 16 17 17 (% class="box infomessage" %) 18 18 ((( 19 - [[https:~~/~~/integration.kazunion.com/api/Auth/Auth>>https://integration.kazunion.com/api/Auth/Auth]]14 +https:~/~/online-api.kazunion.com/api/Auth/Auth 20 20 ))) 21 21 22 22 ... ... @@ -38,6 +38,7 @@ 38 38 {{/code}} 39 39 40 40 36 + 41 41 == Response Body == 42 42 43 43 {{code language="Json"}} ... ... @@ -50,11 +50,6 @@ 50 50 51 51 === Schema === 52 52 53 -(% data-xwiki-non-generated-content="java.util.List" %) 54 -((( 55 - 56 -))) 57 - 58 58 {{success}} 59 59 AuthRequest{ 60 60 ... ... @@ -66,22 +66,4 @@ 66 66 } 67 67 {{/success}} 68 68 69 - 70 -== Important == 71 - 72 -{{error}} 73 -It's Important to in every other request header, put Auth token 74 - 75 -**Key **- Authorization 76 - 77 -**Value **- Bearer Token what is given in this response. (Authorization type Bearer Token) 78 - 79 - 80 -**also note in headers that:** 81 - 82 -Content-Type - application/json 83 - 84 -**Key - **X-nugios-timezone 85 - 86 -**Value **- 240 87 -{{/error}} 60 +