POST api/InvestorRelation/SwitchTradingAccountActivation
Proxies POST to Trading API /api/sp/tradingaccount/SwitchTradingAccountActivity with body { "activeAccount", "inactiveAccount" }. Returns the Trading API JSON (success, error).
Request Information
URI Parameters
None.
Body Parameters
SwitchTradingAccountActivityRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| activeAccount | integer |
None. |
|
| inactiveAccount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"activeAccount": 1,
"inactiveAccount": 2
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SwitchTradingAccountActivityResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"error": "sample string 2"
}