API Calls for Workflows |
Description:
This is a method to fetch the output specification of a workflow (for example, step names and step variable names without the variable values).
The inputs to this API method are a workflow ID and authentication parameters (login and password) if passing them inline. The user must have privileges to view workflow details. The output of this API call is an XML response that contains information such as variable name, type, step name, and so on.
http://Orchestrator_IP_address/aspera/orchestrator/api/workflow_outputs_spec?login=admin&password=aspera&workflow_id=workflow_id
http://localhost/aspera/orchestrator/api/workflow_outputs_spec?login=admin&password=aspera&workflow_id=878
workflow_id=workflow_id
<?xml version="1.0"?> <workflow_outputs_spec time="2012-09-14 23:04:50 UTC" action="opspec"> <context id="5513"> <workflow_id>878</workflow_id> <step_name>Parameter</step_name> <variable_name>input</variable_name> <value_type>string</value_type> <variable_type></variable_type> <created_at>2012-09-11 00:31:22 UTC</created_at> <updated_at>2012-09-11 00:31:22 UTC</updated_at> </context> <context id="5512"> <workflow_id>878</workflow_id> <step_name>Test FedWF</step_name> <variable_name>message</variable_name> <value_type>string</value_type> <variable_type></variable_type> <created_at>2012-09-11 00:31:22 UTC</created_at> <updated_at>2012-09-11 00:31:22 UTC</updated_at> </context> </work_order_outputs_spec>