CPlugin

MT4 v2 :: Config

API v2 (current) · MT4 · 51 operations · base URL https://cloud.mywebapi.com · OpenAPI v2 (JSON) · Redoc

Every call needs Authorization: Bearer $TOKEN — an OAuth 2.0 client-credentials token (scope webapi). The token server belongs to the environment: for the Sandbox call https://pre.mywebapi.com and take the token from https://pre.auth.cplugin.net/connect/token; for Production take it from https://auth.cplugin.net/connect/token. Clients and tokens of the two are separate — a token from one answers 401 on the other. $TRADE_PLATFORM_ID is the id of a trade platform registered in Toolbox. A failed operation is also answered with HTTP 200: check error before using data. Access and transport failures use HTTP codes — see Errors.

Operations

Get common server configuration

GET /api/v2/MT4/{tradePlatform}/CfgRequestCommon

The common server record as the configuration system returns it, read live from the trade server on every call.

Same fields as ManagerCommonEx; the difference is the source: this call goes through the configuration interface rather than the manager connection, and is the read that CfgUpdateCommon writes back.

Requires the settings permission, not the sensitive one — a client that may change common settings but not read the server's infrastructure can still use it.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestCommon" \
  -H "Authorization: Bearer $TOKEN"

Update common config

POST /api/v2/MT4/{tradePlatform}/CfgUpdateCommon

Change server-wide common settings. Only the fields present in the body are written: the current record is read from the trade server, the body is applied over it, and the merged record is written back. A field that is left out keeps its server value; for the string fields, omitting the key keeps the value while sending "" clears it. A body without any field is rejected.

Fields the request does not carry:

  • Runtime counters (LastOrder, LastLogin, LostLogin, optimization timestamps, overnight rollover state).

  • Protocol identity (ServerVersion, ServerBuild).

  • Bind / web address arrays (variable-length nested collections — own endpoints planned).

  • Demo-account subsystem, paths, rollover/statement modes (sensitive admin areas with separate endpoints).

Idempotency-Key strongly recommended — overwriting common settings affects every connected client.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4CommonUpdate (application/json) — Fields to change. Omitted fields keep their server value.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateCommon" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "", "owner": "", "timeZone": 0, "daylightCorrection": 0, "timeZoneReal": 0, "timeSync": "" }'

List holiday config

GET /api/v2/MT4/{tradePlatform}/CfgRequestHoliday

All holiday-calendar entries configured on the MT4 server, paginated.

Holidays describe trading-suspension dates per symbol or symbol-group. Each entry carries date components (Year/Month/Day), a work-time window (From/To, minutes from midnight, both 0 for full closure), the affected Symbol (or "All"), a free-form Description, and an Enable flag. Ordering: by (Year, Month, Day, From, Symbol) ascending so cursors are stable and unique. The cursor is an opaque base64 string produced by CursorCodec from the composite "{YYYYMMDD * 10000 + From:D14}|{Symbol}" key — the Symbol tiebreaker covers the case where multiple holidays share date and From minute (per-symbol partial-day closures), guaranteeing pagination never drops rows even inside same-(date,From) clusters.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestHoliday" \
  -H "Authorization: Bearer $TOKEN"

List manager configs

GET /api/v2/MT4/{tradePlatform}/CfgRequestManager

All MT4 manager-account configurations on the connected server, paginated by Login.

Each entry surfaces the manager's Login/Name/Groups/MailBox, the 19 boolean permission rights (Manager, Money, Broker, Admin, Reports, Trades, MarketWatch, etc.), IP-filter range, and InfoDepth. Internal platform fields (SecGroups, Unused, ExpTime, Reserved) are dropped from the v2 contract.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestManager" \
  -H "Authorization: Bearer $TOKEN"

Get access-hour matrix

GET /api/v2/MT4/{tradePlatform}/CfgRequestTime

Server access-hour matrix (per-hour 7×24 allow/deny grid) from the MT4 server's ConTime configuration.

Returns MT4ServerTime with a flat 168-element AccessHours array; each element is 0 (denied) or 1 (allowed) for one hour of the week. Layout: index = day*24 + hour, day 0 = Sunday (MT4 convention). Internal DaysControl and Reserved platform fields are not surfaced.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestTime" \
  -H "Authorization: Bearer $TOKEN"

Update access-hour matrix

POST /api/v2/MT4/{tradePlatform}/CfgUpdateTime

Update the 7×24 access-hour matrix.

Asks the trade server directly. Reads the current ConTime, replaces the 168-hour access matrix with the supplied AccessHours, and writes back. The platform's internal DaysControl (server housekeeping) and Reserved (forward-compat padding) fields are preserved across the round-trip.

AccessHours must be exactly 168 entries long; index = day * 24 + hour with day 0 = Sunday. Each value is 0 (denied) or 1 (allowed); any other value is refused, because the platform would accept it and MT4 may treat it as allowed depending on build.

Echoes the merged MT4ServerTime in the response.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4ServerTime (application/json) — Replacement access matrix. AccessHours.Length must be 168.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateTime" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "accessHours": [0] }'

List IP firewall rules

GET /api/v2/MT4/{tradePlatform}/CfgRequestAccess

All firewall (IP access) rules configured on the MT4 server, paginated.

Each entry describes an IP range (IpFrom..IpTo, widened uint→long for JSON safety) with an Action flag and a free-form Comment. Ordering: by the whole row — range, action and comment — ascending. The table allows several rules with the same range and a different action or comment, so the range alone is not a unique page key; the cursor is an opaque token over the full row and a page boundary between two equal-range rules does not drop the second.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestAccess" \
  -H "Authorization: Bearer $TOKEN"

Get backup config

GET /api/v2/MT4/{tradePlatform}/CfgRequestBackup

MT4 server backup configuration (full + archive + export schedules, watchdog HA pair settings).

Returns the platform's ConBackup as Backup schedule — full/archive/export schedule enums and paths, last completion timestamps, and HA-watchdog fields. The platform's WatchPassword (slave-server credential) is intentionally dropped from the v2 contract for security and is NOT present in the response payload.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestBackup" \
  -H "Authorization: Bearer $TOKEN"

Update backup config

POST /api/v2/MT4/{tradePlatform}/CfgUpdateBackup

Update server backup configuration.

Asks the trade server directly. Reads the current ConBackup, overlays the fields in MT4Backup onto it, and writes back via CfgUpdateBackup. Two classes of preserved fields:

  • Slave-server credential — WatchPassword stays whatever the platform read live. It is unreachable from the v2 request body (the request does not carry it).

  • Last-completion timestamps — FullBackupLastTime, ArchiveLastTime, ExportLastTime, WatchTimestamp. Server-derived runtime state that clients must not overwrite.

Echoes the merged MT4Backup in the response.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4Backup (application/json) — Replacement backup configuration. Server-derived timestamps and the watch password are preserved.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateBackup" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "fullBackupPath": "", "fullBackupPeriod": "H1", "fullBackupStore": "Mn1", "fullBackupShift": 0, "fullBackupLastTime": "2026-01-01T00:00:00Z", "externalPath": "" }'

Update sync rule

POST /api/v2/MT4/{tradePlatform}/CfgUpdateSync

Update a chart-history synchronization rule.

Asks the trade server directly. Sync configurations are paged on the read side (see CfgRequestSync); the v2 contract identifies a rule by the composite key (Server, Login). Flow:

  • Read the current list via CfgRequestSync.

  • Find the entry whose (Server, Login) matches the body. Missing entry → NotFound envelope.

  • Apply the request over the matched entry — the replication credential (Password) carried by the live struct is preserved.

  • Write the merged struct back.

Echoes the merged MT4Sync in the response.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4Sync (application/json) — Replacement fields; Server+Login identify the row.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateSync" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "server": "", "login": "", "enable": 0, "mode": "Add", "from": 0, "to": 0 }'

Update feeder config

POST /api/v2/MT4/{tradePlatform}/CfgUpdateFeeder

Update a quote/news feeder configuration.

Asks the trade server directly. Feeder configurations are paged on the read side (see CfgRequestFeeder); the v2 contract identifies a feeder by its Name. Same read-modify-write flow as CfgUpdateSync; the datafeed credential (Password) is preserved server-side.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4Feeder (application/json) — Replacement fields; Name identifies the feeder.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateFeeder" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "", "file": "", "server": "", "login": "", "keywords": "", "enable": 0 }'

Update gateway account

POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayAccount

Update an STP gateway-account entry.

Asks the trade server directly. Gateway-account entries are paged on the read side (see CfgRequestGatewayAccount); the v2 contract identifies an entry by its stable internal Id. Flow:

  • Read the current list via CfgRequestGatewayAccount.

  • Find the entry whose Id matches the body. Missing entry → NotFound envelope.

  • Apply the request over the matched entry — the STP MT4 credential (Password) carried by the live struct is preserved.

  • Write the merged struct back.

Echoes the merged MT4GatewayAccount in the response.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4GatewayAccount (application/json) — Replacement fields; Id identifies the row.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateGatewayAccount" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "enable": false, "name": "", "id": 0, "type": 0, "login": 0, "address": "" }'

Update gateway markup

POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayMarkup

Update a gateway markup rule.

Asks the trade server directly. Markup rules are paged on the read side (see CfgRequestGatewayMarkup); the v2 contract identifies a rule by the composite key (Source, Symbol) (same cursor key the read endpoint uses). Same read-modify-write flow as CfgUpdateGatewayAccount; the platform's 16-int reserved padding is preserved.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4GatewayMarkup (application/json) — Replacement fields; Source+Symbol identify the row.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateGatewayMarkup" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "enable": false, "source": "", "symbol": "", "accountName": "", "accountId": 0, "bidMarkup": 0 }'

Update gateway rule

POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayRule

Update an STP gateway-rule entry.

Asks the trade server directly. Gateway rules are paged on the read side (see CfgRequestGatewayRule); the v2 contract identifies a rule by its public Name. Same read-modify-write flow; the two platform reserved padding blocks (RequestRreserved 32-int, ExeReserved 25-int) are preserved server-side.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4GatewayRule (application/json) — Replacement fields; Name identifies the rule.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateGatewayRule" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "enable": false, "name": "", "requestSymbol": "", "requestGroup": "", "exeAccountName": "", "exeAccountId": 0 }'

Update LiveUpdate config

POST /api/v2/MT4/{tradePlatform}/CfgUpdateLiveUpdate

Update a LiveUpdate service configuration.

Asks the trade server directly. LiveUpdate entries are paged on the read side (see CfgRequestLiveUpdate); the v2 contract identifies an entry by its Company field (same cursor key the read endpoint uses). Flow: read live list → match by Company → overlay → write back. The 128-element Files descriptor table and the runtime Connections counter are preserved server-side.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4LiveUpdate (application/json) — Replacement fields; Company identifies the entry.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateLiveUpdate" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "company": "", "path": "", "version": 0, "build": 0, "maxConnect": 0, "connections": 0 }'

Update manager config

POST /api/v2/MT4/{tradePlatform}/CfgUpdateManager

Update a manager-account configuration.

Asks the trade server directly. Manager-account entries are paged on the read side (see CfgRequestManager); the v2 contract identifies an entry by Login. Flow: read live list → match by Login → overlay (19 permission flags + IP filter + MailBox/Groups/InfoDepth) → write back. The platform's Name (read-only — server sets it), SecGroups (32-entry permission table), ExpTime, Unused, and Reserved are preserved.

IpFrom/IpTo in the body are long (the field widens the platform's uint for safe JSON numerics) — values outside [0, uint.MaxValue] are rejected with error.code = Validation before anything is written.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4ManagerRights (application/json) — Replacement fields; Login identifies the manager.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateManager" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "login": 0, "name": "", "groups": "", "mailBox": "", "infoDepth": 0, "manager": false }'

Update IP firewall rule

POST /api/v2/MT4/{tradePlatform}/CfgUpdateAccess

Update an IP firewall rule, identified by the range and action it currently carries.

Asks the trade server directly. The rule is identified by the range and action it currently carries: the row is located by the ipFrom, ipTo and action query values the read shows. Flow:

  • Read the live rule list from the trade server.

  • Find the row whose range and action match the query — no match yields a NotFound envelope and nothing is written.

  • Apply the request over that row.

  • Write the result back.

If several rules share the same range and action, the first one the read returns is the one updated. IpFrom/IpTo in the body must fit in [0, uint.MaxValue]; out-of-range values are rejected with error.code = Validation before anything is written.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
ipFrom query integer (int64) no Current lower bound of the rule to update
ipTo query integer (int64) no Current upper bound of the rule to update
action query integer (int32) no Current action value of the rule to update
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4Access (application/json) — Replacement contents for the matched row

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateAccess" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "action": 0, "ipFrom": 0, "ipTo": 0, "comment": "" }'

Update data-server entry

POST /api/v2/MT4/{tradePlatform}/CfgUpdateDataServer

Update a DataServer (access-server) entry, identified by its server name.

The read endpoint re-sorts the table, so the row position is not a stable identity; the row is located by the server name the read shows and the platform call is issued at the index the server reports for it. Same read-modify-write flow as CfgUpdateAccess. Preserves internal padding (Reserved1, Reserved2) and the Next pointer. Loading/IpInternal in the body must fit in [0, uint.MaxValue].

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
server query string no Current server name of the entry to update
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4DataServer (application/json) — Replacement contents for the matched row

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateDataServer" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "server": "", "ip": 0, "description": "", "isProxy": 0, "priority": 0, "loading": 0 }'

Update holiday entry

POST /api/v2/MT4/{tradePlatform}/CfgUpdateHoliday

Update a holiday-calendar entry, identified by its date, trading-window start and symbol.

The read endpoint re-sorts the table (date first), so the platform position is not a stable identity: the row is located by year, month, day, from and symbol as the read shows them, and the platform call is issued at the index the server reports for that row. The platform stores Enable as int (0/1); here it is a bool. The 13-int Reserved padding and Next pointer are preserved.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
year query integer (int32) no Current year of the entry to update
month query integer (int32) no Current month of the entry to update
day query integer (int32) no Current day of the entry to update
from query integer (int32) no Current trading-window start, in minutes from midnight
symbol query string no Current symbol of the entry; empty for a market-wide entry
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4Holiday (application/json) — Replacement contents for the matched row

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateHoliday" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "year": 0, "month": 0, "day": 0, "from": 0, "to": 0, "symbol": "" }'

Update symbol group

POST /api/v2/MT4/{tradePlatform}/CfgUpdateSymbolGroup

Update a symbol group, identified by its name.

The read endpoint re-sorts the table by name, so the platform position is not a stable identity: the row is located by the name the read shows and the platform call is issued at the index the server reports for it. ConSymbolGroup has no reserved padding or internal pointers, so the overlay is trivial.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
name query string no Current name of the group to update
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Request body

MT4SymbolGroup (application/json) — Replacement contents for the matched row

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgUpdateSymbolGroup" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "", "description": "" }'

List gateway accounts

GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayAccount

All STP gateway-account configuration entries on the MT4 server, paginated by stable internal Id.

Each entry describes an external MT4 server connection used for STP order routing: public Name, an internal Id (stable identifier — used as the cursor key), the external server Login + Address, a NotifyLogins fixed-size array of 8 broker-side recipients, and a Flags bitmap. The platform's Password field (STP MT4 credential) is intentionally excluded from the v2 contract.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestGatewayAccount" \
  -H "Authorization: Bearer $TOKEN"

List gateway markups

GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayMarkup

All MT4 gateway-markup rules (per-symbol bid/ask spread adjustments applied to STP-routed quotes), paginated.

Each entry maps an external Source (symbol/mask/group) onto a local Symbol with per-side pip markups (BidMarkup/AskMarkup). Ordering: by (Source, Symbol) ascending. The cursor is an opaque token over that pair; sorting and paging use the same comparison, so a source name that is a prefix of another does not make a page boundary skip rows.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestGatewayMarkup" \
  -H "Authorization: Bearer $TOKEN"

List gateway rules

GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayRule

All MT4 gateway-rule entries (STP execution routing policies), paginated by Name.

Each rule matches incoming orders by RequestSymbol + RequestGroup and routes them to a configured execution gateway-account (ExeAccountName/ExeAccountId) with per-rule slippage and volume limits. Pages are ordered by name and then by the routing fields, so two rules that share a name are both returned.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestGatewayRule" \
  -H "Authorization: Bearer $TOKEN"

List data servers

GET /api/v2/MT4/{tradePlatform}/CfgRequestDataServer

All MT4 access-server (data-server) entries advertised to clients for connection, paginated by server name and IP (a name is not unique in the advertised table).

Returns the broker-side advertised list of connection endpoints — each entry: Server (host:port), Ip, Description, IsProxy flag, Priority (0-7 base, 255 = idle), Loading (UINT_MAX = no reporting), IpInternal, IsWitness flag. Internal Reserved padding and the Next pointer chain are dropped.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestDataServer" \
  -H "Authorization: Bearer $TOKEN"

List feeder configs

GET /api/v2/MT4/{tradePlatform}/CfgRequestFeeder

All quote/news feeder configurations on the MT4 server, paginated by name and its file/server/login identity.

Each entry: Name, File (loader path), Server (upstream), Login, Keywords (news filter), Enable flag, DataFeedMode (quotes/news/both), connection timeouts (Timeout, TimeoutReconnect, TimeoutSleep, AttempsSleep), NewsLangId. The platform's Password (datafeed credentials) is intentionally excluded from the v2 contract.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestFeeder" \
  -H "Authorization: Bearer $TOKEN"

List LiveUpdate configs

GET /api/v2/MT4/{tradePlatform}/CfgRequestLiveUpdate

All MT4 LiveUpdate service configurations on the server, paginated by company name and path.

Each entry: Company (cursor key), Path, Version/Build, MaxConnect, current Connections (read-only), Type, Enable flag, TotalFiles. The platform's 128-element per-file Files descriptor table is dropped from this payload for tractability; a dedicated per-file endpoint will follow.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestLiveUpdate" \
  -H "Authorization: Bearer $TOKEN"

List sync rules

GET /api/v2/MT4/{tradePlatform}/CfgRequestSync

All chart-history synchronization rules configured on the MT4 server, paginated by server and login.

Each rule pulls historical bars from an upstream source — Server + Login identify the source and together form the page key, so two rules for the same server with different logins are both returned. Mode/From/To/Securities define the sync scope, and TimeCorrection (minutes) adjusts incoming bar timestamps. The the platform's Password (replication credentials) is intentionally excluded from the v2 contract.

Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
limit query integer (int32) no Maximum number of items to return in one page. Omit to return all items in a single page. Maximum allowed value is 5000.
cursor query string no Opaque continuation token. Pass the value from the previous response's meta.paging.nextCursor to fetch the next page; omit for the first page. A token is accepted only by the call that issued it: a corrupt, truncated or foreign token answers a Validation error instead of restarting from the first page.
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgRequestSync" \
  -H "Authorization: Bearer $TOKEN"

Delete IP firewall rule

POST /api/v2/MT4/{tradePlatform}/CfgDeleteAccess

Deletes an entry from the server's IP firewall (Access) configuration table, identified by the range and action it currently carries.

The platform call takes a row position while the read endpoint re-sorts the table; the row is located by the query values and the platform call is issued at the index the server reports for it. If several rules share the same range and action, the first one in the server's table is deleted. A rule that is not found yields a NotFound envelope and nothing is deleted. Destructive — pair with Idempotency-Key on retry.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
ipFrom query integer (int64) no Lower bound of the rule to delete
ipTo query integer (int64) no Upper bound of the rule to delete
action query integer (int32) no Action value of the rule to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteAccess" \
  -H "Authorization: Bearer $TOKEN"

Delete data-server entry

POST /api/v2/MT4/{tradePlatform}/CfgDeleteDataServer

Deletes an entry from the server's access-server (DataServer) configuration table, identified by its server name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
server query string no Server name of the entry to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteDataServer" \
  -H "Authorization: Bearer $TOKEN"

Delete feeder config

POST /api/v2/MT4/{tradePlatform}/CfgDeleteFeeder

Deletes an entry from the quote/news feeder configuration table, identified by its name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
name query string no Name of the feeder to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteFeeder" \
  -H "Authorization: Bearer $TOKEN"

Delete gateway account

POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayAccount

Deletes an STP gateway-account configuration entry, identified by its stable internal Id.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
id query integer (int32) no Stable internal Id of the gateway-account entry to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteGatewayAccount" \
  -H "Authorization: Bearer $TOKEN"

Delete gateway markup

POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayMarkup

Deletes a per-symbol gateway markup rule, identified by its source and symbol.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
source query string no Source of the markup rule to delete
symbol query string no Symbol of the markup rule to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteGatewayMarkup" \
  -H "Authorization: Bearer $TOKEN"

Delete gateway rule

POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayRule

Deletes an STP execution-routing (gateway) rule, identified by its name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
name query string no Name of the gateway rule to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteGatewayRule" \
  -H "Authorization: Bearer $TOKEN"

Delete holiday entry

POST /api/v2/MT4/{tradePlatform}/CfgDeleteHoliday

Deletes a holiday-calendar entry, identified by its date, trading-window start and symbol.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
year query integer (int32) no Year of the entry to delete
month query integer (int32) no Month of the entry to delete
day query integer (int32) no Day of the entry to delete
from query integer (int32) no Trading-window start, in minutes from midnight
symbol query string no Symbol of the entry; empty for a market-wide entry
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteHoliday" \
  -H "Authorization: Bearer $TOKEN"

Delete LiveUpdate config

POST /api/v2/MT4/{tradePlatform}/CfgDeleteLiveUpdate

Deletes a LiveUpdate service configuration, identified by its company name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
company query string no Company name of the LiveUpdate entry to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteLiveUpdate" \
  -H "Authorization: Bearer $TOKEN"

Delete manager config

POST /api/v2/MT4/{tradePlatform}/CfgDeleteManager

Deletes a manager-account configuration entry, identified by its login.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
login query integer (int32) no Login of the manager account to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteManager" \
  -H "Authorization: Bearer $TOKEN"

Delete symbol config

POST /api/v2/MT4/{tradePlatform}/CfgDeleteSymbol

Deletes a symbol configuration entry, identified by its name. This permanently removes the symbol from the server — pair with Idempotency-Key and prefer SymbolHide when you only want to suspend visibility.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
symbol query string no Name of the symbol to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteSymbol" \
  -H "Authorization: Bearer $TOKEN"

Delete sync rule

POST /api/v2/MT4/{tradePlatform}/CfgDeleteSync

Deletes a chart-history synchronization rule, identified by its server and login.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
server query string no Server name of the sync rule to delete
login query string no Login of the sync rule to delete
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgDeleteSync" \
  -H "Authorization: Bearer $TOKEN"

Reorder IP firewall rule

POST /api/v2/MT4/{tradePlatform}/CfgShiftAccess

Reorders an entry in the access-rules table by relative displacement, identified by the range and action it currently carries.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
ipFrom query integer (int64) no Lower bound of the rule to move
ipTo query integer (int64) no Upper bound of the rule to move
action query integer (int32) no Action value of the rule to move
shift query integer (int32) no Relative displacement (positive = down, negative = up)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftAccess" \
  -H "Authorization: Bearer $TOKEN"

Reorder data-server entry

POST /api/v2/MT4/{tradePlatform}/CfgShiftDataServer

Reorders an entry in the data-servers table by relative displacement, identified by its server name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
server query string no Server name of the entry to move
shift query integer (int32) no Relative displacement (positive = down, negative = up)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftDataServer" \
  -H "Authorization: Bearer $TOKEN"

Reorder feeder config

POST /api/v2/MT4/{tradePlatform}/CfgShiftFeeder

Reorders an entry in the feeders table by relative displacement, identified by its name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
name query string no Name of the feeder to move
shift query integer (int32) no Relative displacement (positive = down, negative = up)
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftFeeder" \
  -H "Authorization: Bearer $TOKEN"

Reorder gateway account

POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayAccount

Reorders an entry in the gateway-accounts table by relative displacement, identified by its stable internal Id.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
id query integer (int32) no Stable internal Id of the entry to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftGatewayAccount" \
  -H "Authorization: Bearer $TOKEN"

Reorder gateway markup

POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayMarkup

Reorders an entry in the gateway-markup table by relative displacement, identified by its source and symbol.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
source query string no Source of the rule to move
symbol query string no Symbol of the rule to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftGatewayMarkup" \
  -H "Authorization: Bearer $TOKEN"

Reorder gateway rule

POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayRule

Reorders an entry in the gateway-rules table by relative displacement, identified by its name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
name query string no Name of the rule to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftGatewayRule" \
  -H "Authorization: Bearer $TOKEN"

Reorder trading group

POST /api/v2/MT4/{tradePlatform}/CfgShiftGroup

Reorders an entry in the trading-groups table by relative displacement, identified by its group name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
group query string no Name of the group to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftGroup" \
  -H "Authorization: Bearer $TOKEN"

Reorder holiday entry

POST /api/v2/MT4/{tradePlatform}/CfgShiftHoliday

Reorders an entry in the holiday-calendar table by relative displacement, identified by its date, trading-window start and symbol.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
year query integer (int32) no Year of the entry to move
month query integer (int32) no Month of the entry to move
day query integer (int32) no Day of the entry to move
from query integer (int32) no Trading-window start, in minutes from midnight
symbol query string no Symbol of the entry; empty for a market-wide entry
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftHoliday" \
  -H "Authorization: Bearer $TOKEN"

Reorder LiveUpdate config

POST /api/v2/MT4/{tradePlatform}/CfgShiftLiveUpdate

Reorders an entry in the live-update table by relative displacement, identified by its company name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
company query string no Company name of the entry to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftLiveUpdate" \
  -H "Authorization: Bearer $TOKEN"

Reorder manager config

POST /api/v2/MT4/{tradePlatform}/CfgShiftManager

Reorders an entry in the managers table by relative displacement, identified by its login.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
login query integer (int32) no Login of the manager account to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftManager" \
  -H "Authorization: Bearer $TOKEN"

Reorder plugin entry

POST /api/v2/MT4/{tradePlatform}/CfgShiftPlugin/{pos}

Reorders an entry in the plugins table by relative displacement. Only the order of the rows changes; plugin parameters are not touched.

The position is the one the PluginsGet read of the 32-bit companion host returns; that read does not re-sort the table, so its index is the row position. The plugin table has no other readable identity on this host.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
pos path integer (int32) yes Zero-based source row index, as returned by PluginsGet
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftPlugin/$POS" \
  -H "Authorization: Bearer $TOKEN"

Reorder symbol entry

POST /api/v2/MT4/{tradePlatform}/CfgShiftSymbol

Reorders an entry in the symbols table by relative displacement, identified by its name.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
symbol query string no Name of the symbol to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftSymbol" \
  -H "Authorization: Bearer $TOKEN"

Reorder sync rule

POST /api/v2/MT4/{tradePlatform}/CfgShiftSync

Reorders an entry in the sync-rules table by relative displacement, identified by its server and login.

Timeout: 15 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: The operation may still be completed by the server (X-Request-Outcome: unknown): check its result before repeating it.

Parameters

NameInTypeRequiredDescription
tradePlatform path string (uuid) yes Trade platform id (GUID)
server query string no Server name of the sync rule to move
login query string no Login of the sync rule to move
shift query integer (int32) no Relative displacement
X-Request-Timeout header number (double) no How long to wait for the trade server, in seconds (1–300). Default for this operation: 15 s (change). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header.

Responses

Example

curl -X POST "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/CfgShiftSync" \
  -H "Authorization: Bearer $TOKEN"

Schemas

Types the operations above take and return, with their first-level properties; * marks a required one. The full graph is in the OpenAPI specification.

MT4CommonApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Common Full server-wide common configuration of an MT4 trade server: identity, protocol version, bind and web address lists, storage paths, runtime counters and the operational subsystems (demo accounts, rollover, statements, live update).
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4CommonUpdate

Request record for MT4 server-wide common settings: a partial record over the platform's ConCommon struct.

PropertyTypeDescription
name string, nullable Trade server display name.
owner string, nullable Broker / company display name.
timeZone integer (int32), nullable Server time zone offset from UTC, in hours.
daylightCorrection integer (int32), nullable DST correction setting (server-specific integer).
timeZoneReal integer (int32), nullable Real time-zone (no DST) offset from UTC, in hours.
timeSync string, nullable NTP server hostname for clock sync.
minClient integer (int32), nullable Minimum acceptable client build number.
minApi integer (int32), nullable Minimum client API build the trade server accepts.
keepEmails integer (int32), nullable How long (days) to keep mailbox messages.
keepTicks integer (int32), nullable How long (days) to keep tick history.
antiFlood integer (int32), nullable Anti-flood threshold (requests per second).
floodControl integer (int32), nullable Flood-control behaviour mode.

MT4HolidayListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Holiday[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4ManagerRightsListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4ManagerRights[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4ServerTimeApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4ServerTime v2 record for the MT4 server's per-hour access matrix (the platform's ConTime.Days field). 168-element flat array; each element is 0 (denied) or 1 (allowed) for one hour of the week. Layout: index = day * 24 + hour, day-of-week 0..6 matches MT4's native convention where day 0 = Sunday. Example: AccessHours[24..47] covers Monday's 24 hours. Internal DaysControl and Reserved platform fields are not part of the v2 contract.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4ServerTime

v2 record for the MT4 server's per-hour access matrix (the platform's ConTime.Days field). 168-element flat array; each element is 0 (denied) or 1 (allowed) for one hour of the week. Layout: index = day * 24 + hour, day-of-week 0..6 matches MT4's native convention where day 0 = Sunday. Example: AccessHours[24..47] covers Monday's 24 hours. Internal DaysControl and Reserved platform fields are not part of the v2 contract.

PropertyTypeDescription
accessHours integer (int32)[] 7×24 = 168 hourly access flags. Index = day*24 + hour; day 0 = Sunday (MT4 convention). 0 = denied, 1 = allowed.

MT4AccessListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Access[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4BackupApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Backup Backup configuration of the MT4 server. All fields except the slave-server password, which is never returned. Enumerations are returned as their names.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4Backup

Backup configuration of the MT4 server. All fields except the slave-server password, which is never returned. Enumerations are returned as their names.

PropertyTypeDescription
fullBackupPath string, nullable Filesystem path where full backups are written
fullBackupPeriod BackupExecutionPeriod Full backup schedule period (1h / 4h / 1d)
fullBackupStore BackupStorePeriod How long full backups are retained (1m / 3m / 6m / 1y)
fullBackupShift integer (int32) Full backup time-shift in minutes
fullBackupLastTime string (date-time) Last full backup completion timestamp (UTC)
externalPath string, nullable Path to external processing directory
archivePeriod ArcBackupExecutionPeriod Archive backup schedule period (5m / 15m / 30m / 1h)
archiveStore ArcBackupStorePeriod How long archive backups are retained (1w / 2w / 1m / 3m / 6m)
archiveShift integer (int32) Archive backup time-shift in minutes
archiveLastTime string (date-time) Last archive backup completion timestamp (UTC)
exportSecurities string, nullable Comma-separated list of exported securities
exportPath string, nullable Path to export script
exportPeriod ExportExecutionPeriod Export schedule period (1m / 5m / 15m / 30m / 1h)
exportLastTime string (date-time) Last export completion timestamp (UTC)
watchRole ServerRole Server role in HA pair (stand-alone / master / slave)
watchOpposite string, nullable Opposite server's IP:port string (not secret)
watchIp integer (int32) Watchdog IP (32-bit, raw platform representation)
watchState WatchdogState Watchdog state
watchFailover WatchdogFailoverMode Watchdog failover mode
watchTimeout integer (int32) Watchdog response timeout, seconds
watchLogin integer (int32) Watchdog login
watchTimestamp integer (int32) Watchdog last-seen timestamp (raw int — platform does not auto-convert)

MT4Sync

v2 record for a single MT4 chart-history synchronization rule. Curated subset of the platform's ConSync — drops the Reserved padding, the Next pointer chain, the unused port slot, AND the Password field (replication credentials to the upstream sync source).

PropertyTypeDescription
server string, nullable Upstream sync server address (used as cursor key)
login string, nullable Replication login (upstream credential identifier)
enable integer (int32) Enable flag (0 = disabled, 1 = enabled — raw platform int)
mode SynchronizationMode Synchronization mode (Add / Update / Insert — platform enum)
from integer (int32) Sync range start (negative = whole chart)
to integer (int32) Sync range end (negative = whole chart)
securities string, nullable Comma-separated list of symbols to synchronize
timeCorrection integer (int32) Time correction in minutes applied to incoming bars

MT4SyncApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Sync v2 record for a single MT4 chart-history synchronization rule. Curated subset of the platform's ConSync — drops the Reserved padding, the Next pointer chain, the unused port slot, AND the Password field (replication credentials to the upstream sync source).
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4Feeder

v2 record for a single MT4 quote/news feeder configuration. Curated subset of the platform's ConFeeder — drops the platform's Unused reserved blob AND the Password field (datafeed credentials).

PropertyTypeDescription
name string, nullable Feeder name (used as cursor key — assumed unique)
file string, nullable Datafeed loader filename (DLL or script path)
server string, nullable Upstream feeder server address
login string, nullable Datafeed login (upstream credential identifier)
keywords string, nullable Keywords for news filtering
enable integer (int32) Enable flag (0 = disabled, 1 = enabled — raw platform int)
dataFeedMode DataFeedMode Feed mode (quotes / news / both — platform enum)
timeout integer (int32) Maximum freeze time in seconds before considered stalled (default ~120)
timeoutReconnect integer (int32) Reconnect delay before "sleep" attempts threshold (default ~5s)
timeoutSleep integer (int32) Reconnect delay after "sleep" attempts threshold (default ~60s)
attempsSleep integer (int32) Reconnect count before switching to sleep timeout
newsLangId integer (int32) News language id

MT4FeederApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Feeder v2 record for a single MT4 quote/news feeder configuration. Curated subset of the platform's ConFeeder — drops the platform's Unused reserved blob AND the Password field (datafeed credentials).
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4GatewayAccount

v2 record for a single MT4 STP gateway-account configuration entry. Curated subset of the platform's ConGatewayAccount — drops the 23-int Reserved block AND the Password field (STP MT4 credential to the external server). NotifyLogins is preserved as int[8] because the platform exposes a fixed-size 8-slot array.

PropertyTypeDescription
enable boolean Whether the gateway-account entry is active
name string, nullable Public name of the gateway account
id integer (int32) Internal id (stable identifier)
type integer (int32) Gateway type (obsolete in modern MT4 builds — preserved for API completeness)
login integer (int32) STP MT4 login (account number on the external server)
address string, nullable External MT4 server address (host:port string)
notifyLogins integer (int32)[] Logins of broker managers receiving internal-email gateway notifications (fixed-size 8 slots)
flags EnGatewayAccountFlags Gateway-account flag bitmap (platform enum, serialized as string)

MT4GatewayAccountApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4GatewayAccount v2 record for a single MT4 STP gateway-account configuration entry. Curated subset of the platform's ConGatewayAccount — drops the 23-int Reserved block AND the Password field (STP MT4 credential to the external server). NotifyLogins is preserved as int[8] because the platform exposes a fixed-size 8-slot array.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4GatewayMarkup

v2 record for a single MT4 gateway markup rule. Curated subset of the the platform's ConGatewayMarkup — drops the 16-int Reserved padding. Source describes the external symbol (or a wildcard/group mask) being mapped onto Symbol on this server, with per-side spread adjustments BidMarkup and AskMarkup expressed in pips.

PropertyTypeDescription
enable boolean Whether the markup rule is active
source string, nullable External symbol name, mask, or symbol-group identifier
symbol string, nullable Local symbol name this markup applies to
accountName string, nullable Gateway-account name (obsolete in modern MT4 builds — preserved for API completeness)
accountId integer (int32) Gateway-account internal id (obsolete — see AccountName note)
bidMarkup integer (int32) Bid-side markup in pips (added to the external bid quote)
askMarkup integer (int32) Ask-side markup in pips (added to the external ask quote)

MT4GatewayMarkupApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4GatewayMarkup v2 record for a single MT4 gateway markup rule. Curated subset of the the platform's ConGatewayMarkup — drops the 16-int Reserved padding. Source describes the external symbol (or a wildcard/group mask) being mapped onto Symbol on this server, with per-side spread adjustments BidMarkup and AskMarkup expressed in pips.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4GatewayRule

v2 record for a single MT4 gateway-rule entry (STP execution routing policy). Curated subset of the platform's ConGatewayRule — drops the internal RequestRreserved/ExeReserved padding blocks. Each rule selects orders by RequestSymbol and RequestGroup (each can be an exact name, a wildcard mask, or a group identifier), then routes them to ExeAccount (named externally), with execution limits expressed in pips and lots.

PropertyTypeDescription
enable boolean Whether the rule is active
name string, nullable Public name of the rule (assumed unique within the rules table — used as cursor key)
requestSymbol string, nullable Order-matching symbol name, mask, or symbol-group identifier
requestGroup string, nullable Order-matching account group name or group mask
exeAccountName string, nullable Execution gateway-account name
exeAccountId integer (int32) Execution gateway-account internal id
exeMaxDeviation integer (int32) Maximum allowed deviation (pips) between requested and executed price
exeMaxProfitSlippage integer (int32) Maximum slippage in pips on profit-side execution
exeMaxProfitSlippageLots integer (int32) Maximum slippage volume in lots on profit-side execution
exeMaxLosingSlippage integer (int32) Maximum slippage in pips on losing-side execution
exeMaxLosingSlippageLots integer (int32) Maximum slippage volume in lots on losing-side execution
exeAccountPos integer (int32) Current open position on the execution account
exeVolumePercent integer (int32) Coverage percentage (volume routed externally vs. internal book)
exeFlags integer (int32) Execution flags bitmap (raw platform int)

MT4GatewayRuleApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4GatewayRule v2 record for a single MT4 gateway-rule entry (STP execution routing policy). Curated subset of the platform's ConGatewayRule — drops the internal RequestRreserved/ExeReserved padding blocks. Each rule selects orders by RequestSymbol and RequestGroup (each can be an exact name, a wildcard mask, or a group identifier), then routes them to ExeAccount (named externally), with execution limits expressed in pips and lots.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4LiveUpdate

v2 record for a single MT4 LiveUpdate configuration entry. Curated subset of the platform's ConLiveUpdate — exposes the metadata (Company, Path, Version/Build, connection limits and counters, Type, Enable, TotalFiles). The platform's Files array (128-element LiveInfoFile descriptor table) is intentionally deferred to a future endpoint to keep this payload tractable; v2 callers needing per-file detail will get a separate CfgRequestLiveUpdateFiles in a later slice.

PropertyTypeDescription
company string, nullable Company name advertised by the LiveUpdate service (used as cursor key)
path string, nullable Filesystem path to the LiveUpdate files
version integer (int32) Service version number
build integer (int32) Service build number
maxConnect integer (int32) Maximum simultaneous client connections allowed
connections integer (int32) Currently active client connections (read-only counter)
type integer (int32) LiveUpdate kind/type (raw platform int — LIVE_UPDATE_* constants)
enable integer (int32) Enable flag (0 = disabled, 1 = enabled — raw platform int)
totalFiles integer (int32) Total files served

MT4LiveUpdateApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4LiveUpdate v2 record for a single MT4 LiveUpdate configuration entry. Curated subset of the platform's ConLiveUpdate — exposes the metadata (Company, Path, Version/Build, connection limits and counters, Type, Enable, TotalFiles). The platform's Files array (128-element LiveInfoFile descriptor table) is intentionally deferred to a future endpoint to keep this payload tractable; v2 callers needing per-file detail will get a separate CfgRequestLiveUpdateFiles in a later slice.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4ManagerRights

v2 record for an MT4 manager-account configuration entry. Curated subset of the platform's ConManager struct — exposes Login/Name/Groups/MailBox, the 19 boolean permission rights, IP-filter fields, and InfoDepth. Drops internal fields: SecGroups, ExpTime, Unused, Reserved blocks. IPFrom/IPTo are widened from uint to long so the JSON-serialized value fits inside JS Number safely (no precision loss).

PropertyTypeDescription
login integer (int32) Manager account login (read-only)
name string, nullable Display name of the manager (read-only on the platform side)
groups string, nullable Comma-separated list of managed group names (wildcard '*' allowed)
mailBox string, nullable Internal mailbox name used for manager mail
infoDepth integer (int32) Maximum reportable history depth, in days
manager boolean
money boolean
online boolean
riskMan boolean
broker boolean
admin boolean
logs boolean
reports boolean
trades boolean
marketWatch boolean
email boolean
userDetails boolean
seeTrades boolean
news boolean
plugins boolean
market boolean
notifications boolean
serverReports boolean
techSupport boolean
ipFilter integer (int32) IP filtering mode (0 = disabled; non-zero = enabled — raw MT4 platform value, semantics preserved)
ipFrom integer (int64) IP range start (uint widened to long for safe JSON numeric serialization)
ipTo integer (int64) IP range end (uint widened to long for safe JSON numeric serialization)

MT4ManagerRightsApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4ManagerRights v2 record for an MT4 manager-account configuration entry. Curated subset of the platform's ConManager struct — exposes Login/Name/Groups/MailBox, the 19 boolean permission rights, IP-filter fields, and InfoDepth. Drops internal fields: SecGroups, ExpTime, Unused, Reserved blocks. IPFrom/IPTo are widened from uint to long so the JSON-serialized value fits inside JS Number safely (no precision loss).
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4Access

v2 record for a single MT4 firewall (access) rule. Curated subset of the platform's ConAccess struct — drops the 17-int Reserved padding. IpFrom/IpTo are widened from uint to long so the JSON-serialized numeric value fits inside JS Number safely (no precision loss).

PropertyTypeDescription
action integer (int32) Firewall rule action — raw MT4 value preserved (FW_BLOCK / FW_PERMIT per the platform's enum encoding; surfaced as int because the platform itself surfaces it as int).
ipFrom integer (int64) IP range start (uint widened to long for JSON safety)
ipTo integer (int64) IP range end (uint widened to long for JSON safety)
comment string, nullable Free-form comment for the rule

MT4AccessApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Access v2 record for a single MT4 firewall (access) rule. Curated subset of the platform's ConAccess struct — drops the 17-int Reserved padding. IpFrom/IpTo are widened from uint to long so the JSON-serialized numeric value fits inside JS Number safely (no precision loss).
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4DataServer

v2 record for a single MT4 access-server (DataServer) configuration entry. Curated subset of the platform's ConDataServer — drops the internal Reserved1/Reserved2 padding and the Next pointer chain. Loading and IpInternal are widened from uint to long for JSON-safe numeric serialization.

PropertyTypeDescription
server string, nullable Server address as "host:port" or "host"
ip integer (int32) Server IP (raw platform int — sign-preserved; high-bit IPs may serialize as negative)
description string, nullable Free-form server description
isProxy integer (int32) Whether the server can act as a proxy (0/1; raw platform int preserved)
priority integer (int32) Connection priority: 0-7 base, 255 = idle
loading integer (int64) Reported server load (UINT_MAX = no information reported)
ipInternal integer (int64) Internal IP address (widened uint → long)
isWitness integer (int32) Failover-witness flag (0 / 1)

MT4DataServerApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4DataServer v2 record for a single MT4 access-server (DataServer) configuration entry. Curated subset of the platform's ConDataServer — drops the internal Reserved1/Reserved2 padding and the Next pointer chain. Loading and IpInternal are widened from uint to long for JSON-safe numeric serialization.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4Holiday

v2 record for a single MT4 holiday-calendar entry. Curated subset of the the platform's ConHoliday struct — exposes the broker-facing fields and drops the internal Reserved/Next pointer block. Date is split into Year/Month/Day ints (wire-compatible with the platform, no DateTime conversion to avoid timezone ambiguity for date-only entries).

PropertyTypeDescription
year integer (int32) Calendar year of the holiday (e.g. 2026)
month integer (int32) Calendar month, 1..12
day integer (int32) Day-of-month, 1..31
from integer (int32) Work-day start time, in minutes from midnight (0 if closed all day)
to integer (int32) Work-day end time, in minutes from midnight
symbol string, nullable Symbol name, symbol group name, or "All" for global holiday
description string, nullable Free-form description of the holiday
enable boolean Whether the holiday entry is active

MT4HolidayApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Holiday v2 record for a single MT4 holiday-calendar entry. Curated subset of the the platform's ConHoliday struct — exposes the broker-facing fields and drops the internal Reserved/Next pointer block. Date is split into Year/Month/Day ints (wire-compatible with the platform, no DateTime conversion to avoid timezone ambiguity for date-only entries).
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4SymbolGroup

v2 record describing a single MT4 symbol group (security category). Mirrors the platform's ConSymbolGroup — which only carries Name and Description as fixed-size ANSI fields. There is no ProfitCurrency on the MT4-side group struct (that lives on per-symbol settings, not on the group level), so the record faithfully exposes only what exists.

PropertyTypeDescription
name string, nullable Group name (e.g. "Forex", "CFD", "Metals")
description string, nullable Human-readable description of the group

MT4SymbolGroupApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4SymbolGroup v2 record describing a single MT4 symbol group (security category). Mirrors the platform's ConSymbolGroup — which only carries Name and Description as fixed-size ANSI fields. There is no ProfitCurrency on the MT4-side group struct (that lives on per-symbol settings, not on the group level), so the record faithfully exposes only what exists.
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4GatewayAccountListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4GatewayAccount[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4GatewayMarkupListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4GatewayMarkup[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4GatewayRuleListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4GatewayRule[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4DataServerListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4DataServer[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4FeederListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Feeder[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4LiveUpdateListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4LiveUpdate[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4SyncListApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data MT4Sync[]
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

BooleanApiResponse

Unified v2 response envelope: data is the payload (null on error); error is the error object (null on success, always serialised); meta contains response metadata (activityId and optional paging). A call that reaches an operation answers HTTP 200 — only transport failures (401, 403, 404, 400, 5xx) use other status codes.

PropertyTypeDescription
data boolean
error ApiError v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.
meta ApiMeta Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

MT4Common

Full server-wide common configuration of an MT4 trade server: identity, protocol version, bind and web address lists, storage paths, runtime counters and the operational subsystems (demo accounts, rollover, statements, live update).

PropertyTypeDescription
owner string, nullable Broker / company display name
name string, nullable Trade server name
address integer (int32) IP address assigned to the server
port integer (int32) Server port
timeout integer (int32) Socket timeout, seconds
demoAccountType DemoAccountType Demo-account subsystem type
timeOfDemo integer (int32) Demo-account lifetime, days
daylightCorrection integer (int32) Daylight-correction setting
timeZoneReal integer (int32) Server time zone offset from UTC, in hours (DST-adjusted)
timeZone integer (int32) Server time zone offset from UTC, in hours
timeSync string, nullable Time-synchronization server address
minClient integer (int32) Minimal authorized client version
minApi integer (int32) Minimal authorized API version
feederTimeout integer (int32) Data-feed switch timeout, seconds
keepEmails integer (int32) Internal mail keep period
endHour integer (int32) End-of-day time: hour
endMinute integer (int32) End-of-day time: minute
optimizationTime integer (int32) Optimization start time, minutes
optimizationLastTime integer (int32) Optimization last run time
optimizationCounter integer (int32) Optimization run counter
optimizationUnused integer (int32)[] Reserved for future use
antiFlood integer (int32) Anti-flood control enabled flag
floodControl integer (int32) Maximum anti-flood connections
liveUpdateMode LiveUpdateMode Live-update mode
lastOrder integer (int32) Last assigned order ticket (read only)
lastLogin integer (int32) Last assigned account login (read only)
lostLogin integer (int32) Lost-commission account login (read only)
rolloverMode RolloverMode Overnight rollover mode
pathDatabase string, nullable Path to the databases
pathHistory string, nullable Path to the history bases
pathLog string, nullable Path to the logs
overnightLastDay integer (int32) Day of the last overnight
overnightLastTime integer (int32) Time of the last overnight
overnightPrevTime integer (int32) Time of the overnight before the last one
overmonthLastMonth integer (int32) Month of the last generated report
adapters string, nullable Network adapters list (read only)
bindAdresses integer (int32)[] Available bind addresses
serverVersion integer (int32) Server version
serverBuild integer (int32) Server build number
webAdresses integer (int32)[] Web services access list (comma separated IP addresses)
statementMode StatementMode Statement generation mode
monthlyStatementMode MonthlyStatementMode Monthly statement generation schedule
keepTicks integer (int32) Tick history keep period, days
statementWeekend integer (int32) Generate statements at weekends
reserved integer (int32)[] Reserved for future use
lastActivate string (date-time) Last activation date and time
stopLast string (date-time) Last stop date and time
stopDelay integer (int32) Last stop delay
stopReason ServerStopReason Last stop reason
accountUrl string, nullable Account allocation URL

ApiError

v2 error body, present when a call failed even though it answered HTTP 200. Code is the stable error category. ManagerCode is the raw result code of the trade server on MT4 (null otherwise: on MT5 the result name is in Message). Message is a human-readable description.

PropertyTypeDescription
code WebApiErrorCode Stable transport-level error code.
managerCode ResultCode Raw MT4 result code when ApiError.Code is MT4Error; null otherwise. On MT5 the result name is in ApiError.Message.
message string, nullable Human-readable error description.

ApiMeta

Response metadata. ActivityId identifies the request — quote it when you contact support. Paging is present only on paginated list responses; otherwise it is omitted.

PropertyTypeDescription
activityId string, nullable W3C trace id of the request. Quote it when you contact support: it finds this exact call in the server logs.
paging PagingMeta Pagination info; present only on list responses, omitted otherwise.

BackupExecutionPeriod

Values: H1, H4, D1

BackupStorePeriod

Values: Mn1, Mn3, Mn6, Y1

ArcBackupExecutionPeriod

Values: M5, M15, M30, H1

ArcBackupStorePeriod

Values: W1, W2, Mn1, Mn3, Mn6

ExportExecutionPeriod

Values: M1, M5, M15, M30, H1

ServerRole

Values: StandAlone, Master, Slave

WatchdogState

Values: Disconnected, Synchronizing, Synchronized

WatchdogFailoverMode

Values: Off, Most, Full

SynchronizationMode

Values: Add, Update, Insert, Delete, Last

DataFeedMode

Values: Quotes, News, QuotesNews

EnGatewayAccountFlags

Values: None, Quotes