Workpieces

/v3/nc/workpieces

Defined in tolerances.js

Get All Workpieces

GET /v3/nc/workpieces

GET on the workpieces API endpoint returns an object containing all workpieces held by the digital thread. The object acts as a map from the workpiece ID to the workpiece object

GET /v3/nc/workpieces
==>
{
  "8052": {
    "id":8052,
    "name":"unnamed workpiece",
    /* see workpiece object for other properties */
  },
  "10504":{
    "id":10504,
    "name":"asis84155",
    /* other properties omitted */
  }
}