Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get RAPID service routine

Returns the rapid task service routines

URL

/rw/rapid/tasks/{task}/serviceroutine

Method

GET

URL Params

  • start={PageNumber} Optional
  • limit={no. of elements} Optional
  • allread={TRUE|FALSE} Optional 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">
  <head>
    <title>rapid</title>
    <base href="http://localhost:7777/rw/rapid/"/>
  </head>
  <body>
    <div class="state">
      <a href="tasks/T_ROB1/serviceroutine?limit=32" rel="self"/>
      <ul>
        <li class="rap-task-routine" title="routine1">
          <span class="routine_name">SkipTaskExec</span>
          <span class="url-to-routine">RAPID/T_ROB1/BASEFUN/SkipTaskExec</span>
          <span class="service-routine">TRUE</span>
        </li>
        <li class="rap-task-routine" title="routine2">
          <span class="routine_name">LoadIdentify</span>
          <span class="url-to-routine">RAPID/T_ROB1/BASEFUN/LoadIdentify</span>
          <span class="service-routine">TRUE</span>
        </li>
        <li class="rap-task-routine" title="routine3">
          <span class="routine_name">ManLoadIdentify</span>
          <span class="url-to-routine">RAPID/T_ROB1/BASEFUN/ManLoadIdentify</span>
          <span class="service-routine">TRUE</span>
        </li>
        <li class="rap-task-routine" title="routine4">
          <span class="routine_name">WristOptimization</span>
          <span class="url-to-routine">RAPID/T_ROB1/CAL_WRIST/WristOptimization</span>
          <span class="service-routine">TRUE</span>
        </li>               
      </ul>
    </div>
  </body>
</html>

Resources

  • rap-task-routine Rapid task serviceroutine
    • Routine_name: Name of the Routine
    • URL_to_Routine: URL to Routine
    • service-routine: TRUE: service routine, FALSE: normal routine

Error Response

BAD_REQUEST(400), NOT_FOUND(404) HTTP Errors, see HTTP Status codes

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics" http://localhost/rw/rapid/tasks/T_ROB1/serviceroutine

Notes

Not supported in bootserver mode