POST api/DealerDirectoryAddresses

Request Information

URI Parameters

None.

Body Parameters

DealerDirectoryAddress
NameDescriptionTypeAdditional information
DealerDirectoryAddressId

integer

None.

Address1

string

Required

String length: inclusive between 0 and 250

Address2

string

String length: inclusive between 0 and 100

Address3

string

String length: inclusive between 0 and 100

Town

string

String length: inclusive between 0 and 100

County

string

String length: inclusive between 0 and 50

StateId

integer

None.

CountryId

integer

None.

PostCode

string

String length: inclusive between 0 and 50

QualifiedAddress

boolean

None.

DeletedDate

date

None.

DealerDirectoryId

integer

None.

DealerAddressTypeId

integer

None.

DealerDirectoryAddressSFId

string

String length: inclusive between 0 and 50

IsPrimary

boolean

None.

AXAddressId

integer

None.

ImportAction

string

String length: inclusive between 0 and 50

ImportDate

date

None.

DealerAddressLocationType

string

String length: inclusive between 0 and 200

CountryLookup

CountryLookup

None.

StateLookup

StateLookup

None.

DealerDirectory

DealerDirectory

None.

Request Formats

application/json, text/json

Sample:
{
  "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-19T22:20:02.4013861+00:00",
  "dealerDirectoryId": 9,
  "dealerAddressTypeId": 1,
  "dealerDirectoryAddressSFId": "sample string 10",
  "isPrimary": true,
  "axAddressId": 1,
  "importAction": "sample string 11",
  "importDate": "2024-09-19T22:20:02.4013861+00:00",
  "dealerAddressLocationType": "sample string 12",
  "countryLookup": {
    "$id": "2",
    "countryId": 1,
    "countryCode": "sample string 2",
    "countryName": "sample string 3",
    "alpha3Code": "sample string 4",
    "useOnScreen": true,
    "deletedDate": "2024-09-19T22:20:02.4013861+00:00"
  },
  "stateLookup": {
    "$id": "3",
    "stateId": 1,
    "stateCode": "sample string 2",
    "stateName": "sample string 3",
    "countryId": 4,
    "deletedDate": "2024-09-19T22:20:02.4013861+00:00",
    "countryLookup": {
      "$ref": "2"
    }
  },
  "dealerDirectory": {
    "$id": "4",
    "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-19T22:20:02.4013861+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-19T22:20:02.4013861+00:00",
    "salesDistrictId": 1,
    "segment": "sample string 12",
    "status": "sample string 13",
    "timeless": 1,
    "websiteURL": "sample string 14",
    "salesDistrict": {
      "$id": "5",
      "salesDistrictId": 1,
      "salesDistrict1": "sample string 2",
      "description": "sample string 3",
      "recId": 1,
      "recVersion": 1,
      "dealerDirectories": {
        "$id": "6",
        "$values": [
          {
            "$ref": "4"
          },
          {
            "$ref": "4"
          }
        ]
      }
    },
    "dealerDirectoryAddresses": {
      "$id": "7",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "dealerGroupLinks": {
      "$id": "8",
      "$values": [
        {
          "$id": "9",
          "dealerGroupLinkId": 1,
          "dealerDirectoryId": 2,
          "dealerGroupId": 3,
          "dealerDirectory": {
            "$ref": "4"
          },
          "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-19T22:20:02.4013861+00:00",
          "importAction": "sample string 4",
          "importDate": "2024-09-19T22:20:02.4013861+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": "4"
          }
        },
        {
          "$ref": "15"
        }
      ]
    }
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DealerDirectoryAddress
NameDescriptionTypeAdditional information
DealerDirectoryAddressId

integer

None.

Address1

string

Required

String length: inclusive between 0 and 250

Address2

string

String length: inclusive between 0 and 100

Address3

string

String length: inclusive between 0 and 100

Town

string

String length: inclusive between 0 and 100

County

string

String length: inclusive between 0 and 50

StateId

integer

None.

CountryId

integer

None.

PostCode

string

String length: inclusive between 0 and 50

QualifiedAddress

boolean

None.

DeletedDate

date

None.

DealerDirectoryId

integer

None.

DealerAddressTypeId

integer

None.

DealerDirectoryAddressSFId

string

String length: inclusive between 0 and 50

IsPrimary

boolean

None.

AXAddressId

integer

None.

ImportAction

string

String length: inclusive between 0 and 50

ImportDate

date

None.

DealerAddressLocationType

string

String length: inclusive between 0 and 200

CountryLookup

CountryLookup

None.

StateLookup

StateLookup

None.

DealerDirectory

DealerDirectory

None.

Response Formats

application/json, text/json

Sample:
{
  "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-19T22:20:02.4013861+00:00",
  "dealerDirectoryId": 9,
  "dealerAddressTypeId": 1,
  "dealerDirectoryAddressSFId": "sample string 10",
  "isPrimary": true,
  "axAddressId": 1,
  "importAction": "sample string 11",
  "importDate": "2024-09-19T22:20:02.4013861+00:00",
  "dealerAddressLocationType": "sample string 12",
  "countryLookup": {
    "$id": "2",
    "countryId": 1,
    "countryCode": "sample string 2",
    "countryName": "sample string 3",
    "alpha3Code": "sample string 4",
    "useOnScreen": true,
    "deletedDate": "2024-09-19T22:20:02.4013861+00:00"
  },
  "stateLookup": {
    "$id": "3",
    "stateId": 1,
    "stateCode": "sample string 2",
    "stateName": "sample string 3",
    "countryId": 4,
    "deletedDate": "2024-09-19T22:20:02.4013861+00:00",
    "countryLookup": {
      "$ref": "2"
    }
  },
  "dealerDirectory": {
    "$id": "4",
    "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-19T22:20:02.4013861+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-19T22:20:02.4013861+00:00",
    "salesDistrictId": 1,
    "segment": "sample string 12",
    "status": "sample string 13",
    "timeless": 1,
    "websiteURL": "sample string 14",
    "salesDistrict": {
      "$id": "5",
      "salesDistrictId": 1,
      "salesDistrict1": "sample string 2",
      "description": "sample string 3",
      "recId": 1,
      "recVersion": 1,
      "dealerDirectories": {
        "$id": "6",
        "$values": [
          {
            "$ref": "4"
          },
          {
            "$ref": "4"
          }
        ]
      }
    },
    "dealerDirectoryAddresses": {
      "$id": "7",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "dealerGroupLinks": {
      "$id": "8",
      "$values": [
        {
          "$id": "9",
          "dealerGroupLinkId": 1,
          "dealerDirectoryId": 2,
          "dealerGroupId": 3,
          "dealerDirectory": {
            "$ref": "4"
          },
          "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-19T22:20:02.4013861+00:00",
          "importAction": "sample string 4",
          "importDate": "2024-09-19T22:20:02.4013861+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": "4"
          }
        },
        {
          "$ref": "15"
        }
      ]
    }
  }
}