API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · vehicle_fines

Vehicle Fine Schema

ID del esquema
vehicle_fine
Colección
vehicle_fines
Permisos
  • Leervehicle_fine_view
  • Crearvehicle_fine_create
  • Modificarvehicle_fine_edit
  • Eliminarvehicle_fine_delete

Campos

Vehicle Fine Schema

vehicle_fines4 permisos

Schema for validating vehicle fine / Bußgeld entities

vehicleIduuidobligatorio

Reference to the vehicle

driverIduuidopcional

Reference to the fleet driver

admite null
datedateobligatorio

Date of the offense

amountstringobligatorio

Fine amount in EUR as decimal string

Patrón
reasonstringobligatorio

Reason for the fine / Tatbestand

1–1000 caracteres
offenseTypestringopcional

Category of the traffic offense

SPEEDRED_LIGHTPARKINGPHONEDISTANCESEATBELTOTHER
admite null
offenseLocationstringopcional

Location where the offense occurred

máx. 500 caracteresadmite null
statusstringopcional

Fine processing status

NEUFAHRER_BESTAETIGTFAHRER_LEHNT_ABIN_KLAERUNGBEZAHLTABGESCHLOSSEN
Valor por defecto: "NEU"
fileNumberstringopcional

Official file number / Aktenzeichen

máx. 100 caracteresadmite null
authoritystringopcional

Issuing authority / Behörde

máx. 200 caracteresadmite null
paidBystringopcional

Who pays the fine — company or driver

COMPANYDRIVER
admite null
dueDatedateopcional

Payment due date

admite null
contestDeadlinedateopcional

Deadline for contesting the fine / Einspruchsfrist

admite null
driverStatementstringopcional

Driver statement / Stellungnahme des Fahrers

máx. 2000 caracteresadmite null
driverRespondedAtdatetimeopcional

When the driver responded to the fine

admite null
attachmentIdsstring[]opcional

Document attachment IDs (fine notice, photos)

Valor por defecto: []
notesstringopcional

Internal notes

máx. 2000 caracteresadmite null

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_fines — Lista, paginada y filtrable
  • GET /api/v1/vehicle_fines/<id> — Una entidad
  • POST /api/v1/vehicle_fines — Crear
  • PATCH /api/v1/vehicle_fines/<id> — Actualización parcial
  • DELETE /api/v1/vehicle_fines/<id> — Eliminación lógica
  • GET /api/v1/vehicle_fines/<id>/timeline — Auditoría y actividades

Búsqueda