AnsweredAssumed Answered

Getting Values of All Children from an Element StreamSet in PI Web API

Question asked by Optrix on Oct 25, 2017
Latest reply on Oct 27, 2017 by vkaufmann

I'd like to get the values of all attributes, from all elements under a specific element using the StreamSet controller of the PI Web API.

 

So in this case, I have a layout similar to the following...

 

Asset A

    Asset B

        Asset C

        Asset D

 

And when I ask for the StreamSet for Asset A, I'd like to also see all of the vaues on B, C & D.

 

I would have thought that searchFullHierarchy would have done this, but it doesn't seem to do anything at all - it doesn't present any new attributes, regardless of where I use it. Accessing the streamset for Asset C shows me all of the attributes of that element, but I can't ask for the attributes of Asset C from Asset B.

 

If it helps (just in case this is/was a bug), the server version is 2.7.5.7166

Outcomes