Purpose

Gets multi-agent parameters

Request typeAsynchronous
Supported agent versionv2.мультиагент
PluggetSystemTypeAgentInternal

Request format


JSON

{
  "taskType": "ServiceGetMultiAgentInfo",
  "params": {}
}

Parameter

Type

Mandatory

Description

taskTypestringyesTask type. For this method, the value is ServiceGetMultiAgentInfo

Response format

Successful response


JSON

{
   "responseCommon":{
      "taskGuid":"guid",
      "taskType":"ServiceGetMultiAgentInfo",
      "agentGuid": "guid"
   },
   "taskResponse":{
      "objectList":[int],
      "supportedTaskTypes":["string enum"]
   },
   "error":{
      "wsError":{
         "code":"string",
         "desc":"string"
      }
   }
}

Parameter

Type

Description

-taskGuidguidUnique code for this task. Used when receiving a task via the queue
-taskTypestring enumTask type
-agentGuidguid stringMulti-agent identifier
-objectListarray of intList of objectIds that the multi-agent can work with
-supportedTaskTypesarray of string enumsList of Tasks supported by the multi-agent. Read more in the article White Server API v2
error
Error container, for more details see the article Error Description

Response with access error


JSON

{
  "responseCommon": {
    "taskGuid": "34398dc7-5488-49d1-a499-fef9e8826f40",
    "taskType": "ServiceGetMultiAgentInfo",
    "agentGuid": "guid"
  },
  "error": {
    "wsError": {
      "code": "AuthFailed"
    }
  }
}