API ReferenceQuality
Create an inspection plan
Authorization
bearer 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/plans" \ -H "Content-Type: application/json" \ -d '{ "productId": "a1b2c3d4-1111-2222-3333-444455556666", "name": "First-article dimensional check", "inspectionType": "first_article", "characteristics": [ { "name": "OD", "target": 10, "tolerance": 0.05, "unit": "mm" }, { "name": "Length", "target": 25, "tolerance": 0.1, "unit": "mm" } ] }'Empty