Add a device.
Since Product Version: 3.1
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
DevNet Discussions
API version v1 is deprecated
This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.
Resource URL
/webacs/api/v1/op/virtual/addDevice
Request Payload Parameters
ip
String
|
|
password
String
|
|
port
Integer
|
|
protocol
String
|
|
username
String
|
|
Response Parameters
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"
}
}
}
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
DevNet Discussions
Resource URL
/webacs/api/v2/op/virtual/addDevice
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
ip
String
|
|
password
String
|
|
port
Integer
|
|
protocol
String
|
|
username
String
|
|
Response Parameters
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/v2/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/v2/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/v2/op/virtual/addDevice
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/virtual/addDevice" rootUrl="https://localhost/webacs/api/v2/op">
<response>
<message>String value</message>
</response>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v2/op/virtual/addDevice.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v2/op/virtual/addDevice",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/webacs/api/v2/op",
"response" : [ {
"message" : "String value"
} ]
}
}
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
DevNet Discussions
Resource URL
/webacs/api/v3/op/virtual/addDevice
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
ip
String
|
|
password
String
|
|
port
Integer
|
|
protocol
String
|
|
username
String
|
|
Response Parameters
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/v3/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/v3/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/v3/op/virtual/addDevice
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v3/op/virtual/addDevice" rootUrl="https://localhost/webacs/api/v3/op">
<response>
<message>String value</message>
</response>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v3/op/virtual/addDevice.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v3/op/virtual/addDevice",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/webacs/api/v3/op",
"response" : [ {
"message" : "String value"
} ]
}
}
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
DevNet Discussions
Resource URL
/webacs/api/v4/op/virtual/addDevice
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
ip
String
|
|
password
String
|
|
port
Integer
|
|
protocol
String
|
|
username
String
|
|
Response Parameters
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/v4/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/v4/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/v4/op/virtual/addDevice
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/virtual/addDevice" rootUrl="https://localhost/webacs/api/v4/op">
<response>
<message>String value</message>
</response>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v4/op/virtual/addDevice.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v4/op/virtual/addDevice",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/webacs/api/v4/op",
"response" : [ {
"message" : "String value"
} ]
}
}