MngGetAccountsByGroup
MngGetAccountsByGroup¶
Command: MngGetAccountsByGroup
Deprecated alias: GetAccountsByGroup
GetAccountsByGroup is kept only for backward compatibility. New integrations must use MngGetAccountsByGroup; the alias may be removed in a future release.
Description: Returns account rows for all accounts matched by group_mask.
Access Control¶
🛡️ Access Level Required:
SESSION_MANAGER,SESSION_ADMIN,SESSION_DEALER
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
group_mask |
string | Yes | Group mask, for example STD-* or * |
Request Example¶
{
"command": "MngGetAccountsByGroup",
"data": {
"group_mask": "STD-*"
}
}
Response Parameters¶
| Name | Type | Description |
|---|---|---|
structure |
array | Column order used in rows |
rows |
array | Account rows |
Row Fields¶
loginenableenable_read_onlyenable_change_passwordleveragecurrencygroupbrandemailcountryphonecommentaddresscityzipcodenameregdateprevbalanceprevmonthbalancebalancecreditmarginmargin_freemargin_levelequityprofitnet_profitstoragecommissiononline
Response Example¶
{
"structure": [
"login", "enable", "enable_read_only", "enable_change_password",
"leverage", "currency", "group", "brand", "email", "country", "phone",
"comment", "address", "city", "zipcode", "name", "regdate",
"prevbalance", "prevmonthbalance", "balance", "credit",
"margin", "margin_free", "margin_level", "equity", "profit", "net_profit", "storage", "commission", "online", "magic", "customer_id", "update_time"
],
"rows": [
[
1001, 1, 0, 1, 100, "USD", "STD-1", "ion4", "[email protected]", "CY", "+35700000000",
"", "Street 1", "Limassol", "3010", "John Doe", 1713000000,
1200.5, 1100.0, 1500.0, 0.0, 250.0, 1250.0, 600.0, 1500.0, 0.0, -1.6, -0.4, -1.2, 1, 0, 0, 1713000100
]
]
}