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

PI Web API Reference

AssetDatabase CreateElementCategory

AssetDatabase CreateElementCategory

Create an element category at the Asset Database root.

Request

POST assetdatabases/{webId}/elementcategories

URL Parameters

  • webId

    The ID of the database in which to create the element 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 element category definition.

Status Codes

201: The element category was created. The response's Location header is a link to the element category.

Sample Request Body

{
  "Name": "CategoryName",
  "Description": "Relative energy use per ton of process feed."
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in