Inventory Import API
The Inventory Import API allows to import inventory during fresh install, and after deployment initialization. This is for Packaged CCE 4000 Agents and 12000 Agents deployment.
Operations
-
create: Creates a new data center and peripheral set, and stores it in the database.
-
Main Data Center: https://<server>:<serverport>/unifiedconfig/config/inventory/datacenter
-
Remote Data Center: https://<server>:<serverport>/unifiedconfig/config/inventory/datacenter
-
Peripheral Set: https://<server>:<serverport>/unifiedconfig/config/inventory/datacenter/
<Main/datacenter_name>/peripheralset
NoteTo search for peripheral sets that belong to a specific type of PG in a Main or remote date center, use the below URL https://<server>:<serverport>/unifiedconfig/config/inventory/datacenter/
<Main/datacenter_name>/peripheralset?q=pgType:<UCM/VRU/MR>
-
-
get: Returns the list of data centers and peripheral sets using the URL:
-
Data Center: https://<IP>/unifiedconfig/config/inventory/datacenter. The data centers contain the peripheral sets.
-
Peripheral Set: https://<IP>/unifiedconfig/config/inventory/peripheralset
-
-
delete: Deletes data center or machine or peripheral set from the database.
-
Remote Data Center: https://<server>:<serverport>/unifiedconfig/config/inventory/datacenter/
<datacenterid>?async=<true/false>
-
Machine: https://<server>:<serverport>/unifiedconfig/config/inventory/
datacenter/<dc_name>/machine/id where id = machineHostID
-
Peripheral Set: https://<IP>/unifiedconfig/config/inventory/peripheralset/id where id = peripheralSetID
-
CSV File Structure
For more information, see the latest PCCE Administration and Configuration Guide available at https://www.cisco.com/c/en/us/support/customer-collaboration/packaged-contact-center-enterprise/products-maintenance-guides-list.html.
Parameters
-
name: The name of the data center.
NoteDo not use system reserved terms like the core and main.
-
inventoryFile: This is the CSV file that contains records of machines used in a deployment.
-
content: The content of the CSV file.
Note |
|
Advanced Search Parameters
-
pgType: Returns all the peripheral sets that belong to the specified pgType: UCM, VRU or MR. You can specify only one pgType at a time.
Example XML Request
Machine