POST User/autologin
Request Information
URI Parameters
None.
Body Parameters
AutologinRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1"
}
application/xml, text/xml
Sample:
<AutologinRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User"> <token>sample string 1</token> </AutologinRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AuthenticateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| token | globally unique identifier |
None. |
|
| code | integer |
None. |
|
| error | string |
None. |
|
| UserID | integer |
None. |
|
| IsEmployee | boolean |
None. |
|
| expirationDateUtc | date |
None. |
|
| APIVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserID": 1,
"IsEmployee": true,
"expirationDateUtc": "2025-12-27T10:22:51.0834175-08:00",
"APIVersion": 4,
"token": "4fdeda9e-efe9-4a4c-a201-1319e8a28f97",
"code": 200,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<AuthenticateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User"> <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">4</APIVersion> <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 2</error> <IsEmployee>true</IsEmployee> <UserID>1</UserID> <expirationDateUtc>2025-12-27T10:22:51.0834175-08:00</expirationDateUtc> <token>4fdeda9e-efe9-4a4c-a201-1319e8a28f97</token> </AuthenticateResponse>