Request to provide API or Command details to add the devices into CA-PC

Document ID : KB000103776
Last Modified Date : 02/07/2018
Show Technical Document Details
We are planning to automate the addition of devices into CAPC by hostname, is there any command or APIs available to add the devices into CAPC in the backend instead of using the GUI - > Discovery profile ? 
After installing CAPM, you will want to add devices to the database to be monitored.
Typically this is done in the Performance Center management gui. 
CAPM 3.x
You can do this using REST.

Here is an example of the rest call you would make:
I included one sample hostname, please substitute relevant hostnames for your environment.
Method: POST
URL: http://YOUR_DA:8581/rest/tenant/1/discoveryprofiles/
<DiscoveryProfile version="1.0.0">
                <IPDomainMember version="1.0.0">
                <Item version="1.0.0">
Additional Information:
Here is a link to the docs that discusses REST: