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

Get RAPID module attributes

URL

/rw/rapid/modules/{module}

Method

GET

URL Params

task=T_ROB1 Required

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

<html>
<head>
<title>rapid</title>
<base href= "http://localhost:7777/rw/rapid/" />
</head>
<body>
<div class="state">
<a href= "modules/mymodule?task=T_ROB1" rel="self"/>
<ul>
<li class="rap-module" title="T_ROB1/user">
<span class="modname">user</span>
<span class="filename">user.sys</span>
<span class="attribute">sysmod,readonly</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • rap-module Provides RAPID module attributes
  • modname Name of the module.
  • filename Name of the module file.
  • attribute {sysmod|encode|noview|nostepin|viewonly|readonly} Module attributes.

Error Response

BAD_REQUEST(400), 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/mymodule?task=T_ROB1"

Notes

Not supported in bootserver mode