Get task details

This endpoint gets the details of a task.

You filter the request with one of two path parameters, task_id or workorder_id.

Note: The default format for the response is XML format. To return a response in JSON format, add &format=json to the request.

Filter by task id

Request:
http://Orchestrator_IP_address/aspera/orchestrator/api/task_details/task_id.format?login=admin
For example:
http://Orchestrator_IP_address/aspera/orchestrator/api/task_details /1.xml?login=admin
Sample response:
<?xml version="1.0" encoding="UTF-8"?>
<User_task>
   <task_inputs />
   <task>
      <userInput_id>2</userInput_id>
      <state_id>2626</state_id>
      <created_at>Fri Dec 04 03:38:23 UTC 2015</created_at>
      <updated_at>Fri Dec 04 03:38:23 UTC 2015</updated_at>
      <role_id>1</role_id>
      <status>Assigned</status>
      <completedBy />
      <user_id />
      <id>1</id>
   </task>
   <user_inputs>
      <type>hash</type>
      <value />
      <name>Step_information</name>
      <required>false</required>
   </user_inputs>
   <user_inputs>
      <type>string</type>
      <value />
      <name>Emails</name>
      <required>true</required>
   </user_inputs>
   <user_inputs>
      <type>string</type>
      <value />
      <name>Login</name>
      <required>true</required>
   </user_inputs>
   <user_inputs>
      <type>string</type>
      <value />
      <name>Name</name>
      <required>true</required>
   </user_inputs>
</User_task>

Identify by work order id

When identifying a work order in a workflow with a single task, use the following:
http://Orchestrator_IP_address/aspera/orchestrator/api/task_details/WOworkorder_id.format?login=admin&password=admin
When identifying a work order in a workflow with multiple tasks, use the following:
http://Orchestrator_IP_address/aspera/orchestrator/api/task_details/WO<workorder_id.format?login=admin&password=admin&step_name=<step_name>
For example:
http://Orchestrator_IP_address/aspera/orchestrator/api/task_details/WO518.xml?login=admin&password=admin&step_name= Request+approval

Sample response:

<User_task>
  <user_inputs>
    <required>false</required>
    <name>Step_information</name>
    <value></value>
    <type>hash</type>
  </user_inputs>
  <task_inputs>
    <Op>TestValue</Op>
  </task_inputs>
  <task>
    <created_at>Fri Jun 17 18:47:39 GMT 2016</created_at>
    <completedBy></completedBy>
    <updated_at>Fri Jun 17 18:47:39 GMT 2016</updated_at>
    <role_id>1</role_id>
    <id>3</id>
    <user_id></user_id>
    <userInput_id>5</userInput_id>
    <status>Assigned</status>
    <state_id>547</state_id>
  </task>
</User_task>