|
Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
|
/rw/motionsystem/mechunits/{mechunit}
POST
At least one data parameter should be provided.
NO_CONTENT (204): If all APIs are successful
HTTP_OK(200), see HTTP Status codes
<?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<title>motionsystem</title>
<base href= "http://localhost/rw/motionsystem/mechunits/" />
</head>
<body>
<div class="state">
<a href= "ROB_1" rel="self"/>
<ul>
<li class="ms-mechunit" title="ROB_1">
<a href= "http://localhost/rw/retcode?code=-1073445859" rel="error" class="tool-name"/>
<a href= "http://localhost/rw/retcode?code=-1073445859" rel="error" class="wobj-name"/>
<a href= "http://localhost/rw/retcode?code=-1073445859" rel="error" class="payload-name"/>
</li>
</ul>
</div>
</body>
</html>
BAD_REQUEST(400)
Robot controller errors, see Robot controller return codes
curl --digest -u "Default User":robotics -d "tool=tool1&wobj=wobj2&payload=load2" -X POST "http://localhost/rw/motionsystem/mechunits/ROB_1?action=set&continue-on-err=1"
Retcode is provided if API fails
Mastership is required