Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Mod Possible

Get targets that can be modified in a given extension in a module

URL

/rw/rapid/modules/{module}

Method

GET

URL Params

resource=mod-possible Required

task={task_name} Required

startrow = {Start Row Number} Required

startcol = {Start Column Number} Required

endrow = {End Row Number} Required

endcol = {End Column Number} Required

Data Params

None

Success Response

HTTP_OK, see HTTP Status codes

Example Response

<html>
<head>
<title>rapid</title>
<base href= "http://localhost:7777/rw/rapid/" />
</head>
<body>
<div class="state">
<a href= "modules/MainModule?task=T_ROB1&resource=mod-possible&task=T_ROB1&startrow=19&startcol=1&endrow=21&endcol=1" rel="self"/>
<ul>
<li class="rap-module-mod-possible" title="mod-possible">
<span class="no_lines_modifiable">2</span>
<span class="start_row">19</span>
<span class="start_col">9</span>
<span class="end_row">19</span>
<span class="end_col">11</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • no_lines_modifiable Number of modifiable motion instructions
  • start_row Start Row
  • start_col Start Col
  • end_row End Row
  • end_col End Col

Error Response

Bad Request(400), see HTTP Status codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/rapid/modules/MainModule?resource=mod-possible&task=T_ROB1&startrow=19&startcol=1&endrow=21&endcol=1"

Note

Not supported in bootserver mode