Add CMDB Device(s)
This API provides the ability to add one or more devices to CMDB. This is an asynchronous request that should be used as follows:
Submit the device add request. A task id will be returned
Get the device addition status by querying with this task id (See Get Device Add Request Status API)
|Request Body||You need to create an XML for the device attributes and pass it in the HTTP request. A sample XML file is File5_AddDeviceExample.xml and the schema file XSD is File6_device.xsd. For an explanation the attribute definitions, see Appendix - Description of Device Attributes.|
When the request succeeds (HTTP response code 200), a taskId will be returned. You can query Device add status using this task Id in a separate API (see Get Device Add Request Status).
<response> <status>Discovery xml is queued</status> <sourceIdentifier>RESTAPI_<TaskId></sourceIdentifier> </response>