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": "f4d36b06-dfd6-4e82-b551-f542ea6afdac"
}
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">f4d36b06-dfd6-4e82-b551-f542ea6afdac</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": "119767f3-047b-4d85-83eb-475eea828d62",
"userID": 2,
"isEmployee": true,
"expirationDateUtc": "2025-12-08T09:01:01.3079567-08: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>2025-12-08T09:01:01.3079567-08:00</expirationDateUtc> <isEmployee>true</isEmployee> <token>119767f3-047b-4d85-83eb-475eea828d62</token> <userID>2</userID> </Token>