POST api/login
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
Required Data type: EmailAddress Matching regular expression pattern: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* |
||
| Password | string |
Required Data type: Password |
|
| RememberMe | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"Password": "sample string 2",
"RememberMe": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| string |
None. |
||
| FirstName | string |
String length: inclusive between 0 and 100 |
|
| LastName | string |
String length: inclusive between 0 and 100 |
|
| IsAdmin | boolean |
None. |
|
| Password | string |
String length: inclusive between 0 and 200 |
Response Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Email": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"IsAdmin": true,
"Password": "sample string 5"
}