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.
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.