PFC5478

Typo in PI Web API 2015 R2 Reference material

Discussion created by PFC5478 on Aug 18, 2015
Latest reply on Aug 19, 2015 by PFC5478

(This post is just to share my findings instead of asking questions.)

 

In PI Web API 2015 R2 Reference material (can be downloaded separately or retrieved at https://<server>/piwebapi/help/)

 

In some pages like "Streamset" -> "UpdateValuesAdhoc",

 

"Value": 2.3  should be "Value": "2.3"

 

Hope it can be updated in next version of PI Web API.

 

(Copy from "UpdateValuesAdhoc" page:)

Sample Request

[ { "WebId": "A0EDqD5loBNH0erqeqJodtALAUvtkqIDl4xG-twAFmjx6AA79jxF7HiqFwpsgMBxwgWmgUkVTVFVOSVRcU1VNJQVHQU5cTlVHUkVZTlxIT1VTVE9f0FBMQU5UQ0lUWQ", "Items": [ { "Timestamp": "2014-07-22T14:00:00Z", "Value": 2.3, "UnitsAbbreviation": "m", "Good": "true", "Questionable": "false" }, { "Timestamp": "2014-07-22T14:00:00Z", "Value": 2.3, "UnitsAbbreviation": "m", "Good": "true", "Questionable": "false" } ] }, { "WebId": "A0EDqD5loBNH0erqeqJodtALAUvtkqIDl4xG-twAFmjx6AA79jxF7HiqFwpsgMBxwgWmgUkVTVFVOSVRcU1VNJQVHQU5cTlVHUkVZTlxIT1VTVE9f0FBMQU5UQ0lUWQ", "Items": [ { "Timestamp": "2014-07-22T14:00:00Z", "Value": 2.3, "UnitsAbbreviation": "m", "Good": "true", "Questionable": "false" }, { "Timestamp": "2014-07-22T14:00:00Z", "Value": 2.3, "UnitsAbbreviation": "m", "Good": "true", "Questionable": "false" } ] } ]

Outcomes