Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Poll for RMMP grant status

The user should use this resource after making a rmmp request to keep the request alive. After 10 seconds, if this resource is not called then the request made for RMMP will be automatically removed from the controller if a local user has not granted or denied the RMMP request.

URL

/users/rmmp/poll

Method

GET

URL Params

None

See Common URL parameters

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>ROBAPI2 User</title>
<base href="http://localhost/users/rmmp/poll/" />
</head>
<body>
<div class="state">
<a href="" rel="self" />
<a href="?action=show" rel="action" />
<ul>
<li class="user-rmmp-poll" tile="state">
<span class="code">-1073445870</span>
<span class="status">NO SUCH REQUEST</span>
</li>
</ul>
</div>
</body>
</html>

Error Response

BAD REQUEST(400)

See Robot controller return codes

Sample Call

poll for rmmp status

curl --digest -u "Default User":robotics "http://localhost/users/rmmp/poll"

Notes

Not Supported in bootserver mode