Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Set SyncPers

Update the initial values of persistent data in the module with their current values.

URL

/rw/rapid/modules/{module}

Method

POST

URL Params

action=set-syncpers Required

task={task_name} Required

Data Params

None

Success Response

HTTP_OK, 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?action=set-syncpers&task=T_ROB1" rel="self"/>
<ul>
<li class="rap-module-syncpers" title="syncpers">
<span class="change-count">703491</span>
</li>
</ul>
</div>
</body>
</html>

Error Response

BAD_REQUEST(400)

FORBIDDEN(403), see HTTP Status codes

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -X POST "http://localhost/rw/rapid/modules/MainModule?action=set-syncpers&task=T_ROB1"

Note

Not supported in bootserver mode. Mastership is taken internally on behalf of the client, if not already taken