AssetDatabase CreateEnumerationSet
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AssetDatabase CreateEnumerationSet
Create an enumeration set at the Asset Database.
Request
POST assetdatabases/{webId}/enumerationsets
URL Parameters
-
webId The ID of the database in which to create the enumeration set. 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 enumeration set definition.
Status Codes
201: The enumeration set was created. The response's Location header is a link to the created enumeration set.
Sample Request Body
{
"Name": "Model Number",
"Description": "Model numbers by brand of vehicle"
}