Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get System Energy Actions

Get a list of actions that can be invoked on a System Energy Resource.

URL

/rw/system/energy

Method

GET

URL Params

action=show Required

Returns action forms for this resource

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 xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>system</title>
<base href="http://localhost/rw/system/energy/"/>
</head>
<body> <div class="state"> <a href="?action=show" rel="self">
</a> <form id="subscribe" method='post' action="/subscription">
<fieldset class="sub-energy">
<input type="checkbox" name="resources" value="1"/>
<input type="text" name="1" value="/rw/system/energy" maxlength="500"/>
<select class="priority" name="1-p"> <option value="0" selected="selected">
</option> <option value="1">
</option> </select> </fieldset> </form>
<form id="reset-accumulated-energy" method='post' action="?action=reset"> </form> </div>
</body>
</html>

Actions

  • subscribe subscribe to system energy information.
  • reset-accumulated-energy Resets System Accumulated Energy.

Error Response

BAD_REQUEST(400)

HTTP Errors, see HTTP Status codes

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/system/energy?action=show"

Notes

Not supported in bootserver mode