Wiki source code of Authorization
Version 11.1 by Giorgi Mdivnishvili on 2023/12/15 15:39
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | = Method Description = | ||
6 | |||
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. | ||
8 | |||
9 | |||
10 | == Request URL - [GET] == | ||
11 | |||
12 | (% class="box infomessage" %) | ||
13 | ((( | ||
14 | https:~/~/online-api.kazunion.com/api/Auth/Auth | ||
15 | ))) | ||
16 | |||
17 | |||
18 | == Request Parameters == | ||
19 | |||
20 | (% class="box" %) | ||
21 | ((( | ||
22 | none | ||
23 | ))) | ||
24 | |||
25 | |||
26 | == Request Body == | ||
27 | |||
28 | {{code language="Json"}} | ||
29 | { | ||
30 | "login": "string", | ||
31 | "password": "string" | ||
32 | } | ||
33 | {{/code}} | ||
34 | |||
35 | |||
36 | |||
37 | == Response Body == | ||
38 | |||
39 | {{code language="Json"}} | ||
40 | { | ||
41 | "accessToken": "string" | ||
42 | } | ||
43 | {{/code}} | ||
44 | |||
45 | === Schema === | ||
46 | |||
47 | {{success}} | ||
48 | AuthRequest{ | ||
49 | |||
50 | |login|string | ||
51 | nullable: true | ||
52 | |password|string | ||
53 | nullable: true | ||
54 | |||
55 | } | ||
56 | {{/success}} | ||
57 | |||
58 |