1. Authorization

Version 22.1 by Giorgi Mdivnishvili on 2023/12/26 16:32

 

Method Description

The initial method of the integration process is authorization. You will be provided with a  unique user username and password to generate the access token that you will need to pass in all the following methods.

Request URL - [POST]

https://online-api.kazunion.com/api/Auth/Auth

Request Parameters

none

Request Body

{
"login": "string",
"password": "string"
}

Response Body

{
 "accessToken": "string"
}

Schema

" class="xwiki-metadata-container">AuthRequest{

loginstring
nullable: true
passwordstring
nullable: true

}

Success

AuthRequest{

loginstring
nullable: true
passwordstring
nullable: true

}

Important

Error

It's Important to in every other request header, put Auth token

Key - Authorization

Value - Bearer Token what is given in this response.

also note in headers that:

Content-Type - application/json

Key - X-nugios-timezone

Value - 240