Entité · vehicle_service_logs
Vehicle Service Log Schema
Champs
Vehicle Service Log Schema
Schema for validating vehicle service / maintenance log entities
vehicleId
Reference to the vehicle
date
Date of the service
serviceType
Type of service performed
Valeurs
INSPECTIONOIL_CHANGEBRAKE_SERVICETIRE_CHANGEREPAIRTUVAUOTHERdescription
Service description
1–2000 caractères
provider
Service provider / workshop (Werkstatt)
max. 200 caractèresnullable
cost
Service cost in EUR as decimal string
Motifnullable
mileageKm
Vehicle mileage at time of service
≥ 0nullable
nextDueDate
Next service due date
nullable
nextDueKm
Next service due at this mileage
≥ 0nullable
attachmentIds
Attachment file IDs (invoices, reports)
Par défaut : []
notes
Additional notes
max. 2000 caractèresnullable
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/vehicle_service_logs— Liste, paginée et filtrableGET /api/v1/vehicle_service_logs/<id>— Une entitéPOST /api/v1/vehicle_service_logs— CréerPATCH /api/v1/vehicle_service_logs/<id>— Mise à jour partielleDELETE /api/v1/vehicle_service_logs/<id>— Suppression logiqueGET /api/v1/vehicle_service_logs/<id>/timeline— Audit et activités