Integrating with the CAP

You can use the Common Alerting Protocol (CAP) to exchange data between IBM® Intelligent Operations Center and external systems.

When a solution administrator creates a data source, the solution administrator can select CAP as the format for acquiring data, and can specify that CAP messages that are received through the data source are displayed either on the geospatial map, or on the location map. The elements that are defined in the CAP specification are mapped to data source properties. Some data source options are preselected, and some data source properties are mapped to CAP elements automatically. You cannot change these automatic settings. For more information about the CAP specification, see the OASIS Common Alerting Protocol Version 1.2.

A solution administrator can import CAP messages into a data source by using the data import REST service at the following URI:
/ibm/ioc/api/dataimport-service/datasources/dataSourceId/capitems
In the URI, the value of dataSourceId is the value of the dataSourceId property in your CAP data source.
When you use the data import REST service to import CAP messages, you must add the following header to each REST call:
Content-Type: Application/xml