Entidad · vehicle_checklists
Vehicle Checklist Schema
Campos
Vehicle Checklist Schema
Schema for validating vehicle checklist execution entities
vehicleId
Reference to the vehicle
templateId
Reference to the checklist template used
admite null
executedById
User who executed the checklist
executedAt
Timestamp of checklist execution
mileageKm
Vehicle mileage at time of checklist execution
≥ 0admite null
items
mín. 1 elementos
label
Checklist item label
máx. 200 caracteres
status
Item check result
Valores
PASSFAILNAnotes
Notes for this item
máx. 500 caracteresadmite null
attachmentId
Photo attachment ID (e.g. for defects)
admite null
overallStatus
Overall checklist result
Valores
PASSEDFAILEDPARTIALValor por defecto: "PASSED"
notes
Additional notes
máx. 2000 caracteresadmite null
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/vehicle_checklists— Lista, paginada y filtrableGET /api/v1/vehicle_checklists/<id>— Una entidadPOST /api/v1/vehicle_checklists— CrearPATCH /api/v1/vehicle_checklists/<id>— Actualización parcialDELETE /api/v1/vehicle_checklists/<id>— Eliminación lógicaGET /api/v1/vehicle_checklists/<id>/timeline— Auditoría y actividades