4 Replies Latest reply on Jun 22, 2016 1:56 PM by dclark

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


      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.