How do I get values from PICount, and PIComp2 table using PI Web API query?
Request you to check below link for requested details.
GetSummary GET calculation/summary
The data structures between our PI OLEDB products and our PI Web API are not equivalent. If you are interested in archive data then you should take a look at the streams controller on the PI Web API. This has actions to both request archive data for points as well as some limited summary calculations.
Retrieving data ...