
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

- Jump To

- v1
- v2
- v3
- v4

### 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://172.20.127.108/webacs/api/v1/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://172.20.127.108/webacs/api/v1/op/devices/syncDevices.json

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

### 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://172.20.127.108/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://172.20.127.108/webacs/api/v2/op/devices/syncDevices.json

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

### 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/v3/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://172.20.127.108/webacs/api/v3/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://172.20.127.108/webacs/api/v3/op/devices/syncDevices.json

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

### 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/v4/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://172.20.127.108/webacs/api/v4/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://172.20.127.108/webacs/api/v4/op/devices/syncDevices.json

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