Entity · resource_lifecycle_events
Resource Lifecycle Event Schema
Felder
Resource Lifecycle Event Schema
Schema for validating resource lifecycle events (maintenance, repairs, inspections)
resourceId
Reference to the pool resource
eventType
Type of lifecycle event
Werte
MAINTENANCEREPAIRINSPECTIONUPGRADENOTEDAMAGE_REPORTRETIREMENTtitle
Event title
1–200 Zeichen
description
Detailed event description
max 5000 Zeichennullable
performedById
User who performed the work
nullable
performedByName
Denormalized performer name for display
max 200 Zeichennullable
scheduledDate
Scheduled date (YYYY-MM-DD)
nullable
completedDate
Completion date (YYYY-MM-DD)
nullable
cost
Cost of the event (e.g. repair cost)
≥ 0nullable
status
Event status
Werte
PLANNEDIN_PROGRESSCOMPLETEDCANCELLEDDefault: "PLANNED"
attachmentFileIds
File IDs of attached documents
Default: []
notes
Additional notes
max 5000 Zeichennullable
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/resource_lifecycle_events— Liste, paginiert + filterbarGET /api/v1/resource_lifecycle_events/<id>— Einzelne EntityPOST /api/v1/resource_lifecycle_events— AnlegenPATCH /api/v1/resource_lifecycle_events/<id>— Teil-UpdateDELETE /api/v1/resource_lifecycle_events/<id>— Soft-DeleteGET /api/v1/resource_lifecycle_events/<id>/timeline— Audit + Aktivitäten