GetCategories
GET tables/{webId}/categories

Get a table's categories.

URL Parameters

Status Codes

200: A list of categories.

Sample Response

{
  "Items": [
    {
      "WebId": "I1BCDqD5loBNH0erqeqJodtALAwgzHiSFSd06HP4lKPqYefQ",
      "Id": "89c70cc2-5221-4e77-873f-894a3ea61e7d",
      "Name": "CategoryName",
      "Description": "Relative energy use per ton of process feed.",
      "Path": "\\\\MyAssetServer\\Database\\CategoriesTable[CategoryName]",
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/tablecategories/I1BCDqD5loBNH0erqeqJodtALAwgzHiSFSd06HP4lKPqYefQ"
      }
    },
    {
      "WebId": "I1BCDqD5loBNH0erqeqJodtALAwgzHiSFSd06HP4lKPqYefQ",
      "Id": "89c70cc2-5221-4e77-873f-894a3ea61e7d",
      "Name": "CategoryName",
      "Description": "Relative energy use per ton of process feed.",
      "Path": "\\\\MyAssetServer\\Database\\CategoriesTable[CategoryName]",
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/tablecategories/I1BCDqD5loBNH0erqeqJodtALAwgzHiSFSd06HP4lKPqYefQ"
      }
    }
  ],
  "Links": {}
}
Enabling Operational Intelligence