This API endpoint lets you create reports from the M&C system event database. The M&C systems managed by the backend share a common event database which store all faults, warnings and informational messages occurring in the particular M&C systems.
A report from the event database is created by sending an EventReportRequest document with a POST call to this API endpoint. The EventReportRequest defines the time span to read and some filter settings which allow to read a set of messages with a specific content.
The API call responds with a EventReport document containing the requested event report.
Supported HTTP methods: POST, HEAD, OPTIONS
POST /api/v1/eventreport
Expects an EventReportRequest document containing the time span to read and the report filter settings.
Parameters: none
Expected Payload: The EventReportRequest document containing the time span to read and the report filter settings.
Replied Payload: The EventReport document containing the requested report.
Return Codes:
| Code | Description |
|---|---|
| 200 | OK, the request has been processed, the report generated is replied. |
| 500 | The event database does not reply (internal error). In this case an ApiError document is returned, describing details of the error. |
| 401 | not logged in. In this case an ApiError document is returned, describing details of the error. |