JOC API

Version 2.3.0

Download RAML
JOC API
/agents/inventory/cluster/subagents/store
POST

Stores Subagents to a Cluster Agent


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
agentId required, string Agent ID
subagents required, array[object] Collection of Subagents
each Subagent has the following fields
subagentId required, string The subagentId is the name that is used in the Controller to identify a Subagent. This value is set once and cannot be overwritten
url required, string URL of the Subagent
title optional, string
isDirector optional, string Possible values are
  • NO_DIRECTOR
  • PRIMARY_DIRECTOR
  • SECONDARY_DIRECTOR
NO_DIRECTOR
ordering optional, integer
withGenerateSubagentCluster optional, boolean if true then a subagent cluster with only the subagent as member is created. The subagent cluster ID is equal the subagend ID. false
auditLog optional, object Object that contains comment, timeSpent and ticketLink. {
"comment":"Operational requirement!",
"timeSpent":2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.