You can register an event on one / multiple nodes depending on the event.
The API to use is
POST https://api.aimsinnovation.com/api/environments/{environmentId}/events
[ { "eventType": "aims.int-sys.server-error", "level": "error", "message": "This is a test", "nodes": [ { "nodeType": "aims.int-sys.server", "parts": { "part1": "part1value" } } ], "startTime": "2020-01-09T14:34:00Z", "endTime": null, "data": {} } ]
The "nodes" section is the place where you can reference one to multiple nodes that are affected by the event.
"endTime" can be null if the event does not have a duration.
"data" can be empty, but can also contain any custom JSON object