Create a maintenance
Maintenances allow you to track planned or completed interventions on equipment.
Maintenance types
Section titled “Maintenance types”| Type | Description |
|---|---|
PREVENTIVE | Regularly scheduled maintenance |
CORRECTIVE | Repair following a breakdown |
INSPECTION | Routine inspection and check |
IMPROVEMENT | Equipment upgrade or enhancement |
PREDICTIVE | Based on data analysis (Not yet implemented) |
Maintenance statuses
Section titled “Maintenance statuses”| Status | Description |
|---|---|
SCHEDULED | Planned, not started |
IN_PROGRESS | Currently in progress |
COMPLETED | Successfully completed |
CANCELLED | Cancelled |
Maintenance realization
Section titled “Maintenance realization”| Status | Description |
|---|---|
INTERNAL | Performed by internal team |
EXTERNAL | Performed by external contractor |
BOTH | Performed by both internal and external |
Create a maintenance
Section titled “Create a maintenance”-
Access the Maintenances module
From the sidebar, click Maintenances.
-
Click “New maintenance”
-
Select the equipment
Choose the relevant equipment from the list.
-
Fill in the information
Field Required Description Type ✅ Preventive, Corrective, Inspection, Improvement Realization ✅ Internal, External, or Both Status ❌ Planned, In Progress, Completed, Cancelled Material ❌ Equipment to maintain Start date ❌ Planned intervention date Operators ✅ Users assigned to the maintenance Companies ✅ Maintenance provider companies Incidents ❌ Related incidents to link Spare parts ❌ Parts used during maintenance Description ✅ Intervention details Reason ✅ Reason for the maintenance -
Save
The maintenance is created with
SCHEDULEDstatus.
Lifecycle
Section titled “Lifecycle”SCHEDULED → IN_PROGRESS → COMPLETED ↓ CANCELLEDAPI - Create a maintenance
Section titled “API - Create a maintenance”Endpoint
Section titled “Endpoint”POST /api/v1/maintenancesPayload
Section titled “Payload”{ "material_id": 1, "type": "PREVENTIVE", "scheduled_at": "2024-02-15T09:00:00Z", "description": "Annual compressor service", "company_id": 5}Response
Section titled “Response”{ "data": { "id": 1, "material": { "id": 1, "name": "Compressor A1" }, "type": "PREVENTIVE", "status": "SCHEDULED", "scheduled_at": "2024-02-15T09:00:00Z", "description": "Annual compressor service", "company": { "id": 5, "name": "Tech Services Inc" }, "created_by": { "id": 1, "full_name": "John Doe" } }}Update maintenance status
Section titled “Update maintenance status”Start intervention
Section titled “Start intervention”PATCH /api/v1/maintenances/{id}{ "status": "IN_PROGRESS", "started_at": "2024-02-15T09:30:00Z"}Complete intervention
Section titled “Complete intervention”{ "status": "COMPLETED", "completed_at": "2024-02-15T14:00:00Z", "notes": "Replaced air filter and checked oil level."}Required permissions
Section titled “Required permissions”| Action | Permission |
|---|---|
| View list | maintenance.viewAny |
| View a maintenance | maintenance.view |
| Create | maintenance.create |
| Modify | maintenance.update |
| Delete | maintenance.delete |