AnsweredAssumed Answered

How To Retrieve Min, Max, Avg using PI Web API?

Question asked by James Devine on Aug 14, 2015
Latest reply on Aug 14, 2015 by James Devine

Hello:

 

My research is hitting dead ends. How does one retrieve min, max, avg and other summary type data from the PI Web API. To be specfic what is the additional syntax at the end of the URI that displays this data?

 

This Tech Support site just gives a list of values that are accepted, but no code snippets or syntax rules: https://techsupport.osisoft.com/Documentation/PI-Web-API/help/topics/summary-type.html

 

What I want is the suffix or whatever to something like this:

https://[MyLocalHostMachine]/piwebapi/streams/[WebId]/summary{ then whatever else is written here }

Outcomes