Add a device.
Since Product Version: 3.1
Resource URL
/webacs/api/v1/op/virtual/addDeviceRequest Payload Parameters
Type | Attribute Name | Description |
---|---|---|
String |
ip |
The IP address. |
String |
password |
The password. |
Integer |
port |
The port number. |
String |
protocol |
The device protocol. |
String |
username |
The username. |
Response Parameters
Type | Attribute Name | Description |
---|---|---|
String |
message |
|
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://172.25.123.114/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://172.25.123.114/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://172.25.123.114/webacs/api/v1/op/virtual/addDevice
<?xml version="1.0" ?> <mgmtResponse responseType="operation" requestUrl="../../../../pages/common/login.jsp.html" rootUrl="https://172.25.123.114/webacs/api/v1/op/"> <response> <message>String value</message> </response> </mgmtResponse>
Sample JSON Response Payload
https://172.25.123.114/webacs/api/v1/op/virtual/addDevice.json
{ "mgmtResponse" : { "@responseType" : "operation", "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/virtual\/addDevice", "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/", "response" : { "message" : "String value" } } }