Entité · vehicle_checklists
Vehicle Checklist Schema
Champs
Vehicle Checklist Schema
Schema for validating vehicle checklist execution entities
vehicleId
Reference to the vehicle
templateId
Reference to the checklist template used
nullable
executedById
User who executed the checklist
executedAt
Timestamp of checklist execution
mileageKm
Vehicle mileage at time of checklist execution
≥ 0nullable
items
min. 1 éléments
label
Checklist item label
max. 200 caractères
status
Item check result
Valeurs
PASSFAILNAnotes
Notes for this item
max. 500 caractèresnullable
attachmentId
Photo attachment ID (e.g. for defects)
nullable
overallStatus
Overall checklist result
Valeurs
PASSEDFAILEDPARTIALPar défaut : "PASSED"
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_checklists— Liste, paginée et filtrableGET /api/v1/vehicle_checklists/<id>— Une entitéPOST /api/v1/vehicle_checklists— CréerPATCH /api/v1/vehicle_checklists/<id>— Mise à jour partielleDELETE /api/v1/vehicle_checklists/<id>— Suppression logiqueGET /api/v1/vehicle_checklists/<id>/timeline— Audit et activités