...
Universal Controller supports the following RESTful-based web services for Variable operations, which are listed alphabetically on this page.
- 63553556
- 63553556
- 63553556
- 63553556
- 63553556
- 63553556
- 63553556Create a Global Variable
- Delete a Global Variable
- List Variables
- List Variables - Advanced
- Modify a Global Variable
- Read a Global Variable
- Set Variable
Formatting specifications for each web service, including details about parameter requirements, are provided.
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable |
HTTP Method | POST |
Description | Creates a Global Variable. |
Example URI | http://localhost:8080/uc/resources/variable |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Create a Global Variable: Example Request, below. |
Request Properties | See 63553556 Global Variable Properties, below. |
Example Response |
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Property | UI Field Name | Description | Specifications | Required | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
description | Description | User-defined; description of this record. | N | |||||||||||||||
name | Name | Name used within the Controller to identify this Global Variable. | Contains a maximum of 40 alphanumerics. | Y | ||||||||||||||
opswiseGroups | Member of Business Services | Business Services that this record belongs to.
| N | |||||||||||||||
| n/a | Specification for whether or not the Create a Create a Global Variable web service will persist the sysId property.
| Valid values: true/false (default is true). | N | ||||||||||||||
sysId | n/a | System ID field in the database for a record. | Persisted only if retainSysIds is set to true. | N | ||||||||||||||
value | Value | Value of this variable. | Maximum = 25000 characters. | N |
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable |
HTTP Method | DELETE |
Description | Deletes a Global Variable. |
URI Parameters | See Delete a Global Variable: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/variable?variableid=dadf6b84c0a8016500a01a10da5e2c15 |
Example Response |
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable/list |
HTTP Method | POST |
Description | Retrieves information on variables matching specific search criteria. |
Example URI | http://localhost:8080/uc/resources/variable/list |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response | |
Response Properties |
Anchor | ||||
---|---|---|---|---|
|
...
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
| ||||||||||
Example Response |
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable/listadv |
HTTP Method | GET |
Description | Retrieves variables details using specific query parameters. |
Example URI |
|
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
URI Properties | |
Example Response |
Anchor | ||||
---|---|---|---|---|
|
...
Parameter | Description | Specifications | Required | |
---|---|---|---|---|
| n/a | Business Services that this Variable belongs to. | String value of comma separated business service | N |
| n/a | Type of variable to be returned in the Response. | Valid values (case insensitive):
Default is global. | N |
| n/a | If scope is task; Name of task. | Y (if | |
| n/a | If scope is trigger; Name of the trigger. | Y (if | |
| n/a |
| Wildcards are supported. | N |
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable |
HTTP Method | PUT |
Description | Modifies the Global Variable specified by the |
Example URI | http://localhost:8080/uc/resources/variable |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | See Modify a Global Variable: Example Request, below. |
Request Properties | |
Example Response |
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable |
HTTP Method | GET |
Description | Retrieves information on a specific Global Variable. |
URI Parameters | See Read a Global Variable: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/variable?variablename=demo_ops_global |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See Read a Global Variable: Example Response , below. |
Response Properties |
Anchor | ||||
---|---|---|---|---|
|
...
XML Response | JSON Response | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/variable/ops-variable-set |
HTTP Method | POST |
Description | Sets the specified variable. |
Example URI | http://localhost:8080/uc/resources/variable/ops-variable-set |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Example Response | |
Properties |
Anchor | ||||
---|---|---|---|---|
|
...
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...