9 Replies Latest reply on Mar 8, 2016 4:46 PM by bala

    PI Web API: time strings anomaly

    JamesIggulden

      Hello,

      Apologies if this is expected behaviour but it didn't seem so from the docs.

      I've been using the GetValues StreamSet with various time strings. The following works fine:

      https://<host>/piwebapi/streamsets/value?webId=XXX&time=01/Mar/2016%2B10:30

       

      But the following:

      https://<host>/piwebapi/streamsets/value?webId=XXX&time=01/Mar/2016%2B10:30:00

      returns:

      {

        "Errors": [

        "'01/Mar/2016+10:30:00' is not a valid timestamp."

        ]

      }

       

      Many thanks,

      James