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

Vehicle Fine Schema

ID du schéma
vehicle_fine
Collection
vehicle_fines
Autorisations
  • Lirevehicle_fine_view
  • Créervehicle_fine_create
  • Modifiervehicle_fine_edit
  • Supprimervehicle_fine_delete

Champs

Vehicle Fine Schema

vehicle_fines4 autorisations

Schema for validating vehicle fine / Bußgeld entities

vehicleIduuidobligatoire

Reference to the vehicle

driverIduuidfacultatif

Reference to the fleet driver

nullable
datedateobligatoire

Date of the offense

amountstringobligatoire

Fine amount in EUR as decimal string

Motif
reasonstringobligatoire

Reason for the fine / Tatbestand

1–1000 caractères
offenseTypestringfacultatif

Category of the traffic offense

SPEEDRED_LIGHTPARKINGPHONEDISTANCESEATBELTOTHER
nullable
offenseLocationstringfacultatif

Location where the offense occurred

max. 500 caractèresnullable
statusstringfacultatif

Fine processing status

NEUFAHRER_BESTAETIGTFAHRER_LEHNT_ABIN_KLAERUNGBEZAHLTABGESCHLOSSEN
Par défaut : "NEU"
fileNumberstringfacultatif

Official file number / Aktenzeichen

max. 100 caractèresnullable
authoritystringfacultatif

Issuing authority / Behörde

max. 200 caractèresnullable
paidBystringfacultatif

Who pays the fine — company or driver

COMPANYDRIVER
nullable
dueDatedatefacultatif

Payment due date

nullable
contestDeadlinedatefacultatif

Deadline for contesting the fine / Einspruchsfrist

nullable
driverStatementstringfacultatif

Driver statement / Stellungnahme des Fahrers

max. 2000 caractèresnullable
driverRespondedAtdatetimefacultatif

When the driver responded to the fine

nullable
attachmentIdsstring[]facultatif

Document attachment IDs (fine notice, photos)

Par défaut : []
notesstringfacultatif

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

Recherche