6 Replies Latest reply on Oct 23, 2017 2:22 PM by cymerman

    PiWebAPI - get all EventFrames (also ended ones)


      Hi, i need to get all Event frames of specific type ("Alarm")




      it return only active event frames that have "EndTime": "9999-12-31T23:59:59Z",


      but i need to get all, even those ended ones, how to do it, i dont see any parameter to specify it


      i would be grateful for any help




      is should use:



        ?searchFullHierarchy=true -- for get full hierarchy search

        &TemplateName=Alarm -- for get eventframes with Alarm templatename

        &searchMode=StartInclusive -- for get all event from specific time

        &startTime=1/1/2010 -- specific time

        &sortField=StartTime -- for sort result


        &nameFilter=Alarm .R* -- for additional filter at Name tag