API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · vehicle_checklists

Vehicle Checklist Schema

ID du schéma
vehicle_checklist
Collection
vehicle_checklists
Autorisations
  • Lirevehicle_checklist_view
  • Créervehicle_checklist_create
  • Modifiervehicle_checklist_edit
  • Supprimervehicle_checklist_delete

Champs

Vehicle Checklist Schema

vehicle_checklists4 autorisations

Schema for validating vehicle checklist execution entities

vehicleIduuidobligatoire

Reference to the vehicle

templateIduuidfacultatif

Reference to the checklist template used

nullable
executedByIduuidobligatoire

User who executed the checklist

executedAtdatetimeobligatoire

Timestamp of checklist execution

mileageKmnumberfacultatif

Vehicle mileage at time of checklist execution

≥ 0nullable
itemsobject[]obligatoire
min. 1 éléments
labelstringobligatoire

Checklist item label

max. 200 caractères
statusstringobligatoire

Item check result

PASSFAILNA
notesstringfacultatif

Notes for this item

max. 500 caractèresnullable
attachmentIdstringfacultatif

Photo attachment ID (e.g. for defects)

nullable
overallStatusstringfacultatif

Overall checklist result

PASSEDFAILEDPARTIAL
Par défaut : "PASSED"
notesstringfacultatif

Additional notes

max. 2000 caractèresnullable

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 filtrable
  • GET /api/v1/vehicle_checklists/<id> — Une entité
  • POST /api/v1/vehicle_checklists — Créer
  • PATCH /api/v1/vehicle_checklists/<id> — Mise à jour partielle
  • DELETE /api/v1/vehicle_checklists/<id> — Suppression logique
  • GET /api/v1/vehicle_checklists/<id>/timeline — Audit et activités

Recherche