Web API bulk query and Performance Equation paths

Discussion created by I.Berry on Jul 24, 2014
Latest reply on Jul 28, 2014 by I.Berry



I am currently trying to determine if we will be able to port some of the calls we are doing in PI Webservices to PI Web API when it is released.


There are two things that I am not sure if we will be able to do with Web API that I hope someone can help with.


1) Will it be possible to specify multiple PI Points or attributes when doing a query? 


With PI web-services it was possible to build requests asking for huge numbers of snapshots, in some examples we have requests with over 2000 snapshot values being returned in a single request. How would this be accomplished with the Web API? Would we need to do 2000 GET requests? 


2) Is it possible to use performance equation paths?


The GET streams requires a webID parameter. Can I specify a PE path using GET points and then use that webID calling GET streams? I couldn't get this to work, but it was not clear to me that this is how it might be used.


Many thanks for any help.