API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · resource_lifecycle_events

Resource Lifecycle Event Schema

Schema-ID
resource_lifecycle_event
Collection
resource_lifecycle_events
Permissions
  • Lesenresource_lifecycle_event_view
  • Anlegenresource_lifecycle_event_create
  • Ändernresource_lifecycle_event_edit
  • Löschenresource_lifecycle_event_delete

Felder

Resource Lifecycle Event Schema

resource_lifecycle_events4 Permissions

Schema for validating resource lifecycle events (maintenance, repairs, inspections)

resourceIduuiderforderlich

Reference to the pool resource

eventTypestringerforderlich

Type of lifecycle event

MAINTENANCEREPAIRINSPECTIONUPGRADENOTEDAMAGE_REPORTRETIREMENT
titlestringerforderlich

Event title

1–200 Zeichen
descriptionstringoptional

Detailed event description

max 5000 Zeichennullable
performedByIduuidoptional

User who performed the work

nullable
performedByNamestringoptional

Denormalized performer name for display

max 200 Zeichennullable
scheduledDatedateoptional

Scheduled date (YYYY-MM-DD)

nullable
completedDatedateoptional

Completion date (YYYY-MM-DD)

nullable
costnumberoptional

Cost of the event (e.g. repair cost)

≥ 0nullable
statusstringoptional

Event status

PLANNEDIN_PROGRESSCOMPLETEDCANCELLED
Default: "PLANNED"
attachmentFileIdsstring[]optional

File IDs of attached documents

Default: []
notesstringoptional

Additional notes

max 5000 Zeichennullable

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 + filterbar
  • GET /api/v1/resource_lifecycle_events/<id> — Einzelne Entity
  • POST /api/v1/resource_lifecycle_events — Anlegen
  • PATCH /api/v1/resource_lifecycle_events/<id> — Teil-Update
  • DELETE /api/v1/resource_lifecycle_events/<id> — Soft-Delete
  • GET /api/v1/resource_lifecycle_events/<id>/timeline — Audit + Aktivitäten

Suche