getUnitOfMeasureUsage
READWhich tables still reference a unit of measure, and how many rows each; empty means safe to delete (or id not visible to the caller).
POST /api/v1/items/getUnitOfMeasureUsage
curl -X POST '<your-host>/api/v1/items/getUnitOfMeasureUsage' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"id": "string"
}'Response
{
"results": [
{
"count": 0,
"tableName": "string"
}
],
"count": null
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}