AnsweredAssumed Answered

PI Web API - url examples

Question asked by Arco on Oct 19, 2016
Latest reply on Oct 19, 2016 by tmcmanus

Hi all,


I am currently in the process of rewriting an old piece of code which uses the PI SDK and replacing it with PI WebAPI calls.

What I am missing is some examples of url's. The help section of the PI WebAPI lists possibilities but has not that many examples.


For example I want to retrieve a recorded value at a certain timestamp. If the recorded value is not available I want the previous value returned.

With the PI SDK this is done with the ArcValue and then you can define things like Before or AtOrBefore.

I get the idea this is possible with the WebAPI too, but how? There is a retrieval-mode defined in the helpfile of the WebAPI.


Any help is appreciated.