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

PI Web API Reference

AttributeTrait GetByCategory

AttributeTrait GetByCategory

Retrieve all attribute traits of the specified category/categories.

Request

GET attributetraits

URL Parameters

  • category

    The category of the attribute traits. Multiple categories may be specified with multiple instances of the parameter. If the parameter is not specified, or if its value is "all", then all attribute traits of all categories will be returned. See Attribute Trait 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.

Status Codes

200: A list of attribute traits.

Sample Response Body

{
  "Items": [
    {
      "Name": "LimitLoLo",
      "Abbreviation": "LoLo",
      "AllowChildAttributes": "false",
      "AllowDuplicates": "false",
      "IsAllowedOnRootAttribute": "false",
      "IsTypeInherited": "true",
      "IsUOMInherited": "true",
      "RequireNumeric": "true",
      "RequireString": "false",
      "Links": {}
    },
    {
      "Name": "LimitLoLo",
      "Abbreviation": "LoLo",
      "AllowChildAttributes": "false",
      "AllowDuplicates": "false",
      "IsAllowedOnRootAttribute": "false",
      "IsTypeInherited": "true",
      "IsUOMInherited": "true",
      "RequireNumeric": "true",
      "RequireString": "false",
      "Links": {}
    }
  ],
  "Links": {}
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in