API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · fleet_drivers

Fleet Driver Schema

Schema-ID
fleet_driver
Collection
fleet_drivers
Permissions
  • Lezenfleet_driver_view
  • Aanmakenfleet_driver_create
  • Wijzigenfleet_driver_edit
  • Verwijderenfleet_driver_delete

Velden

Fleet Driver Schema

fleet_drivers4 permissions

Schema for validating fleet driver / Fahrer entities

userIduuidoptioneel

Reference to internal user (optional for external drivers)

nullable
employeeProfileIduuidoptioneel

Reference to employee_profiles entity. When set, personal data (name, email, phone, department, employeeNumber) is read live from the profile and cannot be edited on the driver.

nullable
firstNamestringvereist

First name / Vorname

1–100 tekens
lastNamestringvereist

Last name / Nachname

1–100 tekens
emailemailvereist

Email address

max. 200 tekensnullable
phonestringoptioneel

Phone number

max. 50 tekensnullable
employeeNumberstringoptioneel

Employee number / Personalnummer

max. 50 tekensnullable
departmentstringoptioneel

Department / Abteilung

max. 200 tekensnullable
licenseNumberstringoptioneel

Driver license number / Führerscheinnummer

max. 50 tekensnullable
licenseClassesstring[]optioneel

License classes (e.g. B, BE, C1, CE)

Default: []
licenseExpirydateoptioneel

License expiry date

nullable
licenseIssuedDatedateoptioneel

License issue date

nullable
licenseIssuingAuthoritystringoptioneel

Issuing authority / Ausstellende Behörde

max. 200 tekensnullable
lastLicenseCheckDatedateoptioneel

Last driver license check date

nullable
nextLicenseCheckDatedateoptioneel

Next driver license check due date

nullable
licenseCheckResultstringoptioneel

Result of last license check

VALIDEXPIREDSUSPENDEDRESTRICTED
nullable
licenseCheckStatusstringoptioneel

Self-service license check workflow status

NONEAWAITING_UPLOADAWAITING_AI_REVIEWAWAITING_MANAGER_REVIEWVALIDREJECTED
Default: "NONE"nullable
licenseCheckTokenHashstringoptioneel

SHA256 hash of the self-service token

nullable
licenseCheckTokenExpiresAtdatetimeoptioneel

Token expiry timestamp

nullable
licenseCheckRequestedAtdatetimeoptioneel

When the check was last requested

nullable
licenseCheckRequestedByuuidoptioneel

userId of the fleet manager who requested the check

nullable
licenseCheckFrontAttachmentIdstringoptioneel

File ID for front of license photo

nullable
licenseCheckBackAttachmentIdstringoptioneel

File ID for back of license photo

nullable
licenseCheckUploadedAtdatetimeoptioneel

When the driver uploaded their license photos

nullable
licenseCheckAiReviewStatusstringoptioneel

AI review processing status

pendingcompletedfailed
nullable
licenseCheckAiReviewFeedbackstringoptioneel

AI review feedback text

max. 5000 tekensnullable
licenseCheckAiReviewScorenumberoptioneel

AI review score (0-100)

0 – 100nullable
licenseCheckAiReviewConfidencenumberoptioneel

AI review confidence (0-1)

0 – 1nullable
licenseCheckAiNameMatchbooleanoptioneel

Whether the name on the license matches the driver record

nullable
licenseCheckConsentGivenAtdatetimeoptioneel

Timestamp when the driver consented to digital/AI processing

nullable
licenseCheckAiExtractedDataobjectoptioneel

AI-extracted license data (number, classes, expiry, holder name)

nullable
uvvStatusstringoptioneel

UVV inspection status

CURRENTOVERDUENOT_REQUIRED
Default: "NOT_REQUIRED"
lastUvvDatedateoptioneel

Last UVV inspection date

nullable
nextUvvDatedateoptioneel

Next UVV inspection due date

nullable
uvvTrainingRequiredbooleanoptioneel

Whether this driver requires UVV training (Fahrerunterweisung)

Default: true
uvvRecurrenceMonthsnumberoptioneel

Recurrence interval in months (typically 12 for annual)

1 – 60Default: 12nullable
lastUvvCompletedAtdateoptioneel

Date when last UVV training cycle was fully completed (denormalized)

nullable
nextUvvDueDatedateoptioneel

Deadline for next UVV training cycle (denormalized)

nullable
uvvTrainingCourseIduuidoptioneel

DEPRECATED — LMS course ID, now lives on training_assignment

nullable
uvvTrainingStatusstringoptioneel

DEPRECATED — status now derived from training_assignments

NOT_REQUIREDPENDINGIN_PROGRESSAWAITING_ORAL_CONFIRMATIONAWAITING_DRIVER_ACKNOWLEDGMENTCURRENTOVERDUE
Default: "PENDING"
uvvTrainingRecurrenceMonthsnumberoptioneel

DEPRECATED — use uvvRecurrenceMonths instead

1 – 60nullable
lastUvvTrainingDatedateoptioneel

DEPRECATED — use lastUvvCompletedAt instead

nullable
nextUvvTrainingDatedateoptioneel

DEPRECATED — use nextUvvDueDate instead

nullable
activeTrainingAssignmentIduuidoptioneel

DEPRECATED — derived from training_assignments query

nullable
uvvOralConfirmedAtdatetimeoptioneel

DEPRECATED — oral confirmation removed

nullable
uvvOralConfirmedByuuidoptioneel

DEPRECATED — oral confirmation removed

nullable
uvvDriverAcknowledgedAtdatetimeoptioneel

DEPRECATED — oral confirmation removed

nullable
uvvAcknowledgmentTokenHashstringoptioneel

DEPRECATED — oral confirmation removed

nullable
uvvAcknowledgmentTokenExpiresAtdatetimeoptioneel

DEPRECATED — oral confirmation removed

nullable
statusstringoptioneel

Driver status

ACTIVEINACTIVESUSPENDED
Default: "ACTIVE"
assignedVehicleIdsuuid[]optioneel

Assigned vehicle IDs

Default: []
notesstringoptioneel

Free-text notes

max. 5000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/fleet_drivers — Lijst, gepagineerd + filterbaar
  • GET /api/v1/fleet_drivers/<id> — Enkele entity
  • POST /api/v1/fleet_drivers — Aanmaken
  • PATCH /api/v1/fleet_drivers/<id> — Gedeeltelijke update
  • DELETE /api/v1/fleet_drivers/<id> — Soft-delete
  • GET /api/v1/fleet_drivers/<id>/timeline — Audit + activiteiten

Zoeken