XentrDeveloper Docs
API ReferenceProduction orders

QA partial quantity entry during a running order (appends; does NOT verify)

POST
/api/factories/{factoryId}/production-orders/{id}/log-quantity
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/log-quantity" \  -H "Content-Type: application/json" \  -d '{    "quantityProduced": 50,    "quantityGood": 48,    "quantityRejected": 2  }'
Empty