GET api/Account?accountId={accountId}
Gets trading accounts. Returns all accounts or a specific account when accountId is provided.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetTradingAccountsResult| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| AccountNumber | string |
None. |
|
| BrokerName | string |
None. |
|
| AccountCurrency | string |
None. |
|
| InvestorID | integer |
None. |
|
| AccountTypeID | integer |
None. |
|
| PlatformTypeID | integer |
None. |
|
| StrategyID | integer |
None. |
|
| InvestedAmount | decimal number |
None. |
|
| DropDown | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AccountID": 1,
"AccountNumber": "sample string 2",
"BrokerName": "sample string 3",
"AccountCurrency": "sample string 4",
"InvestorID": 1,
"AccountTypeID": 1,
"PlatformTypeID": 1,
"StrategyID": 1,
"InvestedAmount": 1.0,
"DropDown": 1.0
},
{
"AccountID": 1,
"AccountNumber": "sample string 2",
"BrokerName": "sample string 3",
"AccountCurrency": "sample string 4",
"InvestorID": 1,
"AccountTypeID": 1,
"PlatformTypeID": 1,
"StrategyID": 1,
"InvestedAmount": 1.0,
"DropDown": 1.0
}
]