POST api/UserLogin
Request Information
URI Parameters
None.
Body Parameters
UserLoginRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<UserLoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models"> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </UserLoginRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserLoginResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserName | string |
None. |
|
| UserRole | string |
None. |
|
| UserPriority | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserName": "sample string 2",
"UserRole": "sample string 3",
"UserPriority": 4
}
application/xml, text/xml
Sample:
<UserLoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models"> <Id>1</Id> <UserName>sample string 2</UserName> <UserPriority>4</UserPriority> <UserRole>sample string 3</UserRole> </UserLoginResult>