- added timeseries to api

- changed currentMeasurement call