Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get IO Network actions

Get a list of actions that can be invoked on a ios-network type resources.

URL

/rw/iosystem/networks/{network}

Method

GET

URL Params

action=show Required

Returns action Forms for this resource

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>io</title>
<base href="http://localhost/"/>
</head>
<body>
<div class="state">
<a href="rw/iosystem/networks/%7bnetwork%7d?action=show" rel="self"></a>
<form id="set" method='post' action="rw/iosystem/networks/%7bnetwork%7d?action=set">
<select name="lstate">
<option value="stop"></option>
<option value="start"></option>
</select>
</form>
<form id="config" method='post' action="rw/iosystem/networks/%7bnetwork%7d?action=config">
<input type="text" name="config-type" value="0" />
</form>
<form id="subscribe" method='post' action="subscription">
<fieldset class="sub-networkstate">
<input type="checkbox" name="resources" value="1"/>
<input class="res" type="text" name="1" value="/rw/iosystem/networks/%7bnetwork%7d;state" maxlength="500"/>
<select class="priority" name="1-p">
<option value="0" selected="selected"></option>
<option value="1"></option>
</select>
</fieldset>
</form>
</div>
</body>
</html>

Actions

  • set Set network state
    • lstate Logical state of the network {start | stop}
  • config Set configuration type
    • config-type Network configuration type {BITS,GROUPS,BOTH,SCAN,UNITS}
  • subscribe Subscribe network state changes
  • resources resource name
  • priority priority associated with the resource

Error Response

BAD REQUEST(400)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/iosystem/networks/Local?action=show"

Notes

Not supported in bootserver mode