XentrDeveloper Docs
API ReferenceQuality

Create a defect category

POST
/api/factories/{factoryId}/quality/defect-categories
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/quality/defect-categories" \  -H "Content-Type: application/json" \  -d '{    "code": "material",    "name": "Material"  }'
Empty