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

PI Web API Reference

EnumerationSet Get

EnumerationSet Get

Retrieve an enumeration set.

Request

GET enumerationsets/{webId}

URL Parameters

  • webId

    The ID of the enumeration set. 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 enumeration sets.

Sample Response Body

{
  "WebId": "I1MSRDqD5loBNH0erqeqJodtALAT_x3jpGsKUCB1vtmvQHUMQ",
  "Id": "8e77fc4f-ac91-4029-81d6-fb66bd01d431",
  "Name": "Model Number",
  "Description": "Model numbers by brand of vehicle",
  "Path": "\\\\MyAssetServer\\MyDatabase\\EnumerationSets[Model Number]",
  "Links": {
    "Self": "https://localhost.osisoft.int/piwebapi/enumerationsets/I1MSRDqD5loBNH0erqeqJodtALAT_x3jpGsKUCB1vtmvQHUMQ"
  }
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in