Share

Items - Classifications

GET /v3/workspaces/{workspaceId}/items

When fetching data from the endpoint, the section containing Classification data now lists some properties specific to Classifications:

  • classificationId
  • classificationName

And, for each field, the standard structure of a field in item details, containing the values and other information for each field.

Examples:

GET https://tenant_name.autodeskplm360.net/api/v3/workspaces/1/items/1001
Returns:
{
  "__self__": "/api/v3/search-results",
  "offset": 0,
  "limit": 100,
  "totalCount": 2,
  "first": {...},
  "last": {...},
  "items": [
    {
      "__self__":
        (...)
      "sections": [
        {
          "link": "/api/v3/workspaces/55/items/3129/views/1/sections/168",
          "title": "Classification",
          "sectionLocked": false,
          "classificationId": 6,
          "classificationName": "Bolts",
          "fields": [
            {
              "__self__": "/api/v3/workspaces/55/items/3129/views/1/fields/0CWS_LENGTH_IN_INCHES",
              "urn": "urn:adsk.plm:tenant.workspace.item.view.field:TENANT.55.3129.1.0CWS_LENGTH_IN_INCHES",
              "title": "Length in Inches",
              "type": {
                "link": "/api/v3/field-types/2",
                "urn": "urn:adsk.plm:tenant.field-type:TENANT.2",
                "deleted": false
              },
              "value": "3"
            },
            {
              "__self__": "/api/v3/workspaces/55/items/3129/views/1/fields/0CWS_MAJOR_DIAMETER_IN_INCHES",
              "urn": "urn:adsk.plm:tenant.workspace.item.view.field:TENANT.55.3129.1.0CWS_MAJOR_DIAMETER_IN_INCHES",
              "title": "Major Diameter in Inches",
              "type": {
                "link": "/api/v3/field-types/2",
                "urn": "urn:adsk.plm:tenant.field-type:TENANT.2",
                "deleted": false
              },
              "value": "1"
            }
          ]
        }
      ]
    }
  ]
}

Back to top

As with the regular Item Details, the same payload can be used to save updated Classification values (via PUT), and to create items containing Classification values for the default class assigned to the item (via POST).

Was this information helpful?