How to receive events occurred when the system was down

Hi,

As I’ve mentioned in other posts, we are implementing a third-party client that, among other things, receives events from Milestone and displays them in our client. To do this, we are following the method explained in this link:

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_mip_messaging.html&tree=tree_4.html

I have a question regarding how to receive events that occurred when my client was not connected to the Milestone servers. For example, if the “CPU usage critical” event is triggered while my client is not connected to Milestone, I would like to receive it as soon as my client is running and connected to Milestone again.

I see that something related to this is mentioned in the link I shared, but it’s still not clear to me how it works and whether I need to implement something specific. I’m open to any implementation suggestions, because it’s also possible that with the new methods of receiving events, this scenario could be handled better https://doc.developer.milestonesys.com/mipvmsapi/api-overview/integrations/events/.

The Events and State WebSocket API supports resuming a session that was interrupted.

I hope it is clear if you read deeper.

https://doc.developer.milestonesys.com/mipvmsapi/api/events-ws/v1/#section/Introduction/Events-and-State-WebSocket-API

Note that this a more modern API that the MIP Message Communication, using MIP Message Communication there is no session that can be resumed.