Event Notifications¶
Notification for event create or update¶
- When events are created or updated in system, user will receive notification.
- The user can expect maximum of 1000 events information in one notification message.
- The notification message will contain information like id of the event, assetId and timestamp. The tenant and topicId will be provided as part of header for the message.
Sample message notification when events are created or updated:
{
"header": {
"topic": "mdsp.core.eventmanagement.v1.pubsub.eventnotification",
"tenantContext": [
"siemens"
]
},
"events": [
{
"id": "baeb542e-0730-46a9-88c9-d0982631645c",
"assetId": "01096640c2164e84aa0442114147ea6e",
"timestamp": "2021-07-12T03:55:00.000Z"
},
{
"id": "uaeo542e-0730-46a9-88c9-o0982631645c",
"assetId": "01096640c2164e84aa0442114147ea6e",
"timestamp": "2021-07-12T04:55:00.000Z"
}
]
}