GET api/DealerDirectories?accountId={accountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

Body Parameters

None.

Response Information

Resource Description

DealerDirectory
NameDescriptionTypeAdditional information
DealerDirectoryId

integer

None.

DealerId

integer

None.

KnownAs

string

String length: inclusive between 0 and 100

Latitude

decimal number

None.

Longitude

decimal number

None.

Note

string

None.

CompanyChainId

string

String length: inclusive between 0 and 20

DealershipTypeId

integer

None.

DisplayRecord

boolean

None.

ShowOnWeb

boolean

None.

DeletedDate

date

None.

AXId

string

String length: inclusive between 0 and 50

Blocked

boolean

None.

AccountNumber

string

String length: inclusive between 0 and 50

DealerName

string

Required

String length: inclusive between 0 and 100

DealershipSFId

string

String length: inclusive between 0 and 50

Email

string

String length: inclusive between 0 and 100

Phone

string

String length: inclusive between 0 and 50

ImportAction

string

String length: inclusive between 0 and 50

ImportDate

date

None.

SalesDistrictId

integer

None.

Segment

string

String length: inclusive between 0 and 50

Status

string

String length: inclusive between 0 and 50

Timeless

integer

None.

WebsiteURL

string

String length: inclusive between 0 and 500

SalesDistrict

SalesDistrict

None.

DealerDirectoryAddresses

Collection of DealerDirectoryAddress

None.

DealerGroupLinks

Collection of DealerGroupLink

None.

DealerStaffs

Collection of DealerStaff

None.

DealerDirectoryAddressExtends

Collection of DealerDirectoryAddressExtend

None.

Response Formats

application/json, text/json

Sample:
{
  "dealerDirectoryId": 1,
  "dealerId": 1,
  "knownAs": "sample string 2",
  "latitude": 1.0,
  "longitude": 1.0,
  "note": "sample string 3",
  "companyChainId": "sample string 4",
  "dealershipTypeId": 1,
  "displayRecord": true,
  "showOnWeb": true,
  "deletedDate": "2024-09-19T14:35:15.9264749+00:00",
  "axId": "sample string 5",
  "blocked": true,
  "accountNumber": "sample string 6",
  "dealerName": "sample string 7",
  "dealershipSFId": "sample string 8",
  "email": "sample string 9",
  "phone": "sample string 10",
  "importAction": "sample string 11",
  "importDate": "2024-09-19T14:35:15.9264749+00:00",
  "salesDistrictId": 1,
  "segment": "sample string 12",
  "status": "sample string 13",
  "timeless": 1,
  "websiteURL": "sample string 14",
  "salesDistrict": {
    "$id": "2",
    "salesDistrictId": 1,
    "salesDistrict1": "sample string 2",
    "description": "sample string 3",
    "recId": 1,
    "recVersion": 1,
    "dealerDirectories": {
      "$id": "3",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    }
  },
  "dealerDirectoryAddresses": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "dealerDirectoryAddressId": 1,
        "address1": "sample string 2",
        "address2": "sample string 3",
        "address3": "sample string 4",
        "town": "sample string 5",
        "county": "sample string 6",
        "stateId": 1,
        "countryId": 7,
        "postCode": "sample string 8",
        "qualifiedAddress": true,
        "deletedDate": "2024-09-19T14:35:15.9264749+00:00",
        "dealerDirectoryId": 9,
        "dealerAddressTypeId": 1,
        "dealerDirectoryAddressSFId": "sample string 10",
        "isPrimary": true,
        "axAddressId": 1,
        "importAction": "sample string 11",
        "importDate": "2024-09-19T14:35:15.9264749+00:00",
        "dealerAddressLocationType": "sample string 12",
        "countryLookup": {
          "$id": "6",
          "countryId": 1,
          "countryCode": "sample string 2",
          "countryName": "sample string 3",
          "alpha3Code": "sample string 4",
          "useOnScreen": true,
          "deletedDate": "2024-09-19T14:35:15.9264749+00:00"
        },
        "stateLookup": {
          "$id": "7",
          "stateId": 1,
          "stateCode": "sample string 2",
          "stateName": "sample string 3",
          "countryId": 4,
          "deletedDate": "2024-09-19T14:35:15.9264749+00:00",
          "countryLookup": {
            "$ref": "6"
          }
        },
        "dealerDirectory": {
          "$ref": "1"
        }
      },
      {
        "$ref": "5"
      }
    ]
  },
  "dealerGroupLinks": {
    "$id": "8",
    "$values": [
      {
        "$id": "9",
        "dealerGroupLinkId": 1,
        "dealerDirectoryId": 2,
        "dealerGroupId": 3,
        "dealerDirectory": {
          "$ref": "1"
        },
        "dealerGroup": {
          "$id": "10",
          "dealerGroupId": 1,
          "description": "sample string 2",
          "dealerGroupLinks": {
            "$id": "11",
            "$values": [
              {
                "$ref": "9"
              },
              {
                "$ref": "9"
              }
            ]
          }
        }
      },
      {
        "$ref": "9"
      }
    ]
  },
  "dealerStaffs": {
    "$id": "12",
    "$values": [
      {
        "$id": "13",
        "dealerStaffId": 1,
        "dealerDirectoryId": 2,
        "staffId": 3,
        "deletedDate": "2024-09-19T14:35:15.9264749+00:00",
        "importAction": "sample string 4",
        "importDate": "2024-09-19T14:35:15.9264749+00:00"
      },
      {
        "$ref": "13"
      }
    ]
  },
  "dealerDirectoryAddressExtends": {
    "$id": "14",
    "$values": [
      {
        "$id": "15",
        "dealerDirectoryAddressExtendId": 1,
        "dealerAxBrId": "sample string 2",
        "isPrimary": true,
        "locator": "sample string 3",
        "type": 4,
        "roleDescription": "sample string 5",
        "dealerDirectoryId": 6,
        "dealerDirectory": {
          "$ref": "1"
        }
      },
      {
        "$ref": "15"
      }
    ]
  }
}