XentrDeveloper Docs
API ReferenceProduction orders

Mark a finished run as Pass or Fail

POST
/api/factories/{factoryId}/production-orders/{id}/final-result
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory ID

id*string

Production Order 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/production-orders/string/final-result" \  -H "Content-Type: application/json" \  -d '{    "result": "pass"  }'
Empty