TimeRule Get
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
TimeRule Get
Retrieve a Time Rule.
Request
GET timerules/{webId}
URL Parameters
-
webId The ID of the Time Rule. See WebID for more information.
-
selectedFields List of fields to be returned in the response, separated by semicolons (;). If this parameter is not specified, all available fields will be returned. See Selected Fields for more information.
-
webIdType Optional parameter. Used to specify the type of WebID. Useful for URL brevity and other special cases. Default is the value of the configuration item "WebIDType". See WebID Type for more information.
Status Codes
200: The requested Time Rule.
Sample Response Body
{
"WebId": "I1TRXDqD5loBNH0erqeqJodtALAROsUFcWU5xGEQwAVXYTCAAROsUFcWU5xGEQwAVXYTCAA",
"Id": "1514eb44-94c5-11e7-8443-00155d84c200",
"Name": "Periodic",
"Description": "Creates regular periodic time periods.",
"Path": "\\\\MyAssetServer\\MyDatabase\\MyElement\\Analyses[MyAnalysis]\\TimeRule",
"ConfigString": "Frequency=300",
"ConfigStringStored": "",
"DisplayString": "Frequency=300",
"EditorType": "OSIsoft.AF.Time.TimeRule.PeriodicConfig",
"IsConfigured": true,
"IsInitializing": false,
"MergeDuplicatedItems": false,
"PlugInName": "Periodic",
"Links": {
"Self": "https://localhost.osisoft.int/piwebapi/timerules/I1TRXDqD5loBNH0erqeqJodtALAROsUFcWU5xGEQwAVXYTCAAROsUFcWU5xGEQwAVXYTCAA"
}
}