Simulation Web Services
Overview
Universal Controller supports the following RESTful-based web services for Simulation operations, which are listed alphabetically on this page.
Formatting specifications for each web service, including details about parameter requirements, are provided.
Create/Update a Simulation
Description |
|
---|---|
URI |
http://host_name/uc/resources/simulation |
HTTP Method |
Post/PUT |
Description |
Create Simulation. |
Example URI |
|
Authentication |
HTTP Basic |
Produces Content-Type |
application/xml, application/json |
Consumes Content-Type |
application/xml, application/json |
Example Request | See Create/Update a Simulation: Example Request. |
Simulation Properties | See Simulation Properties and Simulation Output Properties, below. |
Example Responses |
|
Simulation Properties
Property |
UI Field Name |
Description |
Specifications |
Required |
---|---|---|---|---|
|
Task |
Name of the task. |
Y |
|
|
n/a |
Specification for whether or not the Create a Simulation web service will persist the sysId property.
Note In XML web services, retainSysIds is specified as an attribute in the <simulation> element. |
Valid values: true/false (default is true). |
N |
|
Workflow |
Name of the workflow. |
N |
|
vertexId |
Vertex |
Vertex ID of the task added to the workflow. |
Defaults to ANY (-1) if not specified |
N |
|
Status |
Projected simulation status. |
Allowed values
|
N |
|
Exit Code |
Exit code to return. |
Defaults to 0(zero) if not specified. |
N |
|
Simulation Variables |
Specifies variables that should be added for simulation purposes, including any built-in monitor variables starting with "ops_trigger_". The Simulation Variables are for adding variables that the simulated instance would have normally produced, therefore, are only available after the instance is already Queued or Running. |
List of variables:
|
N |
|
Publish Status |
Specifies if Status events should be published to task monitor instances. |
Defaults to false |
N |
|
Publish Late Start |
Specifies if Late Start events should be published to task monitor instances. |
Defaults to false |
N |
|
Publish Late Finish |
Specifies if Late Finish events should be published to task monitor instances. |
Defaults to false |
N |
|
Publish Early Fi |