Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Validate CFG Instances

Validate CFG Instances for add/delete

URL

/rw/cfg

Method

POST

URL Params

action=validate-instances Required

Data Params

operation={0 | 1} Optional 0 represents add and 1 represents delete. Default value is 0.

cfgdomain={configuration domain} Required

cfgtype={configuration type} Required

instances={instance names} Required

instancescount={instances count} Required

Success Response

NO_CONTENT(204), see HTTP Status codes

Example Response

No content

Error Response

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

Sample Call

curl --digest -u "Default User":robotics -d "operation=1&cfgdomain=I/O&cfgtype=DeviceNetDevice&instances=TestingValid1&instancescount=1" -X POST "http://localhost/rw/cfg?action=validate-instances"

Notes

Not supported in bootserver mode