User-defined Events (/v2 version)

In this section, you will learn about events based on the event type configured using the /v2 version of the event configuration service - Event Type with Multiple Event Property Sets.

Resource Path: /ES/EventType/<event type name>/v2/Events

Example for a base URI in a cloud foundry environment:https://events-sap.cfapps.eu10.hana.ondemand.com/ES/EventType/<event type name>/v2/Events

Operations

CRUD Operations

HTTP Method Operation URI
GET Read Metadata for Event of an Event Type /ES/EventType/<event type name>/v2/$metadata
POST Create and Update Events /ES/EventType/<event type name>/v2/Events
GET Read Events and Event Data /ES/EventType/<event type name>/v2/Events
GET Delete an Event /ES/EventType/<event type name>/v2/Events('<event ID>')
GET Read Metadata for Event /ES/v2/$metadata
GET Read Events /ES/v2/Events
GET Read Event Correlations /ES/v2/EventCorrelations
GET Read Events with a Correlation ID /ES/v2/EventCorrelations('correlation ID')/Events
DELETE Delete an Event Using Correlation ID /ES/v2/EventCorrelations('<correlation ID>')
DELETE Delete Events /ES/v2/DeleteEvents?FromTime=datetimeoffset'<timestamp'&ToTime=datetimeoffset'<timestamp>'&EventType='<event type name>'&ThingId='<unique thing ID>'