POST User/renewtoken
Request Information
URI Parameters
None.
Body Parameters
RenewRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| token | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"token": "353d7c2f-b0d8-4cf9-9f24-fe19ccceaf6f"
}
application/xml, text/xml
Sample:
<RenewRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User"> <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">353d7c2f-b0d8-4cf9-9f24-fe19ccceaf6f</token> <code>sample string 1</code> </RenewRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Token| Name | Description | Type | Additional information |
|---|---|---|---|
| token | globally unique identifier |
None. |
|
| userID | integer |
None. |
|
| isEmployee | boolean |
None. |
|
| expirationDateUtc | date |
None. |
|
| code | integer |
None. |
|
| error | string |
None. |
|
| APIVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIVersion": 1,
"token": "08e1301e-8cb1-4bf1-9816-4daecee9aa71",
"userID": 2,
"isEmployee": true,
"expirationDateUtc": "2026-04-04T13:00:32.885498-07:00",
"code": 200,
"error": "sample string 5"
}
application/xml, text/xml
Sample:
<Token xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile"> <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">1</APIVersion> <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 5</error> <expirationDateUtc>2026-04-04T13:00:32.885498-07:00</expirationDateUtc> <isEmployee>true</isEmployee> <token>08e1301e-8cb1-4bf1-9816-4daecee9aa71</token> <userID>2</userID> </Token>