Bundles and Promotion Web Services
Universal Controller supports the following RESTful-based web services for Bundles and Promotion operations, which are listed alphabetically on this page under two categories:
Bundles
Promotion
- Bundleless Promotion
- Cancel a Scheduled Bundle Promotion
- Delete a Scheduled Bundle Promotion
- List Scheduled Bundle Promotions
- Promote a Bundle or Schedule a Bundle Promotion
- Reschedule a Bundle Promotion
- Create a Promotion Target
- Modify a Promotion Target
- List Promotion Targets
- Delete a Promotion Target
- Read a Promotion Target
- Refresh Target Agents
Formatting specifications for each web service, including details about parameter requirements, are provided.
Bundles
Bundle Report
Description | |
|---|---|
URI | http://host_name/uc/resources/bundle/report |
HTTP Method | GET |
Description | Retrieve Bundle Report details using specific query parameters. |
Example URI | |
URI Parameters | See Bundle Report: URI Parameters, below. |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See Bundle Report: Example Response, below. |
Properties | See Bundle Properties. |
Bundle Report: URI Parameters
Parameter | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| UUID | ID used within the Controller to identify this Bundle. | String value of the bundle sysId. | Y |
|
| Bundle Name | Name used within the Controller to identify this Bundle. | String value of the bundle name. | Y |
|
Bundle Report: Example Response
- JSON
- XML
JSON
{
"retainSysIds": true,
"name": "bundle-1",
"sysId": "b52335345df646e5b597dc26df599344",
"description": "bundle test 1",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"defaultPromotionTarget": "local",
"excludeOnExistence": "Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email Templates, Email Connections, Database Connections, SAP Connections, PeopleSoft Connections, SNMP Managers, Applications",
"followReferences": true,
"promoteBundleDefinition": true,
"promoteByBusinessServices": [
"bus-1",
"bus-2"
],
"visibleTo": "ops.admin",
"bundleAgentClusters": [
{
"name": "Opswise - Default Linux/Unix Cluster",
"sysId": "0d7f03026a96451fbc3d7a8eecd641d5"
},
{
"name": "Opswise - Default Windows Cluster",
"sysId": "d3f8282f702544d69500928afbcc00f0"
}
],
"bundleApplications": [
{
"name": "app-1",
"sysId": "e12830a711c849388819230203e601d3"
}
],
"bundleBusinessServices": [
{
"name": "bus-1",
"sysId": "b939eedb63544517accd905cfdd13b22"
}
],
"bundleCalendars": [
{
"name": "cal-1",
"sysId": "655b9c498e574ace886b114f79d5933a"
}
],
"bundleCredentials": [
{
"name": "cred-1",
"sysId": "d04886ac74be43a0aa3faa8042f82cca"
}
],
"bundleCustomDays": [
{
"name": "cust-1",
"sysId": "1b0e9acedb98439a8319ac3cd51c21ba"
}
],
"bundleDatabaseConnections": [
{
"name": "db-con-1",
"sysId": "fc8223ece09f407bb9b5bb865574cb49"
}
],
"bundleEmailConnections": [
{
"name": "email-conn",
"sysId": "bd54eae4221a4f909454f7fa04c75efb"
}
],
"bundleEmailTemplates": [
{
"name": "email-temp-1",
"sysId": "5dce586a419448ee83fa121589d60a75"
}
],
"bundlePeoplesoftConnections": [
{
"name": "ps-con-1",
"sysId": "aac40dfd5c3242ae9bcaaf169a5468b9"
}
],
"bundleSapConnections": [
{
"name": "sap-1",
"sysId": "a4b0544fb668404ba10b2826b2e6db81"
}
],
"bundleScripts": [
{
"name": "script-1",
"sysId": "01e90371bed4473d87dad00148512f35"
}
],
"bundleSnmpManagers": [
{
"name": "snmp-1",
"sysId": "4bfa01f747ca4ad5b4ee9e073d643604"
}
],
"bundleTasks": [
{
"name": "win-1",
"sysId": "3b50f8c015d6494288328cfdb35d9ea7"
}
],
"bundleTriggers": [
{
"name": "cron-trig-1",
"sysId": "d2869f93a68547beb8e5b156d4fac99e"
}
],
"bundleUniversalTemplates": [
{
"name": "uni-1",
"sysId": "0ff4abb1d80c4f95b517dc073c9abd0c"
}
],
"bundleVariables": [
{
"name": "var1",
"sysId": "9988d78bf82e44dbae66cf0e8ec4b820"
}
],
"bundleVirtualResources": [
{
"name": "VR-1",
"sysId": "deeaf3e516ce485fac5fc2283022d904"
}
],
"updated": "2021-07-13 17:05:00 -0400",
"updatedBy": "Administrator",
"created": "2021-07-13 15:42:34 -0400",
"createdBy": "Administrator"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundle retainSysIds="true">
<name>bundle-test</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
<description>bundle test</description>
<defaultPromotionTarget>local</defaultPromotionTarget>
<followReferences>true</followReferences>
<excludeOnExistence> Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email Templates, Email Connections, Database Connections, SAP Connections, PeopleSoft Connections, SNMP Managers</excludeOnExistence>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<promoteBundleDefinition> true</promoteBundleDefinition>
<promoteByBusinessServices>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</promoteByBusinessServices>
<visibleTo> ops.admin</visibleTo>
<bundleTasks>
<bundleTask>
<name>win-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
<bundleTask>
<name>abc</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
</bundleTasks>
<bundleApplications>
<bundleApplication>
<name>App-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleApplication>
</bundleApplications>
<bundleTriggers>
<bundleTrigger>
<name>manual-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
<bundleTrigger>
<name>time-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
</bundleTriggers>
<bundleCalendars>
<bundleCalendar>
<name>cal-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCalendar>
</bundleCalendars>
<bundleCustomDays>
<bundleCustomDay>
<name>custome-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCustomDay>
</bundleCustomDays>
<bundleVariables>
<bundleVariable>
<name>var1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVariable>
</bundleVariables>
<bundleBusinessServices>
<bundleBusinessService>
<name>bus-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleBusinessService>
</bundleBusinessServices>
<bundleCredentials>
<bundleCredential>
<name>sap-cred</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCredential>
</bundleCredentials>
<bundleAgentClusters>
<bundleAgentCluster>
<name>Opswise - Default Windows Cluster</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleAgentCluster>
</bundleAgentClusters>
<bundleVirtualResources>
<bundleVirtualResource>
<name>VR-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVirtualResource>
</bundleVirtualResources>
<bundleScripts>
<bundleScript>
<name>script-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleScript>
</bundleScripts>
<bundleEmailTemplates>
<bundleEmailTemplate>
<name>email-temp-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailTemplate>
</bundleEmailTemplates>
<bundleEmailConnections>
<bundleEmailConnection>
<name>Email-con-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailConnection>
</bundleEmailConnections>
<bundleDatabaseConnections>
<bundleDatabaseConnection>
<name>DB-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleDatabaseConnection>
</bundleDatabaseConnections>
<bundleSapConnections>
<bundleSapConnection>
<name>SAP-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSapConnection>
</bundleSapConnections>
<bundlePeoplesoftConnections>
<bundlePeoplesoftConnection>
<name>People-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundlePeoplesoftConnection>
</bundlePeoplesoftConnections>
<bundleSnmpManagers>
<bundleSnmpManager>
<name>snmp-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSnmpManager>
</bundleSnmpManagers>
<bundleUniversalTemplates>
<bundleUniversalTemplate>
<name>univ-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleUniversalTemplate>
</bundleUniversalTemplates>
<bundleVariables/>
<bundleVirtualResources/>
<updated>2021-07-13 17:05:00 -0400</updated>
<updatedBy>Administrator</updatedBy>
<created>2021-07-13 15:42:34 -0400</created>
<createdBy>Administrator</createdBy>
</bundle>
Create a Bundle
Description | |
|---|---|
URI | http://host_name/uc/resources/bundle |
HTTP Method | POST |
Description | Creates a Bundle. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Bundle: Example Request, below. |
Properties | See Bundle Properties. |
Example Response |
|
Create a Bundle: Example Request
- JSON
- XML
JSON
{
"retainSysIds": true,
"name": "bundle-1",
"sysId": "b52335345df646e5b597dc26df599344",
"description": "bundle test 1",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"defaultPromotionTarget": "local",
"excludeOnExistence": "Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email Templates, Email Connections, Database Connections, SAP Connections, PeopleSoft Connections, SNMP Managers, Applications",
"followReferences": true,
"promoteBundleDefinition": true,
"promoteByBusinessServices": [
"bus-1",
"bus-2"
],
"visibleTo": "ops.admin",
"bundleAgentClusters": [
{
"name": "Opswise - Default Linux/Unix Cluster",
"sysId": "0d7f03026a96451fbc3d7a8eecd641d5"
},
{
"name": "Opswise - Default Windows Cluster",
"sysId": "d3f8282f702544d69500928afbcc00f0"
}
],
"bundleApplications": [
{
"name": "app-1",
"sysId": "e12830a711c849388819230203e601d3"
}
],
"bundleBusinessServices": [
{
"name": "bus-1",
"sysId": "b939eedb63544517accd905cfdd13b22"
}
],
"bundleCalendars": [
{
"name": "cal-1",
"sysId": "655b9c498e574ace886b114f79d5933a"
}
],
"bundleCredentials": [
{
"name": "cred-1",
"sysId": "d04886ac74be43a0aa3faa8042f82cca"
}
],
"bundleCustomDays": [
{
"name": "cust-1",
"sysId": "1b0e9acedb98439a8319ac3cd51c21ba"
}
],
"bundleDatabaseConnections": [
{
"name": "db-con-1",
"sysId": "fc8223ece09f407bb9b5bb865574cb49"
}
],
"bundleEmailConnections": [
{
"name": "email-conn",
"sysId": "bd54eae4221a4f909454f7fa04c75efb"
}
],
"bundleEmailTemplates": [
{
"name": "email-temp-1",
"sysId": "5dce586a419448ee83fa121589d60a75"
}
],
"bundlePeoplesoftConnections": [
{
"name": "ps-con-1",
"sysId": "aac40dfd5c3242ae9bcaaf169a5468b9"
}
],
"bundleSapConnections": [
{
"name": "sap-1",
"sysId": "a4b0544fb668404ba10b2826b2e6db81"
}
],
"bundleScripts": [
{
"name": "script-1",
"sysId": "01e90371bed4473d87dad00148512f35"
}
],
"bundleSnmpManagers": [
{
"name": "snmp-1",
"sysId": "4bfa01f747ca4ad5b4ee9e073d643604"
}
],
"bundleTasks": [
{
"name": "win-1",
"sysId": "3b50f8c015d6494288328cfdb35d9ea7"
}
],
"bundleTriggers": [
{
"name": "cron-trig-1",
"sysId": "d2869f93a68547beb8e5b156d4fac99e"
}
],
"bundleUniversalTemplates": [
{
"name": "uni-1",
"sysId": "0ff4abb1d80c4f95b517dc073c9abd0c"
}
],
"bundleVariables": [
{
"name": "var1",
"sysId": "9988d78bf82e44dbae66cf0e8ec4b820"
}
],
"bundleVirtualResources": [
{
"name": "VR-1",
"sysId": "deeaf3e516ce485fac5fc2283022d904"
}
]
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundle retainSysIds="true">
<name> bundle-test</name>
<sysId >0d7f03026a96451fbc3d7a8eecd641d5</ sysId >
<description> bundle test</description>
<defaultPromotionTarget> local</defaultPromotionTarget>
<followReferences> true</followReferences>
<excludeOnExistence> Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email Templates, Email Connections, Database Connections, SAP Connections, PeopleSoft Connections, SNMP Managers</excludeOnExistence>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<promoteBundleDefinition> true</promoteBundleDefinition>
<promoteByBusinessServices>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</promoteByBusinessServices>
<visibleTo> ops.admin</visibleTo>
<bundleTasks>
<bundleTask>
<name>win-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
<bundleTask>
<name>abc</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
</bundleTasks>
<bundleApplications>
<bundleApplication>
<name>App-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleApplication>
</bundleApplications>
<bundleTriggers>
<bundleTrigger>
<name>manual-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
<bundleTrigger>
<name>time-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
</bundleTriggers>
<bundleCalendars>
<bundleCalendar>
<name>cal-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCalendar>
</bundleCalendars>
<bundleCustomDays>
<bundleCustomDay>
<name>custome-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCustomDay>
</bundleCustomDays>
<bundleVariables>
<bundleVariable>
<name>var1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVariable>
</bundleVariables>
<bundleBusinessServices>
<bundleBusinessService>
<name>bus-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleBusinessService>
</bundleBusinessServices>
<bundleCredentials>
<bundleCredential>
<name>sap-cred</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCredential>
</bundleCredentials>
<bundleAgentClusters>
<bundleAgentCluster>
<name>Opswise - Default Windows Cluster</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleAgentCluster>
</bundleAgentClusters>
<bundleVirtualResources>
<bundleVirtualResource>
<name>VR-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVirtualResource>
</bundleVirtualResources>
<bundleScripts>
<bundleScript>
<name>script-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleScript>
</bundleScripts>
<bundleEmailTemplates>
<bundleEmailTemplate>
<name>email-temp-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailTemplate>
</bundleEmailTemplates>
<bundleEmailConnections>
<bundleEmailConnection>
<name>Email-con-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailConnection>
</bundleEmailConnections>
<bundleDatabaseConnections>
<bundleDatabaseConnection>
<name>DB-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleDatabaseConnection>
</bundleDatabaseConnections>
<bundleSapConnections>
<bundleSapConnection>
<name>SAP-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSapConnection>
</bundleSapConnections>
<bundlePeoplesoftConnections>
<bundlePeoplesoftConnection>
<name>People-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundlePeoplesoftConnection>
</bundlePeoplesoftConnections>
<bundleSnmpManagers>
<bundleSnmpManager>
<name>snmp-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSnmpManager>
</bundleSnmpManagers>
<bundleUniversalTemplates>
<bundleUniversalTemplate>
<name>univ-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleUniversalTemplate>
</bundleUniversalTemplates>
</bundle>
Bundle Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Agent Clusters | Task Items to include | String value of task | N |
| Applications | Applications to include | String value of Applications | N |
| Business Services | Business Services Items to include | String value of Business Services | N |
| Calendars | Calendars Items to include | String value of Calendars | N |
| Credentials | Agent Clusters Items to include | String value of Agent Clusters | N |
| Custom Days | Custom Days Items to include | String value of Custom Days | N |
| Database Connections | Database Connections Items to include | String value of Database Connections | N |
| Email Connections | Email Connections Items to include | String value of Email Connections | N |
| Email Templates | Email Templates Items to include | String value of Email Templates | N |
| OAuth Clients | OAuth Client Items to include | String value of OAuth Clients | N |
| PeopleSoft Connections | PeopleSoft Connections Items to include | String value of PeopleSoft Connections | N |
| Sap Connections | Sap Connections Items to include | String value of Sap Connections | N |
| Scripts | Scripts Items to include | String value of Scripts | N |
| SNMP Managers | SNMP Managers Items to include | String value of SNMP Managers | N |
| Tasks | Task Items to include | String value of task | N |
| Triggers | Triggers Items to include | String value of Triggers | N |
| Universal Event Templates | Universal Event Templates Items to include | String value of Universal Event Templates | N |
| Universal Templates | Universal Templates Items to include | String value of Universal Templates | N |
| Variables | Variables Items to include | String value of Variables | N |
| Virtual Resources | Virtual Resources Items to include | String value of Virtual Resources | N |
| Created | Time when this bundle was created. | Read only | N |
| Created By | User who created this bundle. | Read only | N |
| Default Promotion Target | Promotion Target server name | String value of target | N |
| Description | Bundle description | String value of description | N |
| Exclude On Existence | Exclude Items on existence | String value | N |
| n/a | For the Modify a Bundle 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). | N |
| n/a | Universal Controller release that the record was exported from. | read only | N |
| n/a | Record table information. | read only | N |
| Follow References | Follow references items | Boolean value | N |
| Bundle Name | Bundle name | String value of the bundle name | Y |
| Member Of Business Services | List of Business Services that this record belongs to | String value | N |
| Promote Bundle Definition | Promote Bundle Definition | Boolean value | N |
| Promote Member of Business Service | Promote List of Business Services that this task belongs to | String value | N |
| n/a | System ID field in the database for this Bundles record. | Persisted only if retainSysIds is set to true. | N |
| Updated | Time when this bundle was last updated. | Read only | N |
| Updated By | User who last updated this bundle. | Read only | N |
| Visible To | Visible to user | String value of user name | N |
Create a Bundle By Business Services
Description | |
|---|---|
URI |
|
HTTP Method | POST |
Description | Creates a Bundle. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Bundle By Business Services: Example Request, below. |
Properties | |
Example Response |
|
Create a Bundle By Business Services: Example Request
- JSON
- XML
JSON
{
"name": "bundle-service4",
"typesToInclude": "Triggers, Tasks, Calendars, Variables, Credentials",
"businessServices": [
"bus-1",
"bus-2"
],
"businessServicesToInclude": [
"bus-1",
"bus-2"
]
}
XML
<bundle>
<name>bundle-by-service2</name>
<businessServices>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</businessServices>
<typesToInclude> Triggers, Tasks, Calendars, Variables, Credentials</typesToInclude>
<businessServicesToInclude>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</businessServicesToInclude>
</bundle>
Create a Bundle By Business Services Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Bundle Name | Bundle name | String value of the bundle name. | Y |
| Types To Include | Include item types | String value. | Y |
| Member Of Business Services | List of Business Services that this bundle belongs to | String value of the list. | N |
| Business Services To Include | Include List of Business Services for this bundle creation | String value of the list. | Y |
Create a Bundle By Date
Description | |
|---|---|
URI |
|
HTTP Method | POST |
Description | Creates a Bundle. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Bundle By Date: Example Request, below. |
Properties | |
Example Response |
|
Create a Bundle By Date: Example Request
- JSON
- XML
JSON
{
"name": "bundle-service4",
"typesToInclude": "Triggers, Tasks, Calendars, Variables, Credentials",
"businessServices": [
"bus-1",
"bus-2"
],
"updatedOnOrAfter": "2020-07-01 00:00:00 -0400"
}
XML
<bundle>
<name>bundle-by-service2</name>
<businessServices>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</businessServices>
<typesToInclude> Triggers, Tasks, Calendars, Variables, Credentials</typesToInclude>
<updatedOnOrAfter> 2020-07-01 00:00:00 -0400</updatedOnOrAfter>
</bundle>
Create a Bundle By Date Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Bundle Name | Bundle name | String value of the bundle name. | Y |
| Types To Include | Include item types | String value. | Y |
| Member Of Business Services | List of Business Services that this bundle belongs to | String value of the list. | N |
| Updated On Or After | Include List of items created On/After the dae | String value of the date. | Y |
Delete a Bundle
Description | |
|---|---|
URI | http://host_name/uc/resources/bundle |
HTTP Method | DELETE |
Description | Deletes a Bundle. |
URI Parameters | See Delete a Bundle: URI Parameters, below. |
Example URI | |
Example Response |
|
Delete a Bundle: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Bundle. | String value of the bundle sysId. | Y |
|
| Name used within the Controller to identify this Bundle. | String value of the bundle name. | Y |
|
List Bundles
Description | |
|---|---|
URI | http://host_name/uc/resources/bundle/list |
HTTP Method | GET |
Description | Retrieves information on all Bundles. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List Bundles: Example Response, below. |
Properties | See Bundle Properties. |
List Bundles Request Parameters
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| n/a | Request parameter bundlename. | String value of the bundle name. Wildcards are supported. | N |
| n/a | Request parameter businessServices. | String value of the bundle business service. | N |
| n/a | Request parameter defaultPromotionTarget. | String value of the promotion target. Wildcards are supported. | N |
List Bundles: Example Response
- JSON
- XML
JSON
[
{
"retainSysIds": true,
"name": "bundle-1",
"sysId": "b52335345df646e5b597dc26df599344",
"description": "bundle test 1",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"defaultPromotionTarget": "local",
"excludeOnExistence": "Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email Templates, Email Connections, Database Connections, SAP Connections, PeopleSoft Connections, SNMP Managers, Applications",
"followReferences": true,
"promoteBundleDefinition": true,
"promoteByBusinessServices": [
"bus-1",
"bus-2"
],
"visibleTo": "ops.admin",
"bundleAgentClusters": [
{
"addedBy": "ops.admin",
"name": "Opswise - Default Linux/Unix Cluster",
"sysId": "0d7f03026a96451fbc3d7a8eecd641d5",
"type": "Windows"
}
],
"bundleApplications": [
{
"addedBy": "ops.admin",
"name": "app-1",
"sysId": "e12830a711c849388819230203e601d3",
"type": "Windows Service"
}
],
"bundleBusinessServices": [
{
"addedBy": "ops.admin",
"name": "bus-1",
"sysId": "b939eedb63544517accd905cfdd13b22"
}
],
"bundleCalendars": [
{
"addedBy": "ops.admin",
"description": "calendar 1",
"name": "cal-1",
"sysId": "655b9c498e574ace886b114f79d5933a"
}
],
"bundleCredentials": [
{
"addedBy": "ops.admin",
"name": "cred-1",
"sysId": "d04886ac74be43a0aa3faa8042f82cca"
}
],
"bundleCustomDays": [
{
"addedBy": "ops.admin",
"description": "custom day test",
"name": "cust-1",
"sysId": "1b0e9acedb98439a8319ac3cd51c21ba",
"type": "Single Date"
}
],
"bundleDatabaseConnections": [
{
"addedBy": "ops.admin",
"name": "db-con-1",
"sysId": "fc8223ece09f407bb9b5bb865574cb49"
}
],
"bundleEmailConnections": [
{
"addedBy": "ops.admin",
"name": "email-conn",
"sysId": "bd54eae4221a4f909454f7fa04c75efb",
"type": "Outgoing"
}
],
"bundleEmailTemplates": [
{
"addedBy": "ops.admin",
"name": "email-temp-1",
"sysId": "5dce586a419448ee83fa121589d60a75"
}
],
"bundlePeoplesoftConnections": [
{
"addedBy": "ops.admin",
"name": "ps-con-1",
"sysId": "aac40dfd5c3242ae9bcaaf169a5468b9"
}
],
"bundleSapConnections": [
{
"addedBy": "ops.admin",
"name": "sap-1",
"sysId": "a4b0544fb668404ba10b2826b2e6db81"
}
],
"bundleScripts": [
{
"addedBy": "ops.admin",
"description": "script 1",
"name": "script-1",
"sysId": "01e90371bed4473d87dad00148512f35",
"type": "Script"
}
],
"bundleSnmpManagers": [
{
"addedBy": "ops.admin",
"name": "snmp-1",
"sysId": "4bfa01f747ca4ad5b4ee9e073d643604"
}
],
"bundleTasks": [
{
"addedBy": "ops.admin",
"name": "win-1",
"sysId": "3b50f8c015d6494288328cfdb35d9ea7",
"type": "Workflow"
}
],
"bundleTriggers": [
{
"addedBy": "ops.admin",
"name": "cron-trig-1",
"sysId": "d2869f93a68547beb8e5b156d4fac99e",
"type": "Cron"
}
],
"bundleUniversalTemplates": [
{
"addedBy": "ops.admin",
"name": "uni-1",
"sysId": "0ff4abb1d80c4f95b517dc073c9abd0c"
}
],
"bundleVariables": [
{
"addedBy": "ops.admin",
"description": "variable 1",
"name": "var1",
"sysId": "9988d78bf82e44dbae66cf0e8ec4b820"
}
],
"bundleVirtualResources": [
{
"addedBy": "ops.admin",
"name": "VR-1",
"sysId": "deeaf3e516ce485fac5fc2283022d904",
"type": "Renewable"
}
],
"updated": "2021-07-13 17:05:00 -0400",
"updatedBy": "Administrator",
"created": "2021-07-13 15:42:34 -0400",
"createdBy": "Administrator",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_bundle",
}
]
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundles>
<bundle exportReleaseLevel="7.2.0.0" exportTable="ops_bundle" retainSysIds=true>
<name> bundle-test</name>
<sysId >b52335345df646e5b597dc26df599344</ sysId >
<description> bundle test</description>
<defaultPromotionTarget> local</defaultPromotionTarget>
<followReferences> true</followReferences>
<excludeOnExistence> Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email
Templates, Email Connections, Database Connections, SAP Connections,
PeopleSoft Connections, SNMP Managers</excludeOnExistence>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<promoteBundleDefinition> true</promoteBundleDefinition>
<promoteByBusinessServices>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</promoteByBusinessServices>
<visibleTo> ops.admin</visibleTo>
<bundleTasks>
<bundleTask addedBy="ops.admin" type="Workflow">
<name>win-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
</bundleTasks>
<bundleApplications>
<bundleApplication addedBy="ops.admin" type="Windows Service">
<name>App-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleApplication>
</bundleApplications>
<bundleTriggers>
<bundleTrigger addedBy="ops.admin" type="Cron">
<name>manual-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
</bundleTriggers>
<bundleCalendars>
<bundleCalendar addedBy="ops.admin" type="calendar 1">
<name>cal-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCalendar>
</bundleCalendars>
<bundleCustomDays>
<bundleCustomDay addedBy="ops.admin" description="custom day test"
type="Single Date">
<name>custome-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCustomDay>
</bundleCustomDays>
<bundleVariables>
<bundleVariable addedBy="ops.admin" description="variable 1" >
<name>var1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVariable>
</bundleVariables>
<bundleBusinessServices>
<bundleBusinessService addedBy="ops.admin">
<name>bus-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleBusinessService>
</bundleBusinessServices>
<bundleCredentials>
<bundleCredential addedBy="ops.admin">
<name>sap-cred</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCredential>
</bundleCredentials>
<bundleAgentClusters>
<bundleAgentCluster addedBy="ops.admin" type="Linux/Unix">
<name>Opswise - Default Windows Cluster</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleAgentCluster>
</bundleAgentClusters>
<bundleVirtualResources>
<bundleVirtualResource addedBy="ops.admin" type="Renewable">
<name>VR-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVirtualResource>
</bundleVirtualResources>
<bundleScripts>
<bundleScript addedBy="ops.admin" description="script 1"
type="Script">
<name>script-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleScript>
</bundleScripts>
<bundleEmailTemplates>
<bundleEmailTemplate addedBy="ops.admin">
<name>email-temp-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailTemplate>
</bundleEmailTemplates>
<bundleEmailConnections>
<bundleEmailConnection addedBy="ops.admin" type="Outgoing">
<name>Email-con-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailConnection>
</bundleEmailConnections>
<bundleDatabaseConnections>
<bundleDatabaseConnection addedBy="ops.admin">
<name>DB-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleDatabaseConnection>
</bundleDatabaseConnections>
<bundleSapConnections>
<bundleSapConnection addedBy="ops.admin">
<name>SAP-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSapConnection>
</bundleSapConnections>
<bundlePeoplesoftConnections>
<bundlePeoplesoftConnection addedBy="ops.admin">
<name>People-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundlePeoplesoftConnection>
</bundlePeoplesoftConnections>
<bundleSnmpManagers>
<bundleSnmpManager addedBy="ops.admin">
<name>snmp-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSnmpManager>
</bundleSnmpManagers>
<bundleUniversalTemplates>
<bundleUniversalTemplate addedBy="ops.admin">
<name>univ-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleUniversalTemplate>
</bundleUniversalTemplates>
<bundleVariables/>
<bundleVirtualResources/>
<updated>2021-07-13 17:05:00 -0400</updated>
<updatedBy>Administrator</updatedBy>
<created>2021-07-13 15:42:34 -0400</created>
<createdBy>Administrator</createdBy>
</bundle>
<bundles>
Modify a Bundle
Description | |
|---|---|
URI | http://host_name/uc/resources/bundle |
HTTP Method | PUT |
Description | Modifies the Bundle specified by the |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Bundle: Example Request, below. |
Properties | See Bundle Properties. |
Example Response |
|
Modify a Bundle: Example Request
- JSON
- XML
JSON
{
"retainSysIds": true,
"name": "bundle-1",
"sysId": "b52335345df646e5b597dc26df599344",
"description": "bundle test 1",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"defaultPromotionTarget": "local",
"excludeOnExistence": "Triggers, Tasks, Calendars, Custom Days, Variables, Credentials, Agent Clusters, Virtual Resources, Scripts, Email Templates, Email Connections, Database Connections, SAP Connections, PeopleSoft Connections, SNMP Managers, Applications",
"followReferences": true,
"promoteBundleDefinition": true,
"promoteByBusinessServices": [
"bus-1",
"bus-2"
],
"visibleTo": "ops.admin",
"bundleAgentClusters": [
{
"name": "Opswise - Default Linux/Unix Cluster",
"sysId": "0d7f03026a96451fbc3d7a8eecd641d5",
},
{
"name": "Opswise - Default Windows Cluster",
"sysId": "d3f8282f702544d69500928afbcc00f0",
}
],
"bundleApplications": [
{
"name": "app-1",
"sysId": "e12830a711c849388819230203e601d3",
}
],
"bundleBusinessServices": [
{
"name": "bus-1",
"sysId": "b939eedb63544517accd905cfdd13b22"
}
],
"bundleCalendars": [
{
"name": "cal-1",
"sysId": "655b9c498e574ace886b114f79d5933a"
}
],
"bundleCredentials": [
{
"name": "cred-1",
"sysId": "d04886ac74be43a0aa3faa8042f82cca"
}
],
"bundleCustomDays": [
{
"name": "cust-1",
"sysId": "1b0e9acedb98439a8319ac3cd51c21ba",
}
],
"bundleDatabaseConnections": [
{
"name": "db-con-1",
"sysId": "fc8223ece09f407bb9b5bb865574cb49"
}
],
"bundleEmailConnections": [
{
"name": "email-conn",
"sysId": "bd54eae4221a4f909454f7fa04c75efb",
}
],
"bundleEmailTemplates": [
{
"name": "email-temp-1",
"sysId": "5dce586a419448ee83fa121589d60a75"
}
],
"bundlePeoplesoftConnections": [
{
"name": "ps-con-1",
"sysId": "aac40dfd5c3242ae9bcaaf169a5468b9"
}
],
"bundleSapConnections": [
{
"name": "sap-1",
"sysId": "a4b0544fb668404ba10b2826b2e6db81"
}
],
"bundleScripts": [
{
"name": "script-1",
"sysId": "01e90371bed4473d87dad00148512f35",
}
],
"bundleSnmpManagers": [
{
"name": "snmp-1",
"sysId": "4bfa01f747ca4ad5b4ee9e073d643604"
}
],
"bundleTasks": [
{
"name": "win-1",
"sysId": "3b50f8c015d6494288328cfdb35d9ea7",
}
],
"bundleTriggers": [
{
"name": "cron-trig-1",
"sysId": "d2869f93a68547beb8e5b156d4fac99e",
}
],
"bundleUniversalTemplates": [
{
"name": "uni-1",
"sysId": "0ff4abb1d80c4f95b517dc073c9abd0c"
}
],
"bundleVariables": [
{
"name": "var1",
"sysId": "9988d78bf82e44dbae66cf0e8ec4b820"
}
],
"bundleVirtualResources": [
{
"name": "VR-1",
"sysId": "deeaf3e516ce485fac5fc2283022d904",
}
]
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundle retainSysIds=true>
<name> bundle-test</name>
<sysId >0d7f03026a96451fbc3d7a8eecd641d5</ sysId >
<description> bundle test</description>
<defaultPromotionTarget> local</defaultPromotionTarget>
<followReferences> true</followReferences>
<excludeOnExistence> Triggers, Tasks, Calendars, Custom Days, Variables,
Credentials, Agent Clusters, Virtual Resources, Scripts, Email
Templates, Email Connections, Database Connections, SAP Connections,
PeopleSoft Connections, SNMP Managers</excludeOnExistence>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<promoteBundleDefinition> true</promoteBundleDefinition>
<promoteByBusinessServices>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</promoteByBusinessServices>
<visibleTo> ops.admin</visibleTo>
<bundleTasks>
<bundleTask>
<name>win-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
<bundleTask>
<name>abc</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
</bundleTasks>
<bundleApplications>
<bundleApplication>
<name>App-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleApplication>
</bundleApplications>
<bundleTriggers>
<bundleTrigger>
<name>manual-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
<bundleTrigger>
<name>time-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
</bundleTriggers>
<bundleCalendars>
<bundleCalendar>
<name>cal-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCalendar>
</bundleCalendars>
<bundleCustomDays>
<bundleCustomDay>
<name>custome-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCustomDay>
</bundleCustomDays>
<bundleVariables>
<bundleVariable>
<name>var1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVariable>
</bundleVariables>
<bundleBusinessServices>
<bundleBusinessService>
<name>bus-1</name>
<sysID>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleBusinessService>
</bundleBusinessServices>
<bundleCredentials>
<bundleCredential>
<name>sap-cred</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCredential>
</bundleCredentials>
<bundleAgentClusters>
<bundleAgentCluster>
<name>Opswise - Default Windows Cluster</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleAgentCluster>
</bundleAgentClusters>
<bundleVirtualResources>
<bundleVirtualResource>
<name>VR-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVirtualResource>
</bundleVirtualResources>
<bundleScripts>
<bundleScript>
<name>script-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleScript>
</bundleScripts>
<bundleEmailTemplates>
<bundleEmailTemplate>
<name>email-temp-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailTemplate>
</bundleEmailTemplates>
<bundleEmailConnections>
<bundleEmailConnection>
<name>Email-con-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailConnection>
</bundleEmailConnections>
<bundleDatabaseConnections>
<bundleDatabaseConnection>
<name>DB-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleDatabaseConnection>
</bundleDatabaseConnections>
<bundleSapConnections>
<bundleSapConnection>
<name>SAP-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSapConnection>
</bundleSapConnections>
<bundlePeoplesoftConnections>
<bundlePeoplesoftConnection>
<name>People-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundlePeoplesoftConnection>
</bundlePeoplesoftConnections>
<bundleSnmpManagers>
<bundleSnmpManager>
<name>snmp-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSnmpManager>
</bundleSnmpManagers>
<bundleUniversalTemplates>
<bundleUniversalTemplate>
<name>univ-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleUniversalTemplate>
</bundleUniversalTemplates>
</bundle>
Read a Bundle
URI | http://host_name/uc/resources/bundle |
HTTP Method | GET |
Description | Retrieve Bundle details using a specific query parameters. |
URI Parameters | See Read a Bundle: URI Parameters, below. |
Example URI | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See Read a Bundle: Example Response, below. |
Properties | See Bundle Properties. |
Read a Bundle: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Bundle. | String value of the bundle sysId. | Y |
|
| Name used within the Controller to identify this Bundle. | String value of the bundle name. | Y |
|
Read a Bundle: Example Response
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON
{
"retainSysIds": true,
"name": "bundle1",
"sysId": "cf39bea48689411bb2af7e4f1727f633",
"description": null,
"opswiseGroups": [
"d205b106324642409ca101c9dccb3de0",
"fbdf165af97d4eb390d09f4ccd72a18c"
],
"defaultPromotionTarget": null,
"excludeOnExistence": null,
"followReferences": false,
"promoteBundleDefinition": true,
"promoteByBusinessServices": [],
"visibleTo": null,
"bundleAgentClusters": [],
"bundleApplications": [],
"bundleBusinessServices": [],
"bundleCalendars": [],
"bundleCredentials": [],
"bundleCustomDays": [],
"bundleDatabaseConnections": [],
"bundleEmailConnections": [],
"bundleEmailTemplates": [],
"bundleOAuthClients": [],
"bundlePeoplesoftConnections": [],
"bundleReports": [],
"bundleSapConnections": [],
"bundleScripts": [],
"bundleSnmpManagers": [],
"bundleTasks": [
{
"addedBy": "ops.admin",
"name": "my-win",
"sysId": "d372ea7ddce945d28be69792e52f93b1",
"type": "Windows"
}
],
"bundleTriggers": [
{
"addedBy": "ops.admin",
"name": "my-trigger",
"sysId": "b4bcf3be572d4cb6b02891fc3489e2da",
"type": "Time"
}
],
"bundleUniversalEventTemplates": [],
"bundleUniversalTemplates": [],
"bundleVariables": [],
"bundleVirtualResources": [],
"updated": "2021-07-13 17:05:00 -0400",
"updatedBy": "Administrator",
"created": "2021-07-13 15:42:34 -0400",
"createdBy": "Administrator",
"exportReleaseLevel": "8.0.0.0",
"exportTable": "ops_bundle"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundle exportReleaseLevel="8.0.0.0" exportTable="ops_bundle" retainSysIds="true">
<name>bundle1</name>
<sysId>cf39bea48689411bb2af7e4f1727f633</sysId>
<description />
<opswiseGroups>
<opswiseGroup>d205b106324642409ca101c9dccb3de0</opswiseGroup>
<opswiseGroup>fbdf165af97d4eb390d09f4ccd72a18c</opswiseGroup>
</opswiseGroups>
<defaultPromotionTarget />
<excludeOnExistence />
<followReferences>false</followReferences>
<promoteBundleDefinition>true</promoteBundleDefinition>
<promoteByBusinessServices/>
<visibleTo />
<bundleAgentClusters/>
<bundleApplications/>
<bundleBusinessServices/>
<bundleCalendars/>
<bundleCredentials/>
<bundleCustomDays/>
<bundleDatabaseConnections/>
<bundleEmailConnections/>
<bundleEmailTemplates/>
<bundleOAuthClients/>
<bundlePeoplesoftConnections/>
<bundleReports/>
<bundleSapConnections/>
<bundleScripts/>
<bundleSnmpManagers/>
<bundleTasks>
<bundleTask addedBy="ops.admin" type="Windows">
<name>my-win</name>
<sysId>d372ea7ddce945d28be69792e52f93b1</sysId>
</bundleTask>
</bundleTasks>
<bundleTriggers>
<bundleTrigger addedBy="ops.admin" type="Time">
<name>my-trigger</name>
<sysId>b4bcf3be572d4cb6b02891fc3489e2da</sysId>
</bundleTrigger>
</bundleTriggers>
<bundleUniversalEventTemplates/>
<bundleUniversalTemplates/>
<bundleVariables/>
<bundleVirtualResources/>
<updated>2021-07-13 17:05:00 -0400</updated>
<updatedBy>Administrator</updatedBy>
<created>2021-07-13 15:42:34 -0400</created>
<createdBy>Administrator</createdBy>
</bundle>
Promotion
Bundleless Promotion
Description | |
|---|---|
URI | http://host_name/uc/resources/promote |
HTTP Method | POST |
Description | Promotes, without a bundle, one or more items of a specific type. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Promote: XML and JSON Examples. |
Request Properties | See Promote: Properties. |
Example Response | See Promote: XML and JSON Examples. |
Bundleless Promotion: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"itemType": "Universal Template",
"itemIds": "4e656d398d5f4ebd8d7df3210147c488",
"promotionTargetId": "6330f82afab54273b9167a2b434a2424",
"overrideUser": "testUser",
"overridePassword": "testPassword1",
"followReferences": true,
"allowUnvTmpltChanges": true,
"promotionDescription": "description for the promotion"
}
Example Response
JSON
{
"type": "promote",
"success": true,
"info": "Successfully promoted 1 universal template to promotion target \"PT1\".",
"errors": ""
}
Example Request
XML
<promote>
<itemType>Calendar</itemType>
<itemNames>CAL_US,CAL_CAN</itemNames>
<promotionTargetName>PT1</promotionTargetName>
<excludeOnExistence>Custom Days</excludeOnExistence>
<followReferences>false</followReferences>
<allowUnvTmpltChanges>false</allowUnvTmpltChanges>
<promotionDescription>description for the promotion</promotionDescription>
</promote>
Example Response
XML
<command-response>
<type>promote</type>
<success>true</success>
<info>Successfully promoted 2 calendars and 1 referenced item to promotion target "PT1".</info>
<errors></errors>
</command-response>
Bundleless Promotion: Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| n/a | Item type for promotion item(s). | Valid Values: One of the following (not case sensitive):
| Y | |
| n/a | IDs for promotion items. | Comma-separated list of promotion item IDs. | Y |
|
| n/a | Names for promotion items. | Comma-separated list of promotion item names. | Y |
|
| n/a | List of promotion items. | XMLXML JSONJSON | Y (unless |
|
| n/a | ID of the Promotion Target. | Y |
| |
| Promotion Target | Name of the Promotion Target. | Y |
| |
| User | User name to use instead of the default User name for the Promotion Target. | Y | ||
| Password | User password to use instead of the default User password for the Promotion Target. | Y | ||
| Personal Access Token | Personal Access Token to use instead of the default personal access token for the Promotion Target. | If both | N | |
| Exclude On Existence | Item types that will not be updated if they exist on the target server. | Comma-separated list of excluded types. Valid Values:
| N | |
| Follow References | Dynamically include items in the promotion that are referenced by promotion items. | Valid values:
| N | |
| Allow Universal Template Changes | Allow the promotion to contain new or changed Universal Templates. | Valid values:
info In order to promote Universal Template changes, the user must have the ops_universal_template_admin role or the ops_admin role. | N | |
| Promotion Description | Description of the promotion. | String value of the promotion description. Maximum length is 255 characters. | N |
Bundleless Promotion: Items Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| n/a | Name for a promotion item. | Y | ||
| n/a | User Id (Username) of a user. | N |
| |
| n/a | Name of a user group. | For a dashboard or report visible to multiple groups, you can specify any one of the visibility groups. | N |
|
Cancel a Scheduled Bundle Promotion
Description | ||
|---|---|---|
URI | http://host_name/uc/resources/promotion/schedule/cancel | |
HTTP Method | POST | |
Description | Cancels the scheduled promotion of a Bundle. | |
URI Parameters | See Cancel a Scheduled Bundle Promotion: URI Parameters, below. | |
Consumes Content-Type | n/a | |
Produces Content-Type | application/xml, application/json | |
Example URI |
| |
Example Response | See Cancel a Scheduled Bundle Promotion: XML and JSON Examples. |
Cancel a Scheduled Bundle Promotion: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| UUID of the promotion schedule. | N |
| |
| Name of the bundle. | N |
| |
| UUID of the bundle. | N |
| |
| Date when the promotion was scheduled. Corresponds to the year, month, and day of the Scheduled Time field in a promotion schedule. | Format: yyyy-MM-dd (For example: 2018-11-14). | Y | |
| Time when the promotion was scheduled. Corresponds to the hour and minutes of the Scheduled Time field in a promotion schedule. | Format: HH:mm (For example: 22:00). | Y |
Cancel a Scheduled Bundle Promotion: XML and JSON Examples
- JSON
- XML
JSON
{
"type": "schedule_promotion",
"success": true,
"info": "",
"errors": ""
}
OR
{
"type": "schedule_promotion",
"success": false,
"info": "",
"errors": "The promotion schedule can only be cancelled while in a Scheduled status."
}
XML
<command-response>
<type>schedule_promotion</type>
<success>true</success>
<info></info>
<errors></errors>
</command-response>
OR
<command-response>
<type>schedule_promotion</type>
<success>false</success>
<info></info>
<errors>The promotion schedule can only be cancelled while in a Scheduled status.</errors>
</command-response>
Delete a Scheduled Bundle Promotion
Description | |
|---|---|
URI | http://host_name/uc/resources/promotion/schedule |
HTTP Method | DELETE |
Description | Deleted the scheduled promotion of a Bundle. |
URI Parameters | See Delete a Scheduled Bundle Promotion: URI Parameters, below. |
Example URI |
|
Example Response |
|
Delete a Scheduled Bundle Promotion: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| UUID of the promotion schedule. | N |
| |
| Name of the bundle. | N |
| |
| UUID of the bundle. | N |
| |
| Date when the promotion was scheduled. Corresponds to the year, month, and day of the Scheduled Time field in a promotion schedule. | Format: yyyy-MM-dd (For example: 2018-11-14). | Y | |
| Time when the promotion was scheduled. Corresponds to the hour and minutes of the Scheduled Time field in a promotion schedule. | Format: HH:mm (For example: 22:00). | Y |
List Scheduled Bundle Promotions
Description | |
|---|---|
URI | http://host_name/uc/resources/promotion/schedule/list |
HTTP Method | GET |
Description | Retrieve information on all scheduled promotions. |
Example URI | |
Authentication | Basic/Token |
Produces Content-Type | application/json |
URI Parameters | See List Scheduled Bundle Promotions: URI Parameters, below. |
Example Response |
|
List Scheduled Bundle Promotions: URI Parameters
Property | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| 32-character sysid of the Bundle to be promoted. | N |
| |
| Bundle Name | Name of the Bundle to be filtered. |
| |
| ID of the Controller cluster node on which to promote the Bundle. | Promotion Target of the specified Bundle. | N |
|
| Name of the Controller cluster node on which to promote the Bundle. | Promotion Target of the specified Bundle. | N |
|
| Status of the scheduled promotion. | N |
Promote a Bundle or Schedule a Bundle Promotion
Description | |
|---|---|
URI | http://host_name/uc/resources/bundle/promote |
HTTP Method | POST |
Description | Promote a Bundle or schedule the promotion of a Bundle. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Schedule Bundle Promotion: XML and JSON Examples. |
Request Properties | See Schedule Bundle Promotion: Properties. |
Example Response | See Schedule Bundle Promotion: XML and JSON Examples. |
Promote a Bundle or Schedule a Bundle Promotion: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"id": "1bd5a9ae80714523a858633df3c515bf",
"promotionTargetName": "testTarget",
"overrideUser": "testUser",
"overridePassword": "testPassword1",
"allowUnvTmpltChanges": true,
"schedule": true,
"createSnapshot": true,
"date": "2018-01-04",
"time": "23:00",
"notificationOption": "operation success",
"promotionDescription":"description for the promotion"
}
Example Response
JSON
{
"type": "schedule_promotion",
"success": true,
"info": "Successfully scheduled the promotion of bundle \"bun-1\" to promotion target \"local-8080\" for 2025-12-08 12:00:00 -0500.",
"errors": "",
"promotionSchedule": {
"allowUnvTmpltChanges": "true",
"bundleName": "bun-1",
"created": "2025-12-12 20:49:01 -0500",
"createdBy": "ops.admin",
"notificationOption": "Operation Failure",
"promotionDescription": "test1",
"promotionTargetName": "local-8080",
"scheduledBy": "ops.admin",
"scheduledTime": "2025-12-08 12:00:00 -0500",
"snapshotTime": null,
"status": "Scheduled",
"statusDescription": null,
"sysId": "b0b7ae44ce664aaaae05277818116bcd",
"updated": "2025-12-12 20:49:01 -0500",
"updatedBy": "ops.admin",
"useSnapshot": false
}
}
Example Request
XML
<bundle-promote>
<id>a17c53a4975d4df59ddf4e6f1fb0b111</id>
<promotionTargetName>testTarget</promotionTargetName>
<overrideUser>testUser</overrideUser>
<overridePassword>testPassword</overridePassword>
<allowUnvTmpltChanges>true</allowUnvTmpltChanges>
<schedule>true</schedule>
<createSnapshot>true</createSnapshot>
<date>2015-10-31</date>
<time>22:00</time>
<notificationOption>operation success</notificationOption>
<promotionDescription>description for the promotion</promotionDescription>
</bundle-promote>
Example Response
XML
<command-response>
<type>schedule_promotion</type>
<success>true</success>
<info>Successfully scheduled the promotion of bundle "bun-1" to promotion target "local-8080" for 2025-12-08 12:00:00 -0500.</info>
<errors></errors>
<promotionSchedule>
<allowUnvTmpltChanges>true</allowUnvTmpltChanges>
<bundleName>bun-1</bundleName>
<created>2025-12-12 20:48:16 -0500</created>
<createdBy>ops.admin</createdBy>
<notificationOption>Operation Failure</notificationOption>
<promotionDescription>test1</promotionDescription>
<promotionTargetName>local-8080</promotionTargetName>
<scheduledBy>ops.admin</scheduledBy>
<scheduledTime>2025-12-08 12:00:00 -0500</scheduledTime>
<status>Scheduled</status>
<sysId>19d533b11e4e4c26ad1359e390255058</sysId>
<updated>2025-12-12 20:48:16 -0500</updated>
<updatedBy>ops.admin</updatedBy>
<useSnapshot>false</useSnapshot>
</promotionSchedule>
</command-response>
Promote a Bundle or Schedule a Bundle Promotion: Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Allow Universal Template Changes | Allow the promotion to contain new or changed Universal Templates. | Valid values:
info In order to promote Universal Template changes, the user must have the ops_universal_template_admin role or the ops_admin role. | N | |
| Create Snapshot | Schedule the Bundle promotion using the current Bundle records. | Valid values:
| N | |
| Date | Date on which to promote the Bundle. | Y | ||
| n/a | 32-character sysid of the Bundle to be promoted. | Y |
| |
| Bundle Name | Name of the Bundle to be promoted. | Y |
| |
| System Notification | System Notification to send on success and/or failure of the promotion. | Valid values (not case sensitive):
| N | |
| Password | User password to use instead of the default User password for the promotion target. | Y | ||
| Personal Access Token | Personal Access Token to use instead of the default personal access token for the Promotion Target. | If both | N | |
| User | User name to use instead of the default User name for the promotion target. | Y | ||
| n/a | ID of the Controller cluster node on which to promote the Bundle. | Default is the Default Promotion Target of the specified Bundle. | N |
|
| Promotion Target | Name of the Controller cluster node on which to promote the Bundle. | Default is the Default Promotion Target of the specified Bundle. | N |
|
| Schedule | Indication of whether or not to schedule a Bundle promotion. | Valid values
| Y | |
| Time | Time on which to promote the Bundle. | Default is 00:00. | N | |
| Promotion Description | Description of the promotion. | String value of the promotion description. Maximum length is 255 characters. | N |
Reschedule a Bundle Promotion
Description | |
|---|---|
URI | http://host_name/uc/resources/promotion/schedule/{scheduleId} |
HTTP Method | PUT |
Description | Re-Schedule a specified scheduled promotion bundle. |
Example URI | http://localhost:8080/uc/resources/promotion/schedule/48f714ebd4d54e76baef4b5c1379ffc6 |
Authentication | Basic/Token |
Consumes Content-Type | application/json |
Produces Content-Type | application/json |
Request Properties | |
Example Response |
|
Reschedule a Bundle Promotion: Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Allow Universal Template Changes | Allow the promotion to contain new or changed Universal Templates. | Valid values:
info In order to promote Universal Template changes, the user must have the ops_universal_template_admin role or the ops_admin role. | N | |
| Date | Date on which to promote the Bundle. | Format: yyyy-MM-dd (For example: 2018-11-14). | Y | |
| System Notification | System Notification to send on success and/or failure of the promotion. | Valid values (not case sensitive):
| N | |
| Password | User password to use instead of the default User password for the promotion target. | Y | ||
| Personal Access Token | Personal Access Token to use instead of the default personal access token for the Promotion Target. | If both | N | |
| User | User name to use instead of the default User name for the promotion target. | Y | ||
| n/a | ID of the Controller cluster node on which to promote the Bundle. | Default is the Default Promotion Target of the specified Bundle. | N |
|
| Promotion Target | Name of the Controller cluster node on which to promote the Bundle. | Default is the Default Promotion Target of the specified Bundle. | N |
|
| Time | Time on which to promote the Bundle. | Default is 00:00. | N | |
| Promotion Description | Description of the promotion. | String value of the promotion description. Maximum length is 255 characters. | N |
Create a Promotion Target
Description | |
|---|---|
URI |
|
HTTP Method | POST |
Description | Creates a Promotion Target. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Promotion Target: Example Request, below. |
Properties | |
Example Response |
|
Create a Promotion Target: Example Request
All of the mapping agents will be automatically mapped when you execute the Refresh Target Agent command, so the mapping agents included in the request will be ignored.
- JSON
- XML
JSON
{
"agentMappings": [],
"authenticationMethod": "Basic",
"description": null,
"name": "test",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"password": "********",
"retainSysIds": true,
"sysId": "ed76d6c78f06402d882e155bfd42b98f",
"uri": "http://localhost:7070/uc",
"user": "ops.admin"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<promotionTarget retainSysIds="true">
<agentMappings/>
<authenticationMethod>Basic</authenticationMethod>
<name>test</ name>
<description/>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</ opswiseGroups>
<password>********</ password>
<sysId>ed76d6c78f06402d882e155bfd42b98f</ sysId>
<uri>http://localhost:7070/uc</ uri>
<user>ops.admin</ user>
</promotionTarget>
Promotion Target Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| n/a | List of agentMapping details associated with the Controller | agentMapping details | N |
| Authentication Method | Authentication method to use on the target cluster node of the universal controller. | Valid Values:
Default is Basic (1). | N |
| Description | Promotion Target description | String value of description | N |
| n/a | Universal Controller release that the record was exported from. | read only | N |
| n/a | Record table information. | read only | N |
| Name | Name for this Promotion Target. | String value of the promotion target name | Y |
| Member Of Business Services | List of Business Services that this task belongs to | String value | N |
| Password | Login password on the target cluster node of Universal Controller. | String value of password | N |
| n/a | Specification for whether or not the Create a Promotion Target web service will persist the sysId property.
info In XML web services, | Valid values: true/false (default is true). | N |
| Source Agent | List of source agent names. info
| List of source agent names. | N |
| n/a | System ID field in the database for this Prommotion Target record. | Persisted only if retainSysIds is set to true. | N |
| Target Agent | Target agent name. info
| String value of the target agent name. | Y |
| Personal Access Token | if authenticationMethod = Access Token; the personal access token to use for authentication. | String value | N |
| Type | Agent type. | String value of agent type. (For example, Windows) | Y |
| URI | Uniform Resource Identifier (URI) used to locate the Promotion Target cluster node. | String value uri. | Y |
| User | Login ID on the target cluster node of Universal Controller. | String value of user. | N |
Modify a Promotion Target
Modify a Promotion Target is used for updating the promotion target details and source agent details of the mapping agent details.
You can map multiple source agents to a specific target agent, but you cannot add the same source agents for more than one target agent.
Description | |
|---|---|
URI |
|
HTTP Method | PUT |
Description | Updates a Promotion Target. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Promoition Target: Example Request, below. |
Properties | |
Example Response |
|
Modify a Promotion Target: Example Request
- JSON
- XML
JSON
{
"agentMappings": [
{
"sourceAgents": [
"SBUS30 - AGNT0005"
],
"targetAgent": "SBUS30 - AGNT0005",
"type": "Windows"
}
],
"authenticationMethod": "Basic",
"description": null,
"name": "test",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"password": "********",
"retainSysIds": true,
"sysId": "ed76d6c78f06402d882e155bfd42b98f",
"uri": "http://localhost:7070/uc",
"user": "ops.admin"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<promotionTarget retainSysIds="true">
<agentMappings>
<agentMapping>
<sourceAgents>
<sourceAgent>SBUS30 - AGNT0005</sourceAgent>
</sourceAgents>
<targetAgent>SBUS30 - AGNT0005</targetAgent>
<type>Windows</type>
</agentMapping>
<authenticationMethod>Basic</authenticationMethod>
<agentMappings>
<name>test</name>
<description/>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<password>********</password>
<sysId>ed76d6c78f06402d882e155bfd42b98f</sysId>
<uri>http://localhost:7070/uc</uri>
<user>ops.admin</user>
</promotionTarget>
List Promotion Targets
List Promotion Targets allows the retrieval of promotion target details based on provided search criteria.
Description | |
|---|---|
URI | http://host_name/uc/resources/promotiontarget/list |
HTTP Method | GET |
Description | Retrieve Promotion Target details. |
URI Parameters | See List Promotion Targets: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/promotiontarget/list?targetname=test http://localhost:8080/uc/resources/promotiontarget/list?targetname=* http://localhost:8080/uc/resources/promotiontarget/list?targetname=local&businessServies=bus-1,bus-2 |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Respone | See List Promoition Targets: Example Response, below. |
Response Properties |
List Promotion Targets: URI Parameters
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| N/A | Request parameter targetname | String value of the target name. Wildcards are supported. | N |
| N/A | Request parameter businessServices. | String value of the business service | N |
List Promotion Targets: Example Response
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON
{
"agentMappings": [
{
"sourceAgents": [
"SBUS30 - AGNT0005"
],
"targetAgent": "SBUS30 - AGNT0005",
"type": "Windows"
}
],
"authenticationMethod": "Basic",
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_promotion_target"
"name": "test",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"retainSysIds": true,
"sysId": "ed76d6c78f06402d882e155bfd42b98f",
"uri": "http://localhost:7070/uc",
"user": "ops.admin"
},
{
"agentMappings": [],
"authenticationMethod": "Basic",
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_promotion_target"
"name": "test",
"opswiseGroups": [
"bus-2"
],
"retainSysIds": true,
"sysId": "ed76d6c78f06402d882e155bfd42b98f",
"uri": "http://localhost:7070/uc",
"user": "ops.admin"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<promotionTargets>
<promotionTarget exportReleaseLevel="7.2.0.0" exportTable="ops_promotion_target" retainSysIds="true">
<agentMappings>
<agentMapping>
<sourceAgents>
<sourceAgent>SBUS30 - AGNT0005</sourceAgent>
</sourceAgents>
<targetAgent>SBUS30 - AGNT0005</targetAgent>
<type>Windows</type>
</agentMapping>
<agentMappings>
<authenticationMethod>Basic</authenticationMethod>
<name>test</name>
<description/>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<sysId>ed76d6c78f06402d882e155bfd42b98f</sysId>
<uri>http://localhost:7070/uc</uri>
<user>ops.admin</user>
</promotionTarget>
<promotionTarget exportReleaseLevel="7.2.0.0" exportTable="ops_promotion_target" retainSysIds="true">
<agentMappings />
<authenticationMethod>Basic</authenticationMethod>
<name>test</name>
<description/>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<sysId>ed76d6c78f06402d882e155bfd42b98f</sysId>
<uri>http://localhost:7070/uc</uri>
<user>ops.admin</user>
</promotionTarget>
</promotionTargets>
Delete a Promotion Target
Delete a Promotion Target allows the deletion of a specified promotion target.
Description | |
|---|---|
URI | http://host_name/uc/resources/promotiontarget/ |
HTTP Method | DELETE |
Description | Delete a specified Promotion Target. |
URI Parameters | See Delete a Promotion Target: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/promotiontarget?targetname=test http://localhost:8080/uc/resources/promotiontarget?targetid=ed76d6c78f06402d882e155bfd42b98f |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | text/plain |
Properties | |
Example Response |
|
Delete Promotion Target: URI Parameters
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive |
|---|---|---|---|---|---|
| n/a | Request parameter targetname. | String value of the promotion target name | Y |
|
| n/a | Request parameter targetid. | String value of the promotion target sysId | Y |
|
Read a Promotion Target
Read a Promotion Target allows the reading of promotion target details based on a specified targetid or targetname.
Description | |
|---|---|
URI | http://host_name/uc/resources/promotiontarget/ |
HTTP Method | GET |
Description | Retrieve a specified Promotion Target details. |
URI Parameters | See Read a Promotion Target: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/promotiontarget?targetname=test http://localhost:8080/uc/resources/promotiontarget?targetid=ed76d6c78f06402d882e155bfd42b98f |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See Read a Promoition Target: Example Response, below. |
Response Properties |
Read a Promotion Target: URI Parameters
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive |
|---|---|---|---|---|---|
| n/a | Request parameter targetname. | String value of the promotion target name | Y |
|
| n/a | Request parameter targetid. | String value of the promotion target sysId | Y |
|
Read a Promotion Target: Example Response
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON
{
"agentMappings": [
{
"sourceAgents": [
"SBUS30 - AGNT0005"
],
"targetAgent": "SBUS30 - AGNT0005",
"type": "Windows"
}
],
"authenticationMethod": "Basic",
"description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_promotion_target"
"name": "test",
"opswiseGroups": [
"bus-1",
"bus-2"
],
"retainSysIds": true,
"sysId": "ed76d6c78f06402d882e155bfd42b98f",
"uri": "http://localhost:7070/uc",
"user": "ops.admin"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<promotionTarget exportReleaseLevel="7.2.0.0" exportTable="ops_promotion_target" retainSysIds="true">
<agentMappings>
<agentMapping>
<sourceAgents>
<sourceAgent>SBUS30 - AGNT0005</sourceAgent>
</sourceAgents>
<targetAgent>SBUS30 - AGNT0005</targetAgent>
<type>Windows</type>
</agentMapping>
<agentMappings>
<authenticationMethod>Basic</authenticationMethod>
<name>test</name>
<description/>
<opswiseGroups>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups>
<sysId>ed76d6c78f06402d882e155bfd42b98f</sysId>
<uri>http://localhost:7070/uc</uri>
<user>ops.admin</user>
</promotionTarget>
Refresh Target Agents
Refresh Promotion Target Agents allows the refreshing of the target Controller agents mapped to the promotion target.
Description | |
|---|---|
URI |
|
HTTP Method | POST |
Description | Refresh the target agents for a specified Promotion Target. |
URI Parameters | See Refresh Target Agents: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | Successfully refreshed target agents for test-1 |
Refresh Target Agents: URI Parameters
Property | Description | Specifications | Required | Mutually Exclusive |
|---|---|---|---|---|
| Name for this Promotion Target. | String value of the promotion target name passed as query parameter. | Y |
|
| Promotion Target sysId. | String value of the promotion target sysId passed as query parameter. | Y |
|
| Override Personal Access Token on the target cluster node of Universal Controller. | String value of personal access token, passed as request body. | N | |
| Override Login ID on the target cluster node of Universal Controller. | String value of user, passed as request body. | Y | |
| Override Login password on the target cluster node of Universal Controller. | String value of password, passed as request body. | Y |
Refresh Target Agents: Example Request
- JSON
- XML
JSON
{
"password": "1234",
"username": "ops.admin"
}
XML
<overrideUser>
<username>test-1</username>
<password>test</password>
</overrideUser>