On a customer system we are triggering an analytics event and getting a 404 error which isn’t documented. Wondering what we have wrong.
Prior to trying to trigger the event we have logged in correctly and found some cameras and also retrieved a list of alarms from the configuration API. We are using the UUID for one of those alarms in the “type” key for the API. The source is one of the cameras we retrieved earlier.
We are POSTing to http://(server address)/api/rest/v1/events
Payload is:
{
“type”: “594ae7a8-7339-46ce-8b9d-86eea7025877”,
“source”: “e3310f9d-0032-4f95-8f76-a3dfb2579038”,
“time”: “2024-05-20T19:15:01Z”,
“datatype”: “analytics”,
“data”: {
“description”: “some descriptive text”,
“startTime”: “2024-05-20T19:15:01Z”,
“endTime”: “2024-05-20T19:15:01Z”,
“location”: “Default Location”,
“vendor”: { “name”: “Company” }
}
}
Thanks for any advice.