Insight Historian API
- Last UpdatedDec 13, 2022
- 1 minute read
Tags
This custom query returns the tags based on the query expression.
Sample query expression
{
"QueryName": "WeatherTags",
"Service":{
"Method": "Get",
"ItemPath":"apis/Historian/v2/Tags",
"QueryParameter": "$filter=startswith(FQN, ‘Weather.Los Angeles’)",
"NextPage": "@odata.nextLink"
}
}
ProcessValues
This custom query returns the process values for the given tags.
Sample query expression
{
"QueryName": "ProcessValues",
"Service":
{
"Method": "Get",
"ItemPath":"apis/Historian/v2/ProcessValues",
"QueryParameter": "TagFilter=startswith(FQN, 'London.Mash200.temperature_PV')&StartDateTime=\"[RequestedStartTime]\"&EndDateTime=\"[RequestedEndTime]\"&RetrievalMode=Full",
"NextPage": "@odata.nextLink"
}
}