Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

POST devices/syncDevices

Synchronize devices. Forces an inventory collection of the specified devices. The API accepts the hostname, the IP address, or the management address of the device.

Since Product Version: 3.2

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

POST

Resource URL

/webacs/api/v2/op/devices/syncDevices

Unmodified

This resource has not been modified since the previous API version.

Request Payload Parameters

Attribute Description

devices InetAddress[]

Required

List of devices addresses to synchronize. Either the hostname, the IP address, or the management address can be passed in. The management address is the address used to add the device to the managed inventory, either an IP address or hostname.

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://10.56.58.149/webacs/api/v2/op/devices/syncDevices

<?xml version="1.0" ?>
<syncDevicesDTO>
  <devices>
    <device>
      <address>192.168.115.243</address>
    </device>
    <device>
      <address>192.168.115.244</address>
    </device>
  </devices>
</syncDevicesDTO>

Sample JSON Request Payload

https://10.56.58.149/webacs/api/v2/op/devices/syncDevices.json

{
  "syncDevicesDTO" : {
    "devices" : {
      "device" : [ {
        "address" : "192.168.115.243"
      }, {
        "address" : "192.168.115.244"
      } ]
    }
  }
}