Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get RAPID tasks

Returns a list of all rapid tasks

URL

/rw/rapid/tasks

Method

GET

URL Params

continue-on-err={1|0} Optional Default value is 0. In case input is 1, the API continues execution even if any error occurs in between.

Data Params

None*

Success Response

HTTP_OK(200), see HTTP Status codes

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>rapid</title>
<base href="http://127.0.0.1/rw/rapid/"/>
</head>
<body>
<div class="state">
<a href="tasks" rel="self"/>
<a href= "tasks?action=show" rel="action"/>
<ul>
<li class="rap-task-li" title="T_ROB1">
<a href= "tasks/T_ROB1" rel="self"/>
<span class="name">T_ROB1</span>
<span class="type">norm</span>
<span class="taskstate">link</span>
<span class="excstate">read</span>
<span class="active">On</span>
<span class="motiontask">TRUE</span>
</li>
<li class="rap-task-li" title="T_ROB2">
<a href= "tasks/T_ROB2" rel="self"/>
<span class="name">T_ROB2</span>
<span class="type">norm</span>
<span class="taskstate">link</span>
<span class="excstate">read</span>
<span class="active">On</span>
<span class="motiontask">TRUE</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • rap-task-li RAPID tasks resource list item
  • name Task name
  • type Task type
  • taskstate task state can be empty, initiated,linked or loaded.
  • excstate task execution state can be ready,stopped,started or uninitialized.
  • active task active state.
  • motiontask motion state of task.

Error Response

BAD REQUEST(400) , see HTTP Status codes

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://127.0.0.1/rw/rapid/tasks"

Notes

Not supported in bootserver mode