Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

PUT devices/bulkImport

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

PUT

An operation to add or update multiple devices using a batch job

Credential Profiles Support

  • There is limitation on attaching imported device to the credential profile. If credentialProfileName parameter is given and is not empty, this device must not contain any other credential parameters. Parameters allowed to be used with credentialProfileName are: ipAddress, networkMask, and udfs. If any credential parameter is set along with credentialProfileName, the entire import operation will fail; none of the devices in the import request will be added or updated.

User Defined Field Support

  • CPI 2.0+ supports importing and exporting devices with User Defined Field (UDF).
  • The maximum length of a UDF value is 255 characters. for CPI 2.0+, presently devices which have UDF values greater than 255 characters will be ignored
  • Each bulk Import service request overwrites existing UDF records. To update the UDF of a device, follow the steps:
    • Retrieve the full list UDFs of the device using devices/exportDevices service
    • Find the UDF entry to be updated in the list
    • Assign the new value of the entry
    • Use devices/bulkImport service to save the change

Since Product Version: 2.2