Reset a Work Order

Description:

This is a method to reset a specific work order, identified by its work order ID. The result includes both the overall status for the work order as well as the individual status of each of its steps.

Usage:
http://Orchestrator_IP_address/aspera/orchestrator/api/work_order_reset/work_order_id?login=admin&password=aspera
For example:
http://localhost/aspera/orchestrator/api/work_order_reset/3109?login=admin&password=aspera
The required input parameter is the following:
workflow_reporter/work_order_reset/work_order_id
Response example (XML):
<?xml version="1.0"?>
<work_order time="2015-05-18 04:55:18 UTC" action="status" id="1227" master_id="1227">
  <name>Demo - user task</name>
  <workflow id="553" revision_id="3">Demo - user task</workflow>
  <status state="Created">WorkOrder reset at Sun May 17 21:55:18 PDT 2015</status>
  <comments/>
  <latest_update>reset</latest_update>
  <ownership>
    <initiated_by>admin</initiated_by>
    <running_as>system</running_as>
    <launched_by>admin</launched_by>
  </ownership>
  <priority dedicated_worker="false">2</priority>
  <timestamps>
    <created_at>2015-05-13 15:22:38 UTC</created_at>
    <initiated_at>2015-05-13 15:22:39 UTC</initiated_at>
    <updated_at>2015-05-18 04:55:18 UTC</updated_at>
    <completed_at>2015-05-18 04:53:21 UTC</completed_at>
  </timestamps>
    <work_steps>
      	 <work_step id="8269" category="System">
            <name>Logic prior</name>
            <status state="Inactive" attempt="0">reset</status>
            <action type="MergePoint" id="69"/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at>2015-05-13 15:22:40 UTC</initiated_at>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at>2015-05-13 15:22:40 UTC</completed_at>
          </work_step>
          <work_step id="8270" category="System">
            <name>Logic prior 1</name>
            <status state="Inactive" attempt="0">reset</status>
            <action type="MergePoint" id="70"/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at>2015-05-13 15:22:40 UTC</initiated_at>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at>2015-05-13 15:22:40 UTC</completed_at>
          </work_step>
		<work_step id="8271" category="System">
            <name>Post User input</name>
            <status state="Inactive" attempt="0">reset</status>
            <action type="MergePoint" id="71"/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at/>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at/>
          </work_step>
		<work_step id="8272" category="User Interactions">
            <name>Test input</name>
            <status state="Inactive" attempt="0">reset</status>
            <action type="UserInput" id="20"/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at>2015-05-13 15:22:41 UTC</initiated_at>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at>2015-05-18 04:53:21 UTC</completed_at>
          </work_step>
		<work_step id="8273">
            <name>Workflow Start</name>
            <status state="False" attempt="">reset</status>
            <action type="WorkOrderEnd" id=""/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at/>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at/>
          </work_step>
		<work_step id="8274">
            <name>Workflow Failed</name>
            <status state="False" attempt="">reset</status>
            <action type="WorkOrderEnd" id=""/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at/>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at/>
          </work_step>
          <work_step id="8275">
            <name>Workflow End</name>
            <status state="False" attempt="">reset</status>
            <action type="WorkOrderEnd" id=""/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at/>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at/>
          </work_step>
		<work_step id="8276">
            <name>Error Encountered</name>
            <status state="False" attempt="">reset</status>
            <action type="WorkOrderEnd" id=""/>
            <created_at>2015-05-13 15:22:38 UTC</created_at>
            <initiated_at/>
            <updated_at>2015-05-18 04:55:18 UTC</updated_at>
            <completed_at/>
          </work_step>
    </work_steps>
</work_order>