API ReferenceQuality
Create an inspection record
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/inspections" \ -H "Content-Type: application/json" \ -d '{ "planId": "a1b2c3d4-1111-2222-3333-444455556666", "inspectionType": "first_article", "measurements": [ { "characteristic": "OD", "value": 10.02, "pass": true }, { "characteristic": "Length", "value": 24.95, "pass": true } ] }'Empty