POST Dealer/getdealer

Get dealer information. May return one or more dealers based on the dealers associated with the authenticated User.

Request Information

URI Parameters

None.

Body Parameters

AuthenticatedRequest
NameDescriptionTypeAdditional information
token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "token": "34bce16f-9554-474e-a438-3df27a970adb"
}

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>34bce16f-9554-474e-a438-3df27a970adb</token>
</AuthenticatedRequest>

Response Information

Resource Description

GetDealerResponse
NameDescriptionTypeAdditional information
code

API result code

integer

None.

error

API error message

string

None.

DealerList

Dealer Item list

Collection of DealerItem

None.

APIVersion

API Version

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>