Skip to Content
1
Dec 01, 2020 at 01:59 PM

Thing last update timestamp

75 Views

I have a small question. I am trying to get a timestamp for the last time Timeseries Data have been sent for all my things. And am trying for figure out the best way to do it.

I know I can read the snapshot data and extract it from there, but I would then have to read a snapshot for all my thing and I don’t really thing this is the most efficient way.

I notice in the documentation (see link) that I can pass a header ‘sap-iot-issync’ and it should (as far as I can understand) return the latest data creation timestamp for a thing (which is exactly what I need) in the documentation it all looks wonderful but when I call the service the field is always null.

https://help.sap.com/viewer/fffd6ca18e374c2e80688dab5c31527f/2011b/en-US/a8911e8f148b4185a7b22ea2d4b551ff.html

So my question is am I do it wrong? Is I broken? Or did I misunderstand the purpose of this field? Or is there a better way?

Attachments

timestamp.png (10.6 kB)