Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get timezone actions

Returns the form to be used for setting the timezone. Available only for RC.

URL

/ctrl/clock/timezone?action=show

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" xml:lang="en">
<head>
<title>controller</title>
<base href="http://localhost/ctrl/clock/timezone/" />
</head>
<body>
<div class="state">
<form id="set-timezone" method='post' action="/ctrl/clock/timezone?action=set-timezone">
<input type="text" name="timezone"/>
</form>
</div>
</body>
</html>

Actions

  • set-timezone Set timezone, string as defined by the tz database

Error Response

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/ctrl/clock/timezone?action=show"

Notes

Available only for RC

Not supported in bootserver mode