Events Aggregate: OData Service

Overview

The events aggregate OData service is used to retrieve aggregate of events grouped by the event type for the specified time interval.

Time Bucket

The time bucket is the time interval that is calculated as follows:

Time Bucket = (toTime - fromTime) / number of divisions

OData Version: 2.0

Root URI: http://<server address>[:<port number>]/EventsAggregate/v1/Events?timeRange=<from time>-<to time>&divisions=<divisions>

Example for a Root URI in a cloud foundry environment: https://events-aggregate-sap.cfapps.eu10.hana.ondemand.com/EventsAggregate/v1/Events?timeRange=<from time>-<to time>&divisions=<divisions>

Support of OData Features

The current implementation supports only $filter query option, which can be passed as query or path parameter.

Service Metadata URI: http://<server address>[:<port number>]/EventsAggregate/v1/$metadata

Operations

CRUD Operations

HTTP Method Operation URI Scope
GET Read Metadata of Events Aggregate /EventsAggregate/v1/$metadata <tde>.r
GET Read Aggregate of Events /EventsAggregate/v1/Events?timeRange=<fromTime>-<toTime>&divisions=<division> <tde>.r