AnsweredAssumed Answered

PI Web API Filter Expression

Question asked by mdsterman on Jan 4, 2018
Latest reply on Jan 8, 2018 by Dan Fishman

I am using C# to write piWebAPI calls.  The query results are shown below . Would someone please provide a filter expression string to remove all results with Value.Value < 5?

 

Thank You,

 

Marty 

 

"Items": [

    {

      "Timestamp": "2017-02-01T12:49:36Z",

      "Value": {

        "Name": "Closed-1",

       "Value": 1,

"IsSystem": false

      },

"UnitsAbbreviation": "",

      "Good": true,

"Questionable": false,

"Substituted": false

    },

    {

      "Timestamp": "2017-02-01T20:26:31Z",

      "Value": {

        "Name": "Closed-1",

        "Value": 1,

"IsSystem": false

      },

"UnitsAbbreviation": "",

      "Good": true,

"Questionable": false,

"Substituted": false

    }

}

Outcomes