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

PI Web API Reference

AttributeCategory GetByPath

AttributeCategory GetByPath

Retrieve an attribute category by path.

Request

GET attributecategories

URL Parameters

  • path

    The path to the target attribute category. See Path Syntax 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 attribute category.

Sample Response Body

{
  "WebId": "I1ACDqD5loBNH0erqeqJodtALAofQgBVRE3E-0dk03Hqa1ng",
  "Id": "0520f4a1-4454-4fdc-b476-4d371ea6b59e",
  "Name": "CategoryName",
  "Description": "Relative energy use per ton of process feed.",
  "Path": "\\\\MyAssetServer\\Database\\CategoriesAttribute[CategoryName]",
  "Links": {
    "Self": "https://localhost.osisoft.int/piwebapi/attributecategories/I1ACDqD5loBNH0erqeqJodtALAofQgBVRE3E-0dk03Hqa1ng"
  }
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in