POST Api/Login
Attempt to login with credentials.
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailAddress | string |
Required |
|
| Password | string |
Required |
|
| IpAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailAddress": "sample string 1",
"Password": "sample string 2",
"IpAddress": "sample string 3"
}
application/xml, text/xml
Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evidon.Auth.Shared.Standard.Models.Token"> <EmailAddress>sample string 1</EmailAddress> <IpAddress>sample string 3</IpAddress> <Password>sample string 2</Password> </LoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorDescription | string |
None. |
|
| ErrorType | string |
None. |
|
| Message | string |
None. |
|
| Token | string |
None. |
|
| WasError | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorDescription": "sample string 1",
"ErrorType": "sample string 2",
"Message": "sample string 3",
"Token": "sample string 4",
"WasError": true
}
application/xml, text/xml
Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrackerMapLive.Business.Model"> <ErrorDescription>sample string 1</ErrorDescription> <ErrorType>sample string 2</ErrorType> <Message>sample string 3</Message> <Token>sample string 4</Token> <WasError>true</WasError> </LoginResponse>