AnalysisRule Update
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AnalysisRule Update
Update an Analysis Rule by replacing items in its definition.
Request
PATCH analysisrules/{webId}
URL Parameters
-
webId The ID of the Analysis Rule. See WebID for more information.
Body Parameter
A partial Analysis Rule containing the desired changes.
Status Codes
204: The Analysis Rule was updated.
Sample Request Body
{
"ConfigString": "a := TagVal('sinusoid'); b := Pow(a, 2); c := a + b;",
"VariableMapping": "b||Attribute1;c||Attribute2"
}