Syntax
Function GetAccountByID (AccountId As long) As String
Description
The GetAccountByID operation is used to get information about the given account number. Use GetAccountsIDs to get a list of accounts IDs that
belongs to a specific client.
Request Parameters
Name |
Description |
Required |
AccountId |
- account number to get account information for
- Type: long
- Default: None
- Constraints: Must be valid account ID and accessible by logged in dealer
|
Yes
|
Response Elements
Name |
Description |
Result |
The operation returns a JSON object of the type Account, otherwise, an explicit error code is returned if the account ID is less than 0.
The Following are the client Information data member10
- ID: account number
- ClientId: Client ID
- DemoAccount: Indicate if an account is demo or not
- Locked: Is the Account Locked
- DontLiquidate: Don’t Liquidate
- AccountType : 1 = normal Account
2 = Coverage Account
- Margin Account: Boolean value to indicate if an account is a margin or not.
- Liquidate: Indicate if an account is locked or not.
- ParentClientDescription: Parent Client Description.
- FreeMargin: Free Margin.
- TradeStopped: Trade Stopped.
- MarginLevel: Margin Level.
- UsedMargin: Used Margin.
- FloatingProfitLoss: Floating Profit Loss.
- Equity: Equity.
- Credit: Credit.
- Balance: Balance.
- TotalInterest: Total Interest.
- TotalCommission: Total Commission.
- NetProfit: Net Profit.
- PreviousMargin: Previous Margin.
- TotalDeposit: Total Deposit.
- LockLiquidate: Lock Liquidate.
|
Loading …
See Also
VertexFX BackOffice WCF Service Index