AnsweredAssumed Answered

PI Web API: time strings anomaly

Question asked by JamesIggulden on Mar 7, 2016
Latest reply on Mar 8, 2016 by bala

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

Outcomes