GET api/Accounts?salesDistrictId={salesDistrictId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
salesDistrictId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Account
NameDescriptionTypeAdditional information
AccountsId

integer

None.

AccountNumber

string

Required

String length: inclusive between 0 and 30

AccountTypeId

integer

None.

DealerDirectoryId

integer

None.

Name

string

None.

AcountType

AcountType

None.

Response Formats

application/json, text/json

Sample:
{
  "accountsId": 1,
  "accountNumber": "sample string 2",
  "accountTypeId": 3,
  "dealerDirectoryId": 4,
  "name": "sample string 5",
  "acountType": {
    "$id": "2",
    "accountTypeId": 1,
    "description": "sample string 2",
    "accounts": {
      "$id": "3",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    }
  }
}