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

Vehicle Service Log Schema

Schema-ID
vehicle_service_log
Collection
vehicle_service_logs
Permissions
  • Lesenvehicle_service_log_view
  • Anlegenvehicle_service_log_create
  • Ändernvehicle_service_log_edit
  • Löschenvehicle_service_log_delete

Felder

Vehicle Service Log Schema

vehicle_service_logs4 Permissions

Schema for validating vehicle service / maintenance log entities

vehicleIduuiderforderlich

Reference to the vehicle

datedateerforderlich

Date of the service

serviceTypestringerforderlich

Type of service performed

INSPECTIONOIL_CHANGEBRAKE_SERVICETIRE_CHANGEREPAIRTUVAUOTHER
descriptionstringerforderlich

Service description

1–2000 Zeichen
providerstringoptional

Service provider / workshop (Werkstatt)

max 200 Zeichennullable
coststringoptional

Service cost in EUR as decimal string

Patternnullable
mileageKmnumberoptional

Vehicle mileage at time of service

≥ 0nullable
nextDueDatedateoptional

Next service due date

nullable
nextDueKmnumberoptional

Next service due at this mileage

≥ 0nullable
attachmentIdsstring[]optional

Attachment file IDs (invoices, reports)

Default: []
notesstringoptional

Additional notes

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

Suche