AnalysisCategory Get
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AnalysisCategory Get
Retrieve an analysis category.
Request
GET analysiscategories/{webId}
URL Parameters
-
webId The ID of the analysis category. 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 specified analysis category.
Sample Response Body
{
"WebId": "I1XCDqD5loBNH0erqeqJodtALAoko2-UoOVEibhTWQCk1MDw",
"Id": "f9364aa2-0e4a-4854-9b85-35900a4d4c0f",
"Name": "CategoryName",
"Description": "Relative energy use per ton of process feed.",
"Path": "\\\\MyAssetServer\\Database\\CategoriesAnalysis[CategoryName]",
"Links": {
"Self": "https://localhost.osisoft.int/piwebapi/analysiscategories/I1XCDqD5loBNH0erqeqJodtALAoko2-UoOVEibhTWQCk1MDw"
}
}