Panel | ||||
---|---|---|---|---|
|
...
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
- Promote a Bundle or Schedule a Bundle Promotion
- 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.
Anchor | ||||
---|---|---|---|---|
|
Bundles
Anchor | ||||
---|---|---|---|---|
|
...
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: Example Response
XML Response | JSON Response | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
<bundle
|
<name - bun> bundle-test</name - bun>
<sysId - bun >0d7f03026a96451fbc3d7a8eecd641d5</ sysId - bun >
<description - bun> bundle test</description - bun>
<defaultPromotionTarget - bun> local</defaultPromotionTarget - bun>
<followReferences - bun> true</followReferences - bun>
<excludeOnExistence - bun> 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 - bun>
<opswiseGroups - bun>
<opswiseGroup>bus-1</opswiseGroup>
<opswiseGroup>bus-2</opswiseGroup>
</opswiseGroups - bun>
<promoteBundleDefinition - bun> true</promoteBundleDefinition - bun>
<promoteByBusinessServices - bun>
<businessService>bus-1</businessService>
<businessService>bus-2</businessService>
</promoteByBusinessServices - bun>
<visibleTo - bun> ops.admin</visibleTo - bun>
<bundleTasks - bun>
<bundleTask>
<name>win-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
<bundleTask>
<name>abc</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTask>
</bundleTasks - bun>
<bundleApplications - bun>
<bundleApplication>
<name>App-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleApplication>
</bundleApplications - bun>
<bundleTriggers - bun>
<bundleTrigger>
<name>manual-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
<bundleTrigger>
<name>time-trigger-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleTrigger>
</bundleTriggers - bun>
<bundleCalendars - bun>
<bundleCalendar>
<name>cal-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCalendar>
</bundleCalendars - bun>
<bundleCustomDays - bun>
<bundleCustomDay>
<name>custome-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCustomDay>
</bundleCustomDays - bun>
<bundleVariables - bun>
<bundleVariable>
<name>var1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVariable>
</bundleVariables - bun>
< bundleBusinessServices - bun>
<bundleBusinessService>
<name>bus-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleBusinessService>
</bundleBusinessServices - bun>
< bundleCredentials -bun>
<bundleCredential>
<name>sap-cred</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleCredential>
</bundleCredentials -bun>
< bundleAgentClusters - bun>
<bundleAgentCluster>
<name>Opswise - Default Windows Cluster</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleAgentCluster>
</bundleAgentClusters - bun>
< bundleVirtualResources - bun>
<bundleVirtualResource>
<name>VR-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleVirtualResource>
</bundleVirtualResources - bun>
< bundleScripts - bun>
<bundleScript>
<name>script-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleScript>
</bundleScripts - bun>
< bundleEmailTemplates - bun>
<bundleEmailTemplate>
<name>email-temp-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailTemplate>
</bundleEmailTemplates - bun>
< bundleEmailConnections - bun>
<bundleEmailConnection>
<name>Email-con-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleEmailConnection>
</bundleEmailConnections - bun>
< bundleDatabaseConnections - bun>
<bundleDatabaseConnection>
<name>DB-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleDatabaseConnection>
</bundleDatabaseConnections - bun>
< bundleSapConnections - bun>
<bundleSapConnection>
<name>SAP-conn-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSapConnection>
</bundleSapConnections - bun>
< bundlePeoplesoftConnections - bun>
<bundlePeoplesoftConnection>
<name>People-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundlePeoplesoftConnection>
</bundlePeoplesoftConnections - bun>
< bundleSnmpManagers - bun>
<bundleSnmpManager>
<name>snmp-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleSnmpManager>
</bundleSnmpManagers - bun>
< bundleUniversalTemplates - bun>
<bundleUniversalTemplate>
<name>univ-test-1</name>
<sysId>0d7f03026a96451fbc3d7a8eecd641d5</sysId>
</bundleUniversalTemplate>
</bundleUniversalTemplates - bun>
</bundle>
title | JSON Response |
---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/bundle |
HTTP Method | POST |
Description | Creates a Bundles and Promotion Overview Bundle. |
Example URI | http://localhost:8080/uc/resources/bundle |
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 |
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Description | |
---|---|
URI | |
HTTP Method | POST |
Description | Creates a Bundles and Promotion Overview 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 |
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Description | |
---|---|
URI | |
HTTP Method | POST |
Description | Creates a Bundles and Promotion Overview 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 |
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/bundle |
HTTP Method | DELETE |
Description | Deletes a Bundles and Promotion Overview Bundle. |
URI Parameters | See Delete a Bundle: URI Parameters, below. |
Example URI | |
Example Response |
|
...
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. |
...
Property | UI Field Name | Description | Specifications | Required | ||||||
---|---|---|---|---|---|---|---|---|---|---|
| n/a | Request parameter bundlename. | String value of the bundle name. Remote Interfaces 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. Remote Interfaces Wildcards are supported. | N |
...
XML Response | JSON Response | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/bundle |
HTTP Method | PUT |
Description | Modifies the Credential specified by the |
Example URI | http://localhost:8080/uc/resources/bundle |
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 |
|
Anchor | ||||
---|---|---|---|---|
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
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: Example Response
The exportReleaseLevel - bun
and exportTable
properties are specified as attributes in XML.
XML Response | JSON Response | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Anchor | ||||
---|---|---|---|---|
|
Promotion
Anchor | ||||
---|---|---|---|---|
|
...
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 | http://localhost:8080/uc/resources/promote |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | See Promote: Properties. |
Example Response |
Bundleless Promotion: XML and JSON Examples
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
| ||||||||||
Example Response |
|
|
...
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
itemType | n/a | Item type for promotion item(s). | Valid Values: One of the following (not case sensitive):
| Y | ||||||||||||
itemIds | n/a | IDs for promotion items. | Comma-separated list of promotion item IDs. | Y (unless itemNames or items is specified) |
| |||||||||||
itemNames | n/a | Names for promotion items. | Comma-separated list of promotion item names. | Y (unless itemIds or is specified) |
|
| n/a | List of promotion items. | XML: Code Block | | ||||||
| ||||||||||||||||
Code Block | ||||||||||||||||
| Comma-separated list of promotion item names. | Y (unless itemIds or is specified) |
| |||||||||||||
| n/a | List of promotion items. | XML:
JSON:
| Y (unless |
| |||||||||||
promotionTargetId | n/a | ID of the Promotion Target. | Y (unless promotionTargetName is specified) | promotionTargetName | ||||||||||||
promotionTargetName | Promotion Target | Name of the Promotion Target. | Y (unless promotionTargetId is specified) | promotionTargetId | ||||||||||||
overrideUser | User | User name to use instead of the default User name for the Promotion Target. | Y (if overridePassword is specified) | |||||||||||||
overridePassword | Password | User password to use instead of the default User password for the Promotion Target. | Y (if overrideUser is specified) | |||||||||||||
| Personal Access Token | Personal Access Token to use instead of the default personal access token for the Promotion Target. | If both | N | ||||||||||||
excludeOnExistence | 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 | ||||||||||||
followReferences | 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:
| N |
Anchor | ||||
---|---|---|---|---|
|
...
Description | ||
---|---|---|
URI | ||
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. |
Anchor | ||||
---|---|---|---|---|
|
...
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. | Format: yyyy-MM-dd (For example: 2018-11-14). | Y | |
| Time when the promotion was scheduled. | Format: HH:mm (For example: 22:00). | Y |
...
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 |
|
...
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. | Format: yyyy-MM-dd (For example: 2018-11-14). | Y | |
| Time when the promotion was scheduled. | Format: HH:mm (For example: 22:00). | Y |
...
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 | http://localhost:8080/uc/resources/bundle/promote |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response |
Anchor | ||||
---|---|---|---|---|
|
...
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
| ||||||||||
Example Response |
|
|
...
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
allowUnvTmpltChanges | Allow Universal Template Changes | Allow the promotion to contain new or changed Universal Templates. | Valid values:
| N | ||||||||||||
createSnapshot | Create Snapshot | Schedule the Bundle promotion using the current Bundle records. | Valid values:
| N | ||||||||||||
date | Date | Date on which to promote the Bundle. | Y | |||||||||||||
id | n/a | 32-character sysid of the Bundle to be promoted. | Y |
| ||||||||||||
name | Bundle Name | Name of the Bundle to be promoted. | Y |
| ||||||||||||
notificationOption | System Notification | Installing Universal Controller#Configure System NotificationsNotification to send on success and/or failure of the promotion. | Valid values (not case sensitive):
| N | ||||||||||||
overridePassword | 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 | ||||||||||||
overrideUser | User | User name to use instead of the default User name for the promotion target. | Y | |||||||||||||
promotionTargetId | 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 |
| |||||||||||
promotionTargetName | 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 | Schedule | Indication of whether or not to schedule a Bundle promotion. | Valid values
| Y | ||||||||||||
time | Time | Time on which to promote the Bundle. | Default is 00:00. | N |
...
Description | |
---|---|
URI | |
HTTP Method | POST |
Description | Creates a Creating Promotion TargetsTarget. |
Example URI | http://localhost:8080/uc/resources/promotiontarget |
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 |
|
...
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
|
Anchor | ||||
---|---|---|---|---|
|
...
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 | Description | Promotion Target description | String value of description | N | |||||||||||
exportReleaseLevel | n/a | Universal Controller release that the record was exported from. | read only | N | |||||||||||
exportTable | n/a | Record table information. | read only | N | |||||||||||
name | 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 | |||||||||||
retainSysIds | n/a | Specification for whether or not the Create a Promotion Target web service will persist the sysId - PT property.
| Valid values: true/false (default is true). | N | |||||||||||
| Source Agent | List of source agent names. | 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. | 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 | User | Login ID on the target cluster node of Universal Controller. | String value of user. | N |
...
Description | |
---|---|
URI | |
HTTP Method | PUT |
Description | Updates a Creating Promotion TargetsTarget. |
Example URI | http://localhost:8080/uc/resources/promotiontarget |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Promotion Promoition Target: Example Request, below. |
Properties | |
Example Response |
|
...
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | |
HTTP Method | GET |
Description | Retrieve Creating Promotion TargetsTarget 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 Create a Promotion Target Example Request List Promoition Targets: Example Response, below. |
Response Properties |
...
List Promotion Targets: Example Response
The exportReleaseLevel - PT
and exportTable
properties are specified as attributes in XML.
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Response |
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | |
HTTP Method | DELETE |
Description | Delete a specified Creating Promotion TargetsTarget. |
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 |
|
...
Description | |
---|---|
URI | |
HTTP Method | GET |
Description | Retrieve a specified Creating Promotion TargetsTarget 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 Promotion Promoition Target: Example Response, below. |
Response Properties |
...
Read a Promotion Target: Example Response
The exportReleaseLevel - PT
and exportTable
properties are specified as attributes in XML.
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | |
HTTP Method | POST |
Description | Refresh the target agents for a specified Creating Promotion TargetsTarget. |
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 |
...