JOC API

Version 2.6.5

Download RAML
JOC API
/agents/inventory/store
POST

Stores standalone Agents


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
agents required, array[object] Collection of Agents
each Standalone Agent has the following fields
agentId required, integer The agentId is the (technical) name that is used in the Controller to identify an Agent. This value is set once and cannot be overwritten
agentName required, string The agentName is the (logical) name that is used for the configuration of a Job to identify an Agent
agentNameAliases optional, array[string] Aliases of the agentName
url required, string URL of the Agent
processLimit optional, integer Limits the number max. processes that are started by the Agent
hidden optional, boolean A hidden Agent will not be offered in JOC Cockpit during the Job configuration 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.
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.