Swagger API Личный кабинет Центр поддержки

Getting a token for authorization #

Method address #

POST / login

Request parameters #

You do not need to pass the authorization token for this request

SectionParameterDescriptionTypeRequiredExample
loginUser loginStringYesuser
passwordUser passwordStringYespass

Sample request data #

1
2
3
4
5

{
  "login": "test",
  "password": "test"
}
1
2
3
4
5
6

<? xml version = "1.0"?>
<request>
    <login> test </login>
    <password> test </password>
</request>

Response parameters #

ParameterDescriptionTypeRequiredExampleNote
accessTokenAuthorization TokenStringYesc0f658d52c031c4a5ff0052762c71111
expiresToken LifetimeStringYes2018-06-22T16: 27: 11 + 03: 00API is not used in the current version

Sample response data #

1
2
3
4
5

{
  "accessToken": "c0f658d52c031c4a5ff0052762c71111",
  "expires": "2018-06-22T16: 27: 11 + 03: 00"
}
1
2
3
4
5

<response>
    <accessToken> c0f658d52c031c4a5ff0052762c71111 </accessToken>
    <expires> 2018-06-22T16: 27: 11 + 03: 00 </expires>
</response>