Cisco Prime Infrastructure API
Prime Infrastructure 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

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/devices/syncDevices

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://localhost/webacs/api/v1/op/devices/syncDevices

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

Sample JSON Request Payload

https://localhost/webacs/api/v1/op/devices/syncDevices.json

{
  "syncDevicesDTO" : {
    "devices" : {
      "device" : {
        "address" : "192.168.115.243"
      }
    }
  }
}