XentrDeveloper Docs
API ReferenceDowntime

Categorise a downtime event

PATCH
/api/factories/{factoryId}/downtime/events/{id}
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory slug

id*string

Event ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://api.xentr.ai/api/factories/string/downtime/events/string" \  -H "Content-Type: application/json" \  -d '{    "reasonId": "string"  }'
Empty