Get LPR events through REST API

Is there a way of getting the list of recognised registration plates through the new rest api. Basically the log thats under the LPR tab in xprotect.

Unfortunately, no. For now RestAPI is only configuration and there are no ways to get a list events triggered. In future versions Milestone will extend the RestAPI functionality.

For now the best sample of getting the events is the Alarms and Events Viewer sample.

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

Thanks for the response!

In the end I found the PowerShell module “MilestonePSTools.Lpr” did exactly what I needed!

If anyone else needs to use it these are the commands:

Install-Module MilestonePSTools -SkipPublisherCheck -Force

Install-Module -Name MilestonePSTools.Lpr

Connect-ManagementServer -AcceptEula

$FromDate = (Get-Date).Date

Get-LprEventLine -StartTime $FromDate

Thanks Chris