GET api/Accounts?accountNumber={accountNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Account| Name | Description | Type | Additional 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"
}
]
}
}
}