Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get CFG type

Returns links to the domain type attributes and instances.

URL

/rw/cfg/{domain}/{type}

Method

GET

URL Params

None

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>cfg</title>
    <base href="http://localhost/rw/cfg/"/>
</head>
<body>
    <div class="state">
    <a href="eio/INDUSTRIAL_NETWORK" rel="self"/>
    <ul>
        <li class="cfg-dt-attributes-li" title="attributes">
            <a href="eio/INDUSTRIAL_NETWORK/attributes" rel="self"/>
            <span class="cfg-no-of-attributes">11</span>
        </li>
        <li class="cfg-dt-instances-li" title="instances">
            <a href="eio/INDUSTRIAL_NETWORK/instances" rel="self"/>
            <span class="cfg-no-of-instances">3</span>
        </li>
    </ul>
    </div>
</body>
</html>

Error Response

NOT_FOUND(404)

Resources

  • cfg-dt-attributes-li Specifies a link to the 'cfg-domain-type-attributes` resource.
    • cfg-no-of-attributes Number of attributes for instance.
  • cfg-dt-instances-li Specifies a link to the detailed cfg-domain-type-instances resource.
    • cfg-no-of-instances Total number of instances in domain type.

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/cfg/eio/INDUSTRIAL_NETWORK"

Notes

Not supported in bootserver mode