Hi everyone, I am implementing a new client using REST to trigger event with our software. We previously used the SOAP API.
I had no problem until this monday.
My old SOAP version works just fine.
My new REST client, can create analytic events. I can get_analytics events. I then try to trigger one analytic event. The request works fine, I get a 202, a well formed response with an event ID. But my just triggered event is not displayed anywhere in the smart client.
I have the exact same problem with my POSTMAN project, unmodified for a month now.
And the weirdest thing is when I then try a GET events/<returned_event_id>, I get a 404 ….
I’m pretty sure the problem is in my milestone configuration but I can’t get whats wrong, given that I have absolutely no pb with the SOAP client.
When you describe it my first suspicion is if you are missing a fitting Alarm Definition. Using SOAP you can send an Analytics Event or an Alarm. Using Rest you can only send the event. This means you must have an Alarm Definition that is triggered on the event and turns the event into an alarm that can be seen in the Alarm Manager in the Smart Client.
Alternatively if you go into setup mode in the Smart Client you can configure the Alarm List to list events instead of alarms, but I have a feeling that this is not what you want, you want alarms is my guess.
Let me give you some pictures trying to show the elements I used in my testing:
can you share the (anonymized) URLs and payloads (like SOAP envelopes) that works for you? That could give us a hint on how to utilize the corresponding REST APIs!
We change the configuration at one point because we were receiving way too many events because of all the tests machines and we wanted to clear the events log…
By the way, from what I read there is no way to just ack the received events so that they are not displayed anymore?