how to get the latest measurement from measurementApi.getMeasurementsByFilter(measurementFilter)
Hi,
could you provide a bit more infos. Are you using the JavaSDK here?
In general, when using the API, the trick is to do revert=true and pageSize=1. This will give you the last measurement.
Here is an example how to do it with the Java SDK (replace 2000 in the get() call with 1 to get only the lastest):
3 Likes
Yes, I am writing a function for microservice in which I have to return the latest measurement for the defined measurementFilter
system
Closed
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.