Skip to main content

RequestAccountsAgents

Request list of available agents

Request format

{
"Nodes": [
"Node1"
],
"RequestId": "e10fbea8-7a2a-41c4-b2ec-90b6bdcfeb2b",
"RequestName": "RequestAccountsAgents"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
NodesList of nodes that participate in the request. If the list is empty, then all available nodes are called.

Response ResponseAccountsAgents

{
"Result": [{
"ResponseNode": "ResponseNodeAccountsAgents",
"Node": "Node1",
"Platform": "Mt4",
"Result": [{
"Agent": 1550233135,
"Node": "Node1",
"Platform": "Mt4"
}, {
"Agent": 1550233136,
"Node": "Node1",
"Platform": "Mt4"
}, {
"Agent": 1550233137,
"Node": "Node1",
"Platform": "Mt4"
}]
}],
"RequestId": "e10fbea8-7a2a-41c4-b2ec-90b6bdcfeb2b",
"Errors": [],
"ResponseMaster": "ResponseAccountsAgents"
}