ProcessValues
- Last UpdatedMar 18, 2025
- 2 minute read
|
Description |
Retrieves a set of process value records (where each record includes value + time + quality, or VTQ) for the specified tags. |
|
URL |
/ProcessValues |
|
Method |
GET |
|
Required Parameters |
|
|
Optional Parameters |
|
|
Success Response |
Code: 200 |
|
Error Response |
Code: 404 NOT FOUND or Code: 401 UNAUTHORIZED |
|
Sample Query |
Scenario 1 This query produces process values for a list of tags that end with "level". In this case, the user doesn't know the fully qualified name (FQN) of a specific tag and wants a short list of possible matches.
https://online.wonderware.[DOMAINSUFFIX]/apis/historian/v2/ProcessValues Scenario 2 This query returns process values for a specific tag identified by its fully qualified name (datasource.tagname). Using a"$filter" clause, it specifies a tag named tank_level within the Baytown data source. The result is a list of values for the tank_level tag.
https://online.wonderware.[DOMAINSUFFIX]/s/ik97r5/apis/historian/v2/ProcessValues Scenario 3 This query includes a start date time, end date time, and other query parameters.
https://online.wonderware.[DOMAINSUFFIX]/s/ik97r5/apis/historian/v2/ProcessValues |
|
Sample Output |
{ "odata.metadata": "https://online.wonderware.[DOMAINSUFFIX]/s/ik97r5/apis/historian/v2/ "value": [ { "FQN": "20140805AK.TestSkipToken_0", "DateTime": "2014-08-06T17:25:19.216486Z", "OpcQuality": 192, "Value": 39816, "Text": "39816" }, { "FQN": "20140805AK.TestSkipToken_0", "DateTime": "2014-08-06T17:25:20.196Z", "OpcQuality": 192, "Value": 39817, "Text": "39817" } ], } |