Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Operation Mode Lock Status

Get the Mode Selector Lock state

URL

/rw/panel/opmode

Method

GET

URL Params

resource=lock-state Required

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>panel</title>
<base href= "http://localhost/rw/panel/opmode"/>
</head>
<body>
<div class="state">
<a href="?resource=lock-state" rel="self"/>
<ul>
<li class="pnl-opmode-lockstate" title="lockstate">
<span class="lockstate ">unlocked</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • lock-state: The Mode selector lock state gives { error | unlocked | locked | permlocked | pendpermlocked}

Error Response

BAD_REQUEST(400)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/panel/opmode?resource=lock-state"

Notes

Not supported in bootserver mode