Bulk update of events

In addition to updating events individually with reference to the specific event ID, you can also update events in bulk. This is done not by addressing a specific event, but by addressing the event list with a query (see Event Web Service query language), and specifying the update in the payload of a PUT request.

For example:

URL: https://server.example.com/opr-web/rest/9.10/event-list&query=title%20LIKE%20'%25db down%25'

HTTP Method: PUT

Payload:
<event xmlns="http://www.hp.com/2009/software/opr/data_model">
<severity>major</severity>
</event>

The above request sets all events with db down in the title to severity major.

HTTP Method: PUT

Payload:
<event xmlns="http://www.hp.com/2009/software/opr/data_model">
<state>closed</state>
</event>

The above request closes all events with db down in the title.