POST api_v2/Authorization/Login
Возвращает текущее состояние пользователя + Hash его айдишника 1 - пользователь не найден 0 - пользователь авторизован 10 - не завершена регистрация - ожидание ввода кода подтвержнения 11 - пользователь заблокирован менеджером
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
loginModel | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/xml, text/xml
Sample:
<Request> <Username>sample string 1</Username> <Password>sample string 2</Password> <RememberMe>true</RememberMe> <ReturnUrl>sample string 4</ReturnUrl> </Request>
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2", "RememberMe": true, "ReturnUrl": "sample string 4" }
Response Information
No documentation available.
Response body formats
application/xml, text/xml
Sample:
<AuthorizationResult> <Status>1</Status> <Id>sample string 2</Id> </AuthorizationResult>
application/json, text/json
Sample:
{ "Status": 1, "Id": "sample string 2" }