Agent Web Services
Universal Controller supports the following RESTful-based web services for Agent operations, which are listed alphabetically on this page.
- Delete an Agent
- List Agents
- List Agents - Advanced
- Modify an Agent
- Read an Agent
- Resume an Agent
- Set an Agent Task Execution Limit
- Suspend an Agent
Formatting specifications for each web service, including details about property requirements, are provided.
Delete an Agent
Description | |
|---|---|
URI | http://host_name/uc/resources/agent |
HTTP Method | DELETE |
Description | Deletes an Agent. |
URI Parameters | See Delete an Agent: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Example Response |
|
Delete an Agent: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this Agent, created during installation. | Y |
| |
| Name used within the Controller to identify this agent. | Maximum 40 alphanumerics. | Y |
|
List Agents
Description | |
|---|---|
URI | http://host_name/uc/resources/agent/list |
HTTP Method | GET |
Description | Retrieves information on all agents. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
Example | |
Properties |
List Agents: XML and JSON Examples
The following XML and JSON examples are for the List Agents web service.
- JSON
- XML
JSON
[
{
"credentialsRequired": false,
"extAccept": true,
"extAcceptList": [
"*"
],
"extApiLevelMax": "1.4.0",
"extApiLevelMin": "1.0.0",
"extensions": [
{
"name": "qaextension",
"checksum": "7C3BBD763658E528A4049E85BEA206866A9C42530C56F9A852525CEC7944DB12"
}
],
"hostName": "SBUS30",
"ipAddress": "192.168.56.1",
"name": "SBUS30 - AGNT0003",
"outputProhibited": false,
"queueName": "AGNT0003",
"status": "Active",
"suspended": false,
"sysID": "8dc34ce553314894a5419d28a20b3579",
"transient": false,
"type": "Windows",
"version": "7.4.0.0"
}
]
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<agents>
<agent>
<credentialsRequired>false</credentialsRequired>
<extAccept>true</extAccept>
<extAcceptList>
<extension>*</extension>
</extAcceptList>
<extApiLevelMax>1.4.0</extApiLevelMax>
<extApiLevelMin>1.0.0</extApiLevelMin>
<extensions>
<extension checksum="7C3BBD763658E528A4049E85BEA206866A9C42530C56F9A852525CEC7944DB12">qaextension</extension>
</extensions>
<hostName>SBUS30</hostName>
<ipAddress>192.168.56.1</ipAddress>
<name>SBUS30 - AGNT0003</name>
<outputProhibited>false</outputProhibited>
<queueName>AGNT0003</queueName>
<status>Active</status>
<suspended>false</suspended>
<sysID>8dc34ce553314894a5419d28a20b3579</sysID>
<transient>false</transient>
<type>Windows</type>
<version>7.4.0.0</version>
</agent>
</agents>
List Agents: Properties
Property | UI Field Name | Description |
|---|---|---|
| Accept Extensions | Indication of whether or not the Agent will accept deployment of Universal Extensions. |
| Accept List | If
|
| API Level Minimum | Minimum extension API level supported. |
| API Level Maximum | Maximum extension API level supported. |
| Extensions | List of deployed Universal Extensions and their corresponding checksums. |
| Host Name | IP address or domain/name of the host machine where the Agent resides. |
| IP Address | TCP/IP address of the machine where the Agent is running. If the currently logged in user is a non-Administrator (ops_admin) user, and the Agent Address Information Restricted Universal Controller system property is set to true, ipAddress will be set to <ipAddress /> (XML) and "ipAddress": null (JSON). info This also applies to the ipAddress of z/OS secondary Agents. |
| Agent Name | Name used within the Controller to identify this Agent. |
| Retrieve Output Prohibited | Specification (true or false) for whether or not Retrieve Output requests are disallowed from being performed for this Agent. |
| Agent Id | Unique ID for this Agent. |
| Status | Status of the Agent. |
| Suspended | Indication (true or false) of whether or not the Agent currently is suspended. |
| n/a | System ID field in the database for this Agent record. |
| Transient | For Linux Unix Agents only; Specification (true or false) for whether or not the Agent is considered a Transient Agent. |
| Operating System | Operating system on which the Agent is running. |
| Version | Version number of the Agent program. |
List Agents - Advanced
Description | |
|---|---|
URI |
|
HTTP Method | GET |
Description | Retrieves Agent details using specific query parameters. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
URI Parameters | |
Example Response |
List Agents - Advanced: URI Parameters
Name | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| n/a | Type of Agent | Valid values (case insensitive):
| N |
| n/a | Name used within the Controller to identify this Agent. | Wildcards are supported. | N |
| n/a | Business Services that this Agent belongs to. | String value of comma-separated business services. | N |
List Agents - Advanced: XML and JSON Examples
The following XML and JSON examples are for the List Agents - Advanced web service.
- JSON
- XML
JSON
[
{
"type": "unixAgent",
"authVersion": "2",
"build": "86",
"buildDate": "20200908093406",
"cpu": "GenuineIntel Common KVM processor (1 CPU)",
"cpuLoad": 1,
"credentials": null,
"credentialsRequired": false,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"extAccept": false,
"extAcceptList": [],
"extApiLevelMax": null,
"extApiLevelMin": null,
"extensions": [],
"hbDate": null,
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "qa-lx4u18-x64.stone.branch",
"ipAddress": "127.0.1.1",
"jobs": 0,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Informational",
"name": "qa-lx4u18-x64.stone.branch - AGNT-QA-LX4U18-X64-1AU",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": null,
"opswiseGroups": [],
"os": "Linux",
"osRelease": "x86_64 4.15.0-23-generic (#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018)",
"outputProhibited": false,
"pid": null,
"queueName": "AGNT-QA-LX4U18-X64-1AU",
"startDate": null,
"status": "Offline",
"suspended": false,
"sysId": "064a4de67fb1457eba88c01a8d7e1a49",
"transient": false,
"version": "6.9.0.0"
}
{
"authVersion": "2",
"build": "84",
"buildDate": "20200108073718",
"cpu": "AMD64 (12 CPU(s))",
"cpuLoad": 7,
"credentials": null,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"extAccept": false,
"extAcceptList": [],
"extApiLevelMax": null,
"extApiLevelMin": null,
"extensions": [],
"hbDate": "2021-04-28 15:48:20 -0400",
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "SBUS30",
"ipAddress": "192.168.56.1",
"jobs": 3,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Informational",
"name": "SBUS30 - AGNT0005",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": "localhost",
"opswiseGroups": [
"A",
"B"
],
"os": "Microsoft Windows",
"osRelease": "Professional (Build 9200)",
"outputProhibited": false,
"pid": "8216",
"queueName": "AGNT0005",
"startDate": "2021-04-28 13:37:15 -0400",
"status": "Active",
"suspended": false,
"sysId": "1530cd78f6dd4c449820e84419bcfa46",
"transient": false,
"version": "6.8.0.0"
}
{
"type": "zosAgent",
"authVersion": "2",
"build": "41",
"buildDate": "20210318123354",
"cpu": "3907",
"cpuLoad": 0,
"credentials": null,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"extAccept": false,
"extAcceptList": [],
"extApiLevelMax": null,
"extApiLevelMin": null,
"extensions": [],
"hbDate": null,
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "DVZOS202",
"ipAddress": "192.168.30.84",
"jobs": 0,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Informational",
"name": "DVZOS202 - AGNT0014",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": "localhost:7878",
"opswiseGroups": [],
"os": "ZOS",
"osRelease": "020200",
"outputProhibited": false,
"pid": null,
"queueName": "AGNT0014",
"secondaryAgentCount": 0,
"secondaryAgents": [],
"startDate": null,
"status": "Offline",
"suspended": false,
"sysId": "11cc3d5269de40c3ae3b03d7b3c771e8",
"systemName": "DVZOS202",
"transient": false,
"version": "7.0.0.0"
}
]
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<agents>
<windowsAgent>
<authVersion>2</authVersion>
<build>84</build>
<buildDate>20200108073718</buildDate>
<cpu>AMD64 (12 CPU(s))</cpu>
<cpuLoad>7</cpuLoad>
<credentials />
<credentialsRequired>false</credentialsRequired>
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<extAccept>false</extAccept>
<extAcceptList/>
<extApiLevelMax />
<extApiLevelMin />
<extensions/>
<hbDate>2021-04-28 15:48:20 -0400</hbDate>
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>SBUS30</hostName>
<ipAddress>192.168.56.1</ipAddress>
<jobs>3</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Informational</logLevel>
<name>SBUS30 - AGNT0005</name>
<notifications/>
<omsServer>localhost</omsServer>
<opswiseGroups>
<opswiseGroup>A</opswiseGroup>
<opswiseGroup>B</opswiseGroup>
</opswiseGroups>
<os>Microsoft Windows</os>
<osRelease>Professional (Build 9200)</osRelease>
<outputProhibited>false</outputProhibited>
<pid>8216</pid>
<queueName>AGNT0005</queueName>
<startDate>2021-04-28 13:37:15 -0400</startDate>
<status>Active</status>
<suspended>false</suspended>
<sysId>1530cd78f6dd4c449820e84419bcfa46</sysId>
<transient>false</transient>
<version>6.8.0.0</version>
</windowsAgent>
<unixAgent>
<authVersion>2</authVersion>
<build>86</build>
<buildDate>20200908093406</buildDate>
<cpu>GenuineIntel Common KVM processor (1 CPU)</cpu>
<cpuLoad>1</cpuLoad>
<credentials />
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<extAccept>false</extAccept>
<extAcceptList/>
<extApiLevelMax />
<extApiLevelMin />
<extensions/>
<hbDate />
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>qa-lx4u18-x64.stone.branch</hostName>
<ipAddress>127.0.1.1</ipAddress>
<jobs>0</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Informational</logLevel>
<name>qa-lx4u18-x64.stone.branch - AGNT-QA-LX4U18-X64-1AU</name>
<notifications/>
<omsServer />
<opswiseGroups/>
<os>Linux</os>
<osRelease>x86_64 4.15.0-23-generic (#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018)</osRelease>
<outputProhibited>false</outputProhibited>
<pid />
<queueName>AGNT-QA-LX4U18-X64-1AU</queueName>
<startDate />
<status>Offline</status>
<suspended>false</suspended>
<sysId>064a4de67fb1457eba88c01a8d7e1a49</sysId>
<transient>false</transient>
<version>6.9.0.0</version>
</unixAgent>
<zosAgent>
<authVersion>2</authVersion>
<build>41</build>
<buildDate>20210318123354</buildDate>
<cpu>3907</cpu>
<cpuLoad>0</cpuLoad>
<credentials />
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<extAccept>false</extAccept>
<extAcceptList/>
<extApiLevelMax />
<extApiLevelMin />
<extensions/>
<hbDate />
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>DVZOS202</hostName>
<ipAddress>192.168.30.84</ipAddress>
<jobs>0</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Informational</logLevel>
<name>DVZOS202 - AGNT0014</name>
<notifications/>
<omsServer>localhost:7878</omsServer>
<opswiseGroups/>
<os>ZOS</os>
<osRelease>020200</osRelease>
<outputProhibited>false</outputProhibited>
<pid />
<queueName>AGNT0014</queueName>
<secondaryAgentCount>0</secondaryAgentCount>
<secondaryAgents/>
<startDate />
<status>Offline</status>
<suspended>false</suspended>
<sysId>11cc3d5269de40c3ae3b03d7b3c771e8</sysId>
<systemName>DVZOS202</systemName>
<transient>false</transient>
<version>7.0.0.0</version>
</zosAgent>
</agents>
Modify an Agent
Description | |
|---|---|
URI | http://host_name/uc/resources/agent |
HTTP Method | PUT |
Description | Modifies the Agent specified by the To modify Agent properties without modifying related records, see the excludeRelated property. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | |
Agent Properties | See Agent: Properties. |
Email Notification Properties | |
SNMP Notification Properties | |
Example Response |
|
Read an Agent
Description | |
|---|---|
URI | http://host_name/uc/resources/agent |
HTTP Method | GET |
Description | Retrieves information on a specific Agent. |
URI Parameters | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example URI | |
Example Response | |
Agent Properties | See Agent: Properties. |
Email Notification Properties | |
SNMP Notification Properties |
Read an Agent: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Agent. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this Agent. | String; URI parameter. | Y (unless |
|
Agent: XML and JSON Examples
- JSON
- XML
JSON
{
"type": "windowsAgent",
"authVersion": "3",
"build": "2929",
"buildDate": "20250827105126",
"cpu": "AMD64 (14 CPU(s))",
"cpuLoad": 10,
"credentials": null,
"credentialsRequired": false,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"description": null,
"extAccept": true,
"extAcceptList": [
"*"
],
"extApiLevelMax": "1.7.0",
"extApiLevelMin": "1.0.0",
"extensions": [
{
"name": "ue-jobs-as-code",
"checksum": "43A3C25260A8417A532003FD1576E96B8F8372BF799E45A9285BBCBFEDE2560C"
}
],
"hbDate": "2025-09-09 11:23:38 -0400",
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "STBUS220",
"ipAddress": "192.168.56.1",
"jobs": 0,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Trace",
"name": "STBUS220 - AGNT0001",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": "localhost",
"opswiseGroups": [],
"os": "Windows",
"osRelease": "Professional (Build 26100)",
"outputProhibited": false,
"pid": "29792",
"queueName": "AGNT0001",
"startDate": "2025-09-09 11:06:49 -0400",
"status": "Active",
"suspended": false,
"sysId": "2cd054e2c09a4586b232ab0910ffacd8",
"tlsSniHostName": "7979@STBUS221:mysni",
"transient": false,
"version": "8.0.0.0"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<windowsAgent>
<authVersion>3</authVersion>
<build>2929</build>
<buildDate>20250827105126</buildDate>
<cpu>AMD64 (14 CPU(s))</cpu>
<cpuLoad>12</cpuLoad>
<credentials />
<credentialsRequired>false</credentialsRequired>
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<description />
<extAccept>true</extAccept>
<extAcceptList>
<extension>*</extension>
</extAcceptList>
<extApiLevelMax>1.7.0</extApiLevelMax>
<extApiLevelMin>1.0.0</extApiLevelMin>
<extensions>
<extension checksum="43A3C25260A8417A532003FD1576E96B8F8372BF799E45A9285BBCBFEDE2560C">ue-jobs-as-code</extension>
</extensions>
<hbDate>2025-09-09 11:25:38 -0400</hbDate>
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>STBUS220</hostName>
<ipAddress>192.168.56.1</ipAddress>
<jobs>0</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Trace</logLevel>
<name>STBUS220 - AGNT0001</name>
<notifications/>
<omsServer>localhost</omsServer>
<opswiseGroups/>
<os>Windows</os>
<osRelease>Professional (Build 26100)</osRelease>
<outputProhibited>false</outputProhibited>
<pid>29792</pid>
<queueName>AGNT0001</queueName>
<startDate>2025-09-09 11:06:49 -0400</startDate>
<status>Active</status>
<suspended>false</suspended>
<sysId>2cd054e2c09a4586b232ab0910ffacd8</sysId>
<tlsSniHostName>7979@STBUS221:mysni</tlsSniHostName>
<transient>false</transient>
<version>8.0.0.0</version>
</windowsAgent>
Agent: Properties
Property | UI Field Name | Description | Specifications |
|---|---|---|---|
| Authentication Version | Type of encryption in use for this Agent. | Read only. |
| Build Id | Build ID of the Agent. | Read only. |
| Build Date | Date that the Agent program was last built. | Read only. |
| CPU | Information about the CPU on the Agent machine. | Read only. |
| CPU Load | Current CPU load on the Agent machine. | Read only; Integer. Expressed as a percentage. For example, 1 means 1% currently utilized. |
| Credentials | Credentials under which this Agent runs tasks. These credentials are overridden by any credentials provided in the task definition for any tasks being run by this Agent. | |
| Credentials Required | Specifies if credentials are required to execute any task on the agent. | Valid Values: true/false (default is false). |
| Current Task Count | If | Read only. |
| Decommissioned | For Linux Unix Agents only; Specification (true or false) for whether or not the Agent is decommissioned. | Valid values: true/false (default is false). |
| Decommissioned Date | For Linux Unix Agents only; If | Read only. |
| Description | User-defined; description of this record. | |
| n/a | For the Modify Agent web service; specification for whether or not to exclude related records from the update, even if they are provided in the request. info In XML, | Valid values: true/false (default is false). |
| Accept Extensions | Indication of whether or not the Agent will accept deployment of Universal Extensions. | Read only. |
| Accept List | If
| Read only. |
| API Level Minimum | Minimum extension API level supported. | Read only. |
| API Level Maximum | Maximum extension API level supported. | Read only. |
| Extensions | List of deployed Universal Extensions and their corresponding checksums. | Read only. |
| Last Heartbeat | Date and time that the most recent heartbeat was received from the Agent. | Read only. |
| Heartbeat Grace Period | Grace period, in seconds, that the Controller will allow for a delayed heartbeat message | Integer. |
| Heartbeat Interval | Heartbeat interval (in seconds). The heartbeat is a status message sent from the Agent to the Controller. | Integer. |
| Host Name | Read only; IP address or domain/name of the host machine where the resource resides. | Read only. |
| IP Address | Read only; TCP/IP address of the machine where the Agent is running. If the currently logged in user is a non-Administrator (ops_admin) user, and the Agent Address Information Restricted Universal Controller system property is set to true, ipAddress will be set to <ipAddress /> (XML) and "ipAddress": null (JSON). info This also applies to the ipAddress of z/OS secondary Agents. | Read only. |
| Jobs Run | Read only; Total number of jobs that have been run through the Controller to this Agent. | Read only; Integer. |
| Limit Amount | If | Integer. |
| Task Execution Limit | Specification for whether a Limited or Unlimited number of task instances can be run concurrently on the Agent. | Valid values:
Default is Unlimited (1). |
| Retrieve Output Prohibited | Specification for whether or not Retrieve Output requests are disallowed from being performed for this Agent. | Read only; Boolean. Valid values: true/false. |
| Log Level | Level of logging that the Agent can perform | Valid values:
Default is Informational. |
| Name | Name used within the Controller to identify this Agent. | |
| OMS Server | Host name of the OMS Server. | Read only. |
| Member of Business Services | One or more Business Services that this Agent belongs to. | Read only. |
| Operating System | Operating system on which the Agent is running. | Read only. |
| Operating System Release | Release information for the operating system on which the Agent is running. | Read only. |
| PID | Process ID of the Agent. | Read only. |
| Agent ID | Unique ID for this Agent, created during installation. | Read only. |
| Secondary Agent Licenses | For z/OS Agents only; Number of secondary agent licenses. | Read only; Integer |
| Secondary Agent(s) | For z/OS Agents only; List of secondary agent information. | Read only. Format: |
| Started Date | Date/timestamp when the Agent was last started. | Read only. |
| Status | Status of the Agent. | Read only. Valid values:
|
| Suspended | Indication that the Agent's ability to run tasks has been suspended. | Read only; Boolean. Valid values: true/false. |
| n/a | System ID field in the database for this Agent. | Read only. |
| System Name | For z/OS Agents only; System name. | Read only. |
| Transient | For Linux Unix Agents only; Specification (true or false) for whether or not the Agent is considered a Transient Agent. | Valid values: true/false (default is false). |
| TLS SNI Host Name | Publicly accessible IP address or domain/name of the host machine where the resource resides. | Read only. |
| Version | Version number of the Agent program. | Read only. |
Agent: Email Notification Properties
Property | UI Field Name | Description | Specifications |
|---|---|---|---|
| Bcc | Email address of the party being sent a blind (hidden) copy of the email, if any. | Use commas to separate multiple recipients. Variables and Functions are supported. |
| Body | Text of the email message. | Variables and Functions are supported. If the |
| Cc | Email address of the party being sent a copy of the email, if any. | Use commas to separate multiple recipients. Variables and Functions are supported. |
| Email Connection | Name of an Email Connection. | If you specify both an |
| Email Template | Name of an Email Template. | If you specify both an |
| Reply-To | Email address of the sender of the email. | Use commas to separate multiple recipients. Variables and Functions are supported. |
| Status Options | Comma-separated list of statuses | Valid values:
|
| Subject | Subject line of the email. | Variables and Functions are supported. |
| n/a | sys_id used within the Controller to identify this Email Notification. | |
| To | Email address of the recipient. | Use commas to separate multiple recipients Variables and Functions are supported. |
Agent: SNMP Notification Properties
Property | UI Field Name | Description | Specifications |
|---|---|---|---|
| Notification Severity | Severity level of this notification. | Valid values:
Default is Normal (1). |
| SNMP Manager | SNMP Manager that will receive this notification. | |
| Status Options | Comma-separated list of statuses | Valid values:
|
| n/a | sys_id used within the Controller to identify this SNMP Notification. |
Resume an Agent
Description | |
|---|---|
URI | http://host_name/uc/resources/agent/ops-resume-agent |
HTTP Method | POST |
Description | Resumes the specified agent. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response |
Resume an Agent: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"agentName": "Mark-4 - AGNT001"
}
or
{
"agentID": "AGNT001"
}
Example Response
JSON
{
"type": "resume_agent",
"success": true,
"info": "Successfully resumed agent "Mark-4 - AGNT001".",
"errors": ""
}
Example Request
Details
XML
By Agent Name<resume-agent>
<agentName>XPS-8300 - AGNT0001</agentName>
</resume-agent>
By Agent ID
<resume-agent>
<agentID>AGNT0001</agentID>
</resume-agent>
Example Response
XML
<command-response>
<type>resume_agent</type>
<success>true</success>
<info>Successfully resumed agent "XPS-8300 - AGNT0001".</info>
<errors />
</command-response>
Resume an Agent: Request Properties
Properties | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Agent ID | Unique ID for this Agent, created during installation. | Y |
| |
| Agent Name | Name used within the Controller to identify this resource. | Maximum 40 alphanumerics. | Y |
|
Set an Agent Task Execution Limit
Description | |
|---|---|
URI | http://host_name/uc/resources/agent/ops-set-agent-task-execution-limit |
HTTP Method | POST |
Description | Sets the task execution limit for the specified agent. |
Example URI | http://localhost:8080/uc/resources/agent/ops-set-agent-task-execution-limit |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Set an Agent Task Execution Limit: XML and JSON Examples. |
Request Properties | |
Example Response | See Set an Agent Task Execution Limit: XML and JSON Examples. |
Set an Agent Task Execution Limit: XML and JSON Examples
- JSON
- XML
Example Request
Details
JSON
By Agent NameLimit Type: Limited
{
"agentName": "Mark-4 - AGNT001",
"limitAmount": 10,
"limitType": "Limited"
}
By Agent ID
Limit Type: Limited
{
"agentID": "AGNT001",
"limitAmount": 10,
"limitType": "Limited"
}
By Agent ID
Limit Type: Unlimited
{
"agentID": "AGNT001",
"limitType": "Unlimited"
}
Example Response
JSON
{
"type": "set_agent_task_execution_limit",
"success": true,
"info": "Successfully updated agent "Mark-4 - AGNT001" with task limit type: "Unlimited".",
"errors": ""
}
Example Request
Details
XML
By Agent NameLimit Type: Limited
<set-agent-task-execution-limit>
<agentName>XPS-8300 - AGNT0001</agentName>
<limitAmount>10</limitAmount>
<limitType>Limited</limitType>
</set-agent-task-execution-limit>
By Agent ID
Limit Type: Limited
<set-agent-task-execution-limit>
<agentID>AGNT0001</agentID>
<limitAmount>10</limitAmount>
<limitType>Limited</limitType>
</set-agent-task-execution-limit>
By Agent ID
Limit Type: Unlimited
<set-agent-task-execution-limit>
<agentID>AGNT0001</agentID>
<limitType>Unlimited</limitType>
</set-agent-task-execution-limit>
Example Response
XML
<command-response>
<type>set_agent_task_execution_limit</type>
<success>true</success>
<info>Successfully updated agent "XPS-8300 - AGNT0001" with task limit type: "Limited", amount: "10".</info>
<errors />
</command-response>
Set an Agent Task Execution Limit: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Agent ID | Unique ID for this Agent, created during installation. | Y |
| |
| Agent Name | Name used within the Controller to identify this resource. | Maximum 40 alphanumerics. | Y |
|
| Limit Amount | Number of tasks that can be running at the same time by the Agent. | Y | ||
| Task Execution Limit | Specification for whether a Limited or Unlimited number of task instances can be run concurrently on the Agent. For purposes of imposing this task execution limit, running task instances are those in any of these statuses: Cancel Pending, Queued, Received, Running, Submitted, and Started. | Valid values:
| Y |
Suspend an Agent
Description | |
|---|---|
URI | http://host_name/uc/resources/agent/ops-suspend-agent |
HTTP Method | POST |
Description | Suspends the specified agent. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | See Suspend an Agent: Request Properties, below. |
Example Response |
Suspend an Agent: XML and JSON Examples
- JSON
- XML
Example Request
Details
JSON
By Agent Name{
"agentName": "Mark-4 - AGNT001"
}
By Agent ID
{
"agentID": "AGNT001"
}
Example Response
JSON
{
"type": "suspend_agent",
"success": true,
"info": "Successfully suspended agent "Mark-4 - AGNT001".",
"errors": ""
}
Example Request
Details
XML
By Agent Name<suspend-agent>
<agentName>XPS-8300 - AGNT0001</agentName>
</suspend-agent>
By Agent ID
<suspend-agent>
<agentID>AGNT0001</agentID>
</suspend-agent>
Example Response
XML
<command-response>
<type>suspend_agent</type>
<success>true</success>
<info>Successfully suspended agent "XPS-8300 - AGNT0001".</info>
<errors />
</command-response>
Suspend an Agent: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Agent ID | Unique ID for this Agent, created during installation. | Y |
| |
| Agent Name | Name used within the Controller to identify this resource. | Maximum 40 alphanumerics. | Y |
|