AssetDatabase CreateAttributeCategory
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AssetDatabase CreateAttributeCategory
Create an attribute category at the Asset Database root.
Request
POST assetdatabases/{webId}/attributecategories
URL Parameters
-
webId The ID of the database in which to create the attribute category. See WebID 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.
Body Parameter
The new attribute category definition.
Status Codes
201: The attribute category was created. The response's Location header is a link to the attribute category.
Sample Request Body
{
"Name": "CategoryName",
"Description": "Relative energy use per ton of process feed."
}