Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Mod Possible All

Returns a list of targets that are currently synchronized and can be modified

URL

/rw/rapid/modules

Method

GET

URL Params

resource=mod-possible-all Required

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">
<head><title>rapid</title>
<base href="http://127.0.0.1/rw/rapid/"/>
</head>
<body>
<div class="state">
<a href="modules?resource=mod-possible-all" rel="self"></a>
<ul>
    <li class="rap-mod-possible-all" title="mod-possible-all">
        <span class="module-name">MainModule</span>
        <span class="task-name">T_ROB1</span>
        <span class="start-row">17</span>
        <span class="start-col">15</span>
        <span class="end-row">17</span>
        <span class="end-col">17</span>
    </li>
    <li class="rap-mod-possible-all" title="mod-possible-all">
        <span class="module-name">MainModule</span>
        <span class="task-name">T_ROB2</span>
        <span class="start-row">18</span>
        <span class="start-col">15</span>
        <span class="end-row">18</span>
        <span class="end-col">17</span>
    </li>
    </ul>
</div>
</body></html>

Resources

  • module-name Rapid module name
  • task-name Task name
  • start-row Start Row
  • start-col Start Col
  • end-row End Row
  • end-col End Col

Error Response

BAD_REQUEST(400), see HTTP Status codes

Sample Call

curl --digest -u "Default User":robotics "http://127.0.0.1/rw/rapid/modules?resource=mod-possible-all"

Notes

Not supported in bootserver mode