POST api/login
Request Information
URI Parameters
None.
Body Parameters
LogInRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Login | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Login": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<LogInRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests"> <Login>sample string 1</Login> <Password>sample string 2</Password> </LogInRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfLogInResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | LogInResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": {
"Username": "sample string 1",
"IsLogged": true,
"Role": 1,
"ValidationMessage": "sample string 3",
"Token": null,
"Accounts": [
"21e686e3-6275-4542-b797-a396a24bb551",
"fcd20673-6f38-4289-bd64-c57c0e12cda3"
],
"SystemUserId": "50642220-6176-4e84-aa3f-6febb709a949"
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.