Gets the routine information at the given position
URL
/rw/rapid/modules/{module}/routine
Method
GET
URL Params
task={task} Required
row={row} Required
column={column} Required
See Common URL parameters
Data Params
None*
Success Response
HTTP_OK(200), see HTTP Status codes
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<title>rapid</title>
<base href= "http://localhost/rw/rapid/" />
</head>
<body>
<div class="state">
<a href= "modules/MainModule/routine?row=10&column=9&task=T_ROB1" rel="self"/>
<ul>
<li class="rap-routine-prop" title="RAPID/T_ROB1/MainModule/Routine1">
<span class="symburl">RAPID/T_ROB1/MainModule/Routine1</span>
<span class="name">Routine1</span>
<span class="symtyp">prc</span>
<span class="named">true</span>
<span class="local">false</span
<span class="npar">1</span>
</li>
</ul>
</div>
</body>
</html>
Resources
- rap-routine-prop
- name The name of the symbol. NULL if not retreived
- symtyp Type pf symbol {prc | fun | trp}
- named True if symbol is named.
- local {true|false}, FALSE if global module procedure
- npar Number of routine parameters, -1 if parameter list not linked
Error Response
HTTP_BAD_REQUEST(400),FORBIDDEN(403), NOT_FOUND(404),see HTTP Status codes
Robot controller errors, see Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/rapid/modules/MainModule/routine?task=T_ROB1&row=10&column=9"
Notes
Not supported in bootserver mode