AnsweredAssumed Answered

PI WEB API query for WebId when doing a streamsets/GetValues call

Question asked by francois_ruel on Dec 13, 2018
Latest reply on Dec 13, 2018 by tramachandran

Hello,

We are trying to get some attributes data (coming from PI Points and formulas) being exposed in one call using the streamsets/getvalues call but without knowing the WedID.

 

Is there a way to embed a kind of query where we can find the element to expose and get the values (snapshot) in on call?

 

Reason is, the client application cannot do two calls, one to retrieve the WebId and one to get the values.  Also, we are trying to avoid running a scheduled routine that finds and caches all the WebID's.

 

Looking for something like this:

https://myserver/piwebapi/streamsets/(something to retreive the webid here based on a search criteria)/value

 

Thanks!

Francois

Outcomes