POST Dealer/getdealer
Request Information
URI Parameters
None.
Body Parameters
AuthenticatedRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| token | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"token": "25394fe9-c57e-4cf8-b3b9-04b9d08f6f3e"
}
application/xml, text/xml
Sample:
<AuthenticatedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models"> <token>25394fe9-c57e-4cf8-b3b9-04b9d08f6f3e</token> </AuthenticatedRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetDealerResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| error | string |
None. |
|
| DealerList | Collection of DealerItem |
None. |
|
| APIVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"DealerList": [
{
"DealerID": 1,
"DealerCode": "sample string 2",
"DealerName": "sample string 3",
"StateAbbr": "sample string 4",
"BaseURL": "sample string 5",
"ProductID": 6
},
{
"DealerID": 1,
"DealerCode": "sample string 2",
"DealerName": "sample string 3",
"StateAbbr": "sample string 4",
"BaseURL": "sample string 5",
"ProductID": 6
}
],
"APIVersion": 1,
"code": 200,
"error": "sample string 1"
}
application/xml, text/xml
Sample:
<GetDealerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Dealer">
<APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">1</APIVersion>
<error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
<DealerList>
<DealerItem>
<BaseURL>sample string 5</BaseURL>
<DealerCode>sample string 2</DealerCode>
<DealerID>1</DealerID>
<DealerName>sample string 3</DealerName>
<ProductID>6</ProductID>
<StateAbbr>sample string 4</StateAbbr>
</DealerItem>
<DealerItem>
<BaseURL>sample string 5</BaseURL>
<DealerCode>sample string 2</DealerCode>
<DealerID>1</DealerID>
<DealerName>sample string 3</DealerName>
<ProductID>6</ProductID>
<StateAbbr>sample string 4</StateAbbr>
</DealerItem>
</DealerList>
</GetDealerResponse>