AnalysisTemplate Update
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AnalysisTemplate Update
Update an analysis template by replacing items in its definition.
Request
PATCH analysistemplates/{webId}
URL Parameters
-
webId The ID of the analysis template to update. See WebID for more information.
Body Parameter
A partial analysis template containing the desired changes.
Status Codes
204: The analysis template was updated.
Sample Request Body
{
"Name": "MyAnalysisTemplate",
"Description": "",
"AnalysisRulePlugInName": "PerformanceEquation",
"CategoryNames": [
"MyAnalysisCategory"
],
"CreateEnabled": true,
"GroupId": 0,
"OutputTime": "",
"TargetName": "MyElementTemplate",
"TimeRulePlugInName": "Periodic"
}