AnsweredAssumed Answered

Is there a way to query PI Web API for EventFrame templates only?

Question asked by dclark on Jun 16, 2016
Latest reply on Jun 22, 2016 by dclark

I want to query the Web API for EventFrame templates. The way I'm getting them right now is through "assetdatabases/{webId}/elementtemplates". This returns templates for Elements and EventFrames together, however, and I'm having to filter the results by InstanceType=EventFrame.

 

What I'm using now: https://techsupport.osisoft.com/Documentation/PI-Web-API/help/controllers/assetdatabase/actions/getelementtemplates.html

 

Does anyone know of a way to get the EventFrame templates only? If so, it would improve speed, memory usage, and code readability for me.

Outcomes