Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Motion Pointer Sync State

URL

/rw/rapid/tasks/{task_name}

Method

GET

URL Params

resource=task-sync-state Required

type=motion-pointer Required

Data Params

None

Success Response

HTTP_OK, see HTTP Status codes

Example Response

    <?xml version="1.0" encoding="UTF-8"?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>rapid</title>
    <base href="http://127.0.0.1:9898/rw/rapid/"/>
    </head>
    <body>
    <div class="state">
     <a href="tasks" rel="self"/>
    <ul>
    <li class="rap-sync-state" title="sync-state">
    <span class="Motion-Pointer-State">Off</span>
    </li>
    </ul>
    </div>
    </body>
    </html>

Error Response

BAD_REQUEST(400) see HTTP Status codes

Sample Call

curl --digest -u "Default User":robotics" http://localhost/rw/rapid/tasks/T_ROB1?resource=task-sync-state&type=motion-pointer

Notes

Not supported in bootserver mode