getScrapReason
READGet scrap reason.
POST /api/v1/inventory/getScrapReason
curl -X POST '<your-host>/api/v1/inventory/getScrapReason' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"scrapReasonId": "string"
}'Response
{
"companyId": "string",
"createdAt": "string",
"createdBy": "string",
"customFields": "…",
"id": "string",
"name": "string",
"updatedAt": "string",
"updatedBy": "string"
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"scrapReasonId": {
"type": "string"
}
},
"required": [
"scrapReasonId"
]
}