Variable Web Services
Overview
Universal Controller supports the following RESTful-based web services for Variable operations, which are listed alphabetically on this page.
Formatting specifications for each web service, including details about parameter requirements, are provided.
Create a Global Variable
Description | |
|---|---|
URI | |
HTTP Method | POST |
Description | Creates a Global Variable. |
Example URI | |
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 Global Variable Properties, below. |
Example Response |
|
Create a Global Variable: Example Request
XML Request | JSON Request |
|---|---|
|
|
Global Variable Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Description | User-defined; description of this record. | N | |
| Name | Name used within the Controller to identify this Global Variable. | Contains a maximum of 40 alphanumerics. | Y |
| Member of Business Services | Business Services that this record belongs to. HTML HTML | N | |
retainSysIds | n/a | Specification for whether or not the Create a Create a Global Variable web service will persist the sysId property. HTML Note In XML, | Valid values: true/false (default is true). | N |
| n/a | System ID field in the database for a record. | Persisted only if retainSysIds is set to true. | N |
| Value | Value of this variable. | Maximum = 25000 characters. | N |
Delete a Global Variable
Description | |
|---|---|
URI | |
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 |
|
Delete a Global Variable: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Global Variable. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this Global Variable. | String; URI parameter. | Y (unless |
|
List Variables
Description | |
|---|---|
URI | |
HTTP Method | POST |
Description | Retrieves information on variables matching specific search criteria. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response | |
Response Properties |
List Variables: XML and JSON Examples
Examples | XML | JSON |
|---|---|---|
Example Request |
|
|
Example Response |
|
|