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": [
"0a3f6660-62d4-4015-942e-1a8db76eec9a",
"dc3ab905-11a2-4106-89a9-adde3825e8e4"
],
"SystemUserId": "80682f7c-68de-4bd4-95a0-24d7d3a3abef"
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.