Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Web API Reference

AnalysisRule Update

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"
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in