CPlugin

MT5 :: Configuration Databases :: Managers

API v1 (stable) · MT5 · 1 operation · base URL https://cloud.mywebapi.com · OpenAPI v1 (JSON) · Redoc

Every call needs Authorization: Bearer $TOKEN — an OAuth 2.0 client-credentials token from https://auth.cplugin.net/connect/token (scope webapi). $TRADE_PLATFORM_ID is the id of a trade platform registered in Toolbox.

Operations

Configuration of the current manager account

GET /api/MT5/{tradePlatform}/ManagerCurrent

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
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/MT5/$TRADE_PLATFORM_ID/ManagerCurrent" \
  -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.

MT5ConManager

PropertyTypeDescription
login integer (int64), nullable Get and set the login of a manager
mailbox string, nullable Get and set the name of a manager's mailbox in the internal mail system.
server integer (int64), nullable Get and set the ID of the trade server, to which the manager belongs.
limitLogs EnManagerLimit Get and set the time period of system logs available to a manager.
limitReports EnManagerLimit Get and set the time period of reports available to a manager.
right EnManagerRights[] What is granted to manager. Features not enlisted here means that such features is not permitted.

EnManagerLimit

Values: All, Months1, Months3, Months6, Year1, Year2, Year3

EnManagerRights

Values: Admin, Manager, CfgServers, CfgAccess, CfgTime, CfgHolidays, CfgHstSync, CfgSymbols, CfgGroups, CfgManagers, CfgDataFeeds, CfgRequests, SrvJournals, SrvReports, Charts, Email, Accountant, AccRead, AccDetails, AccManager, AccOnline, TradesRead, TradesManager, Quotes, RiskManager, Reports, News, CfgGateways, CfgPlugins, TradesDealer, CfgReports, Export, SymbolDetails, TechSupport, TradesSupervisor, QuotesRaw, Market, GrpDetailsMargin, Notifications, AccDelete, TradesDelete, ConfirmActions, CfgEcn, GrpDetailsCommission, SubscriptionsView, SubscriptionsEdit, CfgFunds, CfgMails, CfgMessengers, CfgKyc, CfgAutomations, CfgAllocations, CfgVps, CfgPayments, AdminComputer, CfgWebServices, FintezaAccess, FintezaWebsites, FintezaCampaigns, FintezaReports, AccTechnical, AccTechnicalModify, ClientsAccess, ClientsCreate, ClientsEdit, ClientsDelete, DocumentsAccess, DocumentsCreate, DocumentsEdit, DocumentsDelete, DocumentsFilesAdd, DocumentsFilesDelete, CommentsAccess, CommentsCreate, CommentsDelete, ClientsKYC