API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · resource_lifecycle_events

Resource Lifecycle Event Schema

Schema-ID
resource_lifecycle_event
Collection
resource_lifecycle_events
Permissions
  • Lezenresource_lifecycle_event_view
  • Aanmakenresource_lifecycle_event_create
  • Wijzigenresource_lifecycle_event_edit
  • Verwijderenresource_lifecycle_event_delete

Velden

Resource Lifecycle Event Schema

resource_lifecycle_events4 permissions

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

resourceIduuidvereist

Reference to the pool resource

eventTypestringvereist

Type of lifecycle event

MAINTENANCEREPAIRINSPECTIONUPGRADENOTEDAMAGE_REPORTRETIREMENT
titlestringvereist

Event title

1–200 tekens
descriptionstringoptioneel

Detailed event description

max. 5000 tekensnullable
performedByIduuidoptioneel

User who performed the work

nullable
performedByNamestringoptioneel

Denormalized performer name for display

max. 200 tekensnullable
scheduledDatedateoptioneel

Scheduled date (YYYY-MM-DD)

nullable
completedDatedateoptioneel

Completion date (YYYY-MM-DD)

nullable
costnumberoptioneel

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

≥ 0nullable
statusstringoptioneel

Event status

PLANNEDIN_PROGRESSCOMPLETEDCANCELLED
Default: "PLANNED"
attachmentFileIdsstring[]optioneel

File IDs of attached documents

Default: []
notesstringoptioneel

Additional notes

max. 5000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/resource_lifecycle_events — Lijst, gepagineerd + filterbaar
  • GET /api/v1/resource_lifecycle_events/<id> — Enkele entity
  • POST /api/v1/resource_lifecycle_events — Aanmaken
  • PATCH /api/v1/resource_lifecycle_events/<id> — Gedeeltelijke update
  • DELETE /api/v1/resource_lifecycle_events/<id> — Soft-delete
  • GET /api/v1/resource_lifecycle_events/<id>/timeline — Audit + activiteiten

Zoeken