I'm attempting to automate the discovery of devices into Cisco CSPC, Common Service Platform Collector. I've written scripts which take the inventory from our management platform (Prime) and from the CSPC Portal on service.cisco.com and creates a Missing In Action list which need to be added to the on premises CSPC.
I then use the above report to drive another script which adds the required SNMP configuration on to the missing devices.
Finally, having updated the end devices, I want to programmatically add them to the CSPC Discovery.
I have created a simple PERL REST::Client script which seems to authenticate properly with the on premises CSCP. Unfortunately, when I attempt to send the XML I captured earlier, directly off the on premises CSPC, the script throws an error.
Below is the example XML I obtained from the on premises CSPC