Add a device.
Since Product Version: 3.1
Resource Information
Rate Limiting? |
Yes |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Write |
HTTP Methods |
POST |
DevNet Discussions
Resource URL
/webacs/api/v1/op/virtual/addDeviceRequest Payload Parameters
Attribute | Description |
---|---|
ip String |
|
password String |
|
port Integer |
|
protocol String |
|
username String |
Response Parameters
Attribute | Description |
---|---|
message String |
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Request Payload
https://localhost/webacs/api/v1/op/virtual/addDevice
<?xml version="1.0" ?>
<virtualDevice>
<ip>String value</ip>
<password>String value</password>
<port>15</port>
<protocol>String value</protocol>
<username>String value</username>
</virtualDevice>
Sample JSON Request Payload
https://localhost/webacs/api/v1/op/virtual/addDevice.json
{
"virtualDevice" : {
"ip" : "String value",
"password" : "String value",
"port" : 15,
"protocol" : "String value",
"username" : "String value"
}
}
Sample XML Response Payload
https://localhost/webacs/api/v1/op/virtual/addDevice
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v1/op/virtual/addDevice" rootUrl="https://localhost/webacs/api/v1/op">
<response>
<message>String value</message>
</response>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v1/op/virtual/addDevice.json
{
"mgmtResponse" : {
"@responseType" : "operation",
"@requestUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op\/virtual\/addDevice",
"@rootUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op",
"response" : {
"message" : "String value"
}
}
}