POST User/changestore
Change the store for a given user.
Request Information
URI Parameters
None.
Body Parameters
ChangeStoreRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| dealerCode |
Dealer Code |
string |
None. |
| code |
Security code |
string |
None. |
| token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"dealerCode": "sample string 1",
"code": "sample string 2",
"token": "a1f6276d-0956-4e5b-b6c1-16233b5c6e69"
}
application/xml, text/xml
Sample:
<ChangeStoreRequest 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">a1f6276d-0956-4e5b-b6c1-16233b5c6e69</token> <code>sample string 2</code> <dealerCode>sample string 1</dealerCode> </ChangeStoreRequest>
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
API result code |
integer |
None. |
| error |
API error message |
string |
None. |
| APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIVersion": 1,
"code": 200,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API"> <APIVersion>1</APIVersion> <error>sample string 2</error> </APIResult>