Retrieve LPR Data via Websocket or REST API

Hi everyone,

I’m working on a project that requires real-time access to license plate data as it’s being detected. Does anyone know of a way to retrieve this information via WebSocket or REST API? Any guidance or recommendations would be greatly appreciated.

Thanks

The Rest API for events are about historical data but the Events and State WebSocket API should fit. Edit; see below..

There are two samples about Events and State WebSocket API, linking to documentation and samples..

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_event_and_state_subscription.html&tree=tree_search.html?search=websocket

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

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/eventsandstatewebsocketapipython/readme.html&tree=tree_search.html?search=websocket

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/eventandstateviewer/readme.html&tree=tree_2.html

Thanks for the response.

Regarding the event types, I’ve seen in the documentation that we have to set a list containing only this element) or a list of GUIDs that represents event type(s). E.g. a GUID representing ArchiveFailure, or a GUID representing DiskFull.

Is there a list of the event types? Or is there a way to get the GUIDs of the event types?

There was a wrong information in my first reply.

Events REST API is not only for historical data. Actually we can emulate the current SOAP based sessions that user can use to get raised events.

https://doc.developer.milestonesys.com/mipvmsapi/api/events-rest/v1/#tag/EventSessions/operation/EventSessions_Post

No matter if you use REST or WebSocket..

I think the proper place to retrieve event types is REST Config API (/api/rest/v1/eventTypes)

https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/#tag/Events/operation/getAlleventTypesInAeventTypeGroups