1. Authorization

Version 16.1 by Giorgi Mdivnishvili on 2023/12/19 18:15

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 - [GET]

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

Request Parameters

none

Request Body

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

Response Body

{
 "accessToken": "string"
}

Schema

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

X-nugios-timezone - 240