Hi,
I am using the Events REST API and have been able to use it to retrieve analytics and user defined events, as well as list all events. But when I try to create an event, I get a 400 error.
The data structure I am using is like this:
{
“type”: “8edff7b3-0f7d-4010-ad90-450ef8ff8bee”,
“source”: “cameras/e135a4c5-0b9d-473d-ac1c-517141d39f0b”,
“time”: “2023-09-29T10:05:23Z”,
“datatype”: “analytics”,
“data”: {}
}
The camera GUID is valid (I’ve used it successfully as the ID in the SOAP equivalent). For “type” I’m using the GUID for the analytics event I searched for.
Any help would be appreciated.
Thanks

