Skip to content

Manage incidents

Incidents allow you to report and track equipment issues.

PriorityDescription
LOWLow impact, can wait
MEDIUMModerate impact, handle quickly
HIGHSignificant impact, urgent
CRITICALBlocking, immediate intervention
StatusDescription
OPENReported, not being handled
IN_PROGRESSBeing resolved
RESOLVEDResolved
CLOSEDClosed after validation
  1. Access the Incidents module

    From the sidebar, click Incidents.

  2. Click “New incident”

  3. Fill in the form

    FieldRequiredDescription
    EquipmentAffected equipment
    TitleShort description
    PriorityLow, Medium, High, Critical
    DescriptionProblem details
  4. Save

    The incident is created with OPEN status.

OPEN → IN_PROGRESS → RESOLVED → CLOSED
↓ ↓
OPEN ←────────┘
POST /api/v1/incidents
{
"material_id": 1,
"title": "Abnormal noise on compressor",
"priority": "HIGH",
"description": "The compressor has been making a clacking noise since this morning. Degraded operation."
}
{
"data": {
"id": 1,
"material": {
"id": 1,
"name": "Compressor A1"
},
"title": "Abnormal noise on compressor",
"priority": "HIGH",
"status": "OPEN",
"description": "The compressor has been making...",
"reported_by": {
"id": 5,
"full_name": "John Doe"
},
"created_at": "2024-01-15T08:30:00Z"
}
}
PATCH /api/v1/incidents/{id}
{
"status": "IN_PROGRESS",
"assigned_to": 3
}
{
"status": "RESOLVED",
"resolution": "Replaced worn bearing. Noise eliminated."
}
{
"status": "CLOSED"
}

An incident can trigger a maintenance:

POST /api/v1/maintenances
{
"material_id": 1,
"type": "CORRECTIVE",
"incident_id": 1,
"scheduled_at": "2024-01-15T14:00:00Z",
"description": "Repair following incident #1"
}
ActionPermission
View listincident.viewAny
View an incidentincident.view
Createincident.create
Modifyincident.update
Deleteincident.delete
GET /api/v1/incidents?status=OPEN&priority=HIGH&material_id=1