API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · resource_lifecycle_events

Resource Lifecycle Event Schema

Schema ID
resource_lifecycle_event
Collection
resource_lifecycle_events
Permissions
  • Readresource_lifecycle_event_view
  • Createresource_lifecycle_event_create
  • Editresource_lifecycle_event_edit
  • Deleteresource_lifecycle_event_delete

Fields

Resource Lifecycle Event Schema

resource_lifecycle_events4 permissions

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

resourceIduuidrequired

Reference to the pool resource

eventTypestringrequired

Type of lifecycle event

MAINTENANCEREPAIRINSPECTIONUPGRADENOTEDAMAGE_REPORTRETIREMENT
titlestringrequired

Event title

1–200 characters
descriptionstringoptional

Detailed event description

max 5000 charactersnullable
performedByIduuidoptional

User who performed the work

nullable
performedByNamestringoptional

Denormalized performer name for display

max 200 charactersnullable
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 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/resource_lifecycle_events — List, paginated + filterable
  • GET /api/v1/resource_lifecycle_events/<id> — Single entity
  • POST /api/v1/resource_lifecycle_events — Create
  • PATCH /api/v1/resource_lifecycle_events/<id> — Partial update
  • DELETE /api/v1/resource_lifecycle_events/<id> — Soft delete
  • GET /api/v1/resource_lifecycle_events/<id>/timeline — Audit + activities

Search