Bulk insert of events

In addition to inserting individual events, a list of events may be inserted in a single Web Service call. This is done by executing a POST request with the following properties:

  • An event_list rather than just a single event, for example:

    <event_list xmlns="http://www.hp.com/2009/software/opr/data_model">
       <event>
          <title>Major Event</title>
          <severity>major</severity>
       </event>
       <event>
          <title>Minor Event</title>
          <severity>minor</severity>
       </event>
    </event_list>
  • A Content-Type of "application/xml; type=collection" or "text/xml; type=collection".

    When using the RestWsUtil utility, you can use the -content_type option to specify the content type.