Hello,
I attempted to create a new Analytics Event in Milestone XProtect VMS using the following POST request in JSON format:
POST /analyticsEvents
{
“name”: “MyAnalyticsEvent”,
“description”: “AnalyticsEvent may have a long description”,
“relations”: {
“self”: {
**"type": "analyticsEvents",**
**"id": "a03af6dd-262b-431c-864a-e92e567248e2"**
}
}
}
However, when I send this request, I receive a “400 Bad Request” error. I’m unable to understand the reason for this error and unable to successfully create or update the Analytics Event.
Could you please assist me? Could you review if I structured the request correctly or suggest another method for creating and updating an Analytics Event?
Thank you


