Create an Event via OMi API

If an error occurs in an Operations Orchestration flow I would like to create an OMi event within the flow via the OMi API (in exactly the same way as SiteScope can send an event on error).


I can't work out how to create this event. This is from the Operations Manager i Extensibility Guide:


How to Create New Events: You can create new events using the RestWsUtil command-line utility


But can this be done simply via the REST client without RestWsUtil? And is this the creation of a new event or a new event type?