|
Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
|
Get a list of actions that can be invoked on a RAPID data resource.
/rw/rapid/symbols/{symbolurl}
GET
action=show Required
Returns action Forms for this resource
None*
HTTP_OK(200), see HTTP Status codes
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>rapid</title>
<base href="http://localhost/rw/rapid/"/>
</head>
<body>
<div class="state">
<a href="symbol/data/RAPID/T_ROB1/user/reg1?action=show" rel="self"></a>
<form class="action" id="set" method='post' action="/rw/rapid/symbol/data/RAPID/T_ROB1/user/reg1?action=set">
<input type="text" name="value" value="0" />
</form>
</div>
</body>
</html>
If the symbol is an persistent RAPID variable:
<?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:9696/"/>
</head>
<body>
<div class="state">
<a href="rw/rapid/symbol/data/RAPID/T_ROB1/uimsg/PNum?action=show" rel="self"/>
<form action="rw/rapid/symbol/data/RAPID/T_ROB1/uimsg/PNum?action=set" id="set" method="post">
<input name="value" type="text" value="0"/>
</form>
<form action="subscription" id="subscribe" method="post">
<input name="resources" type="checkbox" value="1"/>
<fieldset class="sub-value">
<input class="res" maxlength="500" name="1"
type="text" value="/rw/rapid/symbol/data/RAPID/T_ROB1/uimsg/PNum;value"/>
<select class="priority" name="1-p">
<option selected="selected" value="0"/>
<option value="1"/>
<option value="2"/>
</select>
</fieldset>
</form>
<form id="validate" method='post' action="symbol/data?action=validate">
<input type="text" name="task" value="" />
<input type="text" name="datatype" value="" />
<input type="text" name="value" value="" />
</form>
<form id="initvalue" method="post" action="/rw/rapid/symbol/data/RAPID/T_ROB1/user/reg1?action=setInitValue">
<input name="value" value="" type="text"/>
</form>
</div>
</body>
</html>
BAD REQUEST(400) see HTTP Status codes
Robot controller errors, see common_return_code
curl --digest -u "Default User":robotics http://localhost/rw/rapid/symbol/data/RAPID/T_ROB1/user/reg1?action=show
Not supported in bootserver mode