POST api/userlogin/login
Request Information
URI Parameters
None.
Body Parameters
UserLoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OriginatorId | integer |
None. |
|
| Originator | string |
None. |
|
| Department | string |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| DeviceInfo | string |
None. |
|
| Auth | AuthResponseModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"OriginatorId": 1,
"Originator": "sample string 2",
"Department": "sample string 3",
"Username": "sample string 4",
"Password": "sample string 5",
"DeviceInfo": "sample string 6",
"Auth": {
"AccessToken": "sample string 1",
"RefreshToken": "sample string 2"
}
}
text/xml
Sample:
<UserLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<Auth>
<AccessToken>sample string 1</AccessToken>
<RefreshToken>sample string 2</RefreshToken>
</Auth>
<Department>sample string 3</Department>
<DeviceInfo>sample string 6</DeviceInfo>
<Originator>sample string 2</Originator>
<OriginatorId>1</OriginatorId>
<Password>sample string 5</Password>
<Username>sample string 4</Username>
</UserLoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |