How to get last event ?

beryindo6 years ago

I use for check event with

/api/reports/events?deviceId=2&from=startdate&to=enddate

I take last id from that then

/api/events/39

How to get last event without /api/reports/events ?

Anton Tananaev6 years ago

There is no API for that.

Peter Flower6 years ago

Greeting beryindo:
Although you already said the process to get the last event.
Could you share the lines of code to get that?

Do you have email?

Best Regards