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": "569bf50a-f1c4-4bc5-ba76-d09d99e3a472"
}

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>569bf50a-f1c4-4bc5-ba76-d09d99e3a472</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>