XentrDeveloper Docs
API ReferenceDowntime

Categorise N downtime events with one reason in a single call

POST
/api/factories/{factoryId}/downtime/events/categorize-bulk
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory slug

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/downtime/events/categorize-bulk" \  -H "Content-Type: application/json" \  -d '{    "eventIds": [      "string"    ],    "reasonId": "string"  }'
Empty