Skip to content

getJobMaterialUsageForItem

READ

Get job material usage for item.

POST /api/v1/items/getJobMaterialUsageForItem
curl -X POST '<your-host>/api/v1/items/getJobMaterialUsageForItem' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "itemId": "string"
  }'
Response
{
  "byMaterialId": {
    "…": 0
  },
  "byJobId": {
    "…": 0
  }
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    }
  },
  "required": [
    "itemId"
  ]
}