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

Vehicle Schema

Schema-ID
vehicle
Collection
vehicles
Permissions
  • Lezenvehicle_view
  • Aanmakenvehicle_create
  • Wijzigenvehicle_edit
  • Verwijderenvehicle_delete

Velden

Vehicle Schema

vehicles4 permissions

Schema for validating vehicle / Fahrzeug entities

licensePlatestringoptioneel

Vehicle license plate number (Kennzeichen)

max. 20 tekensnullable
vinstringoptioneel

Vehicle Identification Number (FIN)

max. 17 tekensnullable
makestringvereist

Manufacturer / Hersteller

1–100 tekens
modelstringvereist

Vehicle model

1–100 tekens
yearintegeroptioneel

Year of manufacture

1900 – 2100nullable
colorstringoptioneel

Vehicle color

max. 50 tekensnullable
displayNamestringoptioneel

Display name / Anzeigename

max. 200 tekensnullable
internalIdstringoptioneel

Internal identifier (e.g. fleet number)

max. 100 tekensnullable
additionalNumberstringoptioneel

Additional reference number

max. 100 tekensnullable
vehicleTypestringoptioneel

Vehicle type classification

PKWTRANSPORTERLKWMOTORRADANHAENGEROTHER
Default: "PKW"
acquisitionModestringoptioneel

How this vehicle entered the fleet: EXISTING (already on site/in use), PROCUREMENT (ordered, not yet delivered), VIRTUAL (no physical vehicle — used as a cost target for fleet-wide expenses)

EXISTINGPROCUREMENTVIRTUAL
Default: "EXISTING"
fuelTypestringoptioneel

Fuel / drive type

BENZINDIESELELEKTROHYBRID_BENZINHYBRID_DIESELERDGASWASSERSTOFFOTHER
nullable
organizationstringoptioneel

Owning organization / Gesellschaft

max. 200 tekensnullable
subsidiarystringoptioneel

Subsidiary / Niederlassung

max. 200 tekensnullable
costCenterstringoptioneel

Cost center / Kostenstelle

max. 100 tekensnullable
locationIdstringoptioneel

Reference to a location entity (Standort)

1–200 tekensnullable
locationNamestringoptioneel

Denormalized location name for display

max. 200 tekensnullable
internalOrderNumberstringoptioneel

Internal order number / Interne Auftragsnummer

max. 100 tekensnullable
licenseNumberstringoptioneel

License number / Zulassungsnummer

max. 100 tekensnullable
firstRegistrationDatedateoptioneel

Date of first registration / Erstzulassung

nullable
commissioningDatedateoptioneel

Date of commissioning / Inbetriebnahme

nullable
registrationCountrystringoptioneel

Country of registration / Zulassungsland

max. 100 tekensnullable
licensePlateColorstringoptioneel

License plate color (e.g. standard, green, electric)

max. 50 tekensnullable
interiorColorstringoptioneel

Interior color / Innenfarbe

max. 100 tekensnullable
upholsteryColorstringoptioneel

Upholstery color / Polsterfarbe

max. 100 tekensnullable
engineDisplacementCcmintegeroptioneel

Engine displacement in ccm / Hubraum

≥ 0nullable
powerKwnumberoptioneel

Engine power in kW / Leistung

≥ 0nullable
transmissionTypestringoptioneel

Transmission type / Getriebe

MANUALAUTOMATICDSGCVTOTHERnull
nullable
emissionStandardstringoptioneel

Emission standard / Abgasnorm

EURO_1EURO_2EURO_3EURO_4EURO_5EURO_6EURO_6DEURO_6D_TEMPEURO_7OTHERnull
nullable
co2EmissionGkmnumberoptioneel

CO2 emissions in g/km

≥ 0nullable
annualVehicleTaxnumberoptioneel

Annual vehicle tax in EUR / Kfz-Steuer

≥ 0nullable
annualVehicleTaxSourcestringoptioneel

Source of vehicle tax information

max. 100 tekensnullable
grossListPricenumberoptioneel

Gross list price in EUR / Bruttolistenpreis

≥ 0nullable
batteryCapacityKwhnumberoptioneel

Battery capacity in kWh (electric/hybrid vehicles)

≥ 0nullable
consumptionCombinednumberoptioneel

Combined fuel/energy consumption

≥ 0nullable
consumptionCitynumberoptioneel

City fuel/energy consumption

≥ 0nullable
consumptionHighwaynumberoptioneel

Highway fuel/energy consumption

≥ 0nullable
consumptionUnitstringoptioneel

Consumption unit (e.g. l/100km, kWh/100km)

max. 50 tekensnullable
curbWeightKgnumberoptioneel

Curb weight in kg / Leergewicht

≥ 0nullable
payloadKgnumberoptioneel

Payload in kg / Zuladung

≥ 0nullable
grossWeightKgnumberoptioneel

Gross vehicle weight in kg / Zulässiges Gesamtgewicht

≥ 0nullable
trainWeightKgnumberoptioneel

Train weight in kg / Zulässige Gesamtmasse des Zuges

≥ 0nullable
towingCapacityKgnumberoptioneel

Towing capacity in kg / Anhängelast

≥ 0nullable
standardEquipmentstring[]optioneel

Standard equipment list / Serienausstattung

Default: []nullable
specialEquipmentstring[]optioneel

Special equipment list / Sonderausstattung

Default: []nullable
tireStorageLocationstringoptioneel

Tire storage location / Reifenlagerort

max. 200 tekensnullable
statusstringoptioneel

Current vehicle status

DRAFTACTIVEMAINTENANCEDECOMMISSIONEDRESERVED
Default: "ACTIVE"
currentMileageKmnumberoptioneel

Current mileage in kilometers

≥ 0nullable
isPoolVehiclebooleanoptioneel

Whether this is a pool vehicle (available for reservation) or permanently assigned to an employee

Default: false
poolGroupstringoptioneel

Optional pool group tag (tenant-defined vehicle pools replace this field for filtering)

nullable
assignedDriverIduuidoptioneel

Assigned driver user ID (relevant when isPoolVehicle=false)

nullable
assignedLocationIdstringoptioneel

Assigned company location identifier

max. 200 tekensnullable
ownershipTypestringoptioneel

Vehicle ownership type

OWNEDLEASEDRENTED
Default: "OWNED"
leaseDetailsobjectoptioneel
nullable
providerstringoptioneel

Leasing provider

max. 200 tekens
contractNumberstringoptioneel

Lease contract number

max. 100 tekensnullable
startDatedateoptioneel

Lease start date

endDatedateoptioneel

Lease end date

nullable
monthlyCoststringoptioneel

Monthly lease cost in EUR

Patternnullable
totalLeasingKmintegeroptioneel

Total allowed kilometers over lease term

≥ 0nullable
residualValuestringoptioneel

Residual value at end of lease in EUR

Patternnullable
excessKmRatestringoptioneel

Cost per excess kilometer in EUR (Mehrkilometer)

Patternnullable
shortfallKmRatestringoptioneel

Credit per shortfall kilometer in EUR (Minderkilometer)

Patternnullable
depositAmountstringoptioneel

Leasing deposit / Sonderzahlung in EUR

Patternnullable
contractIduuidoptioneel

Reference to linked contract entity

nullable
insuranceobjectoptioneel
nullable
companystringoptioneel

Insurance company

max. 200 tekens
policyNumberstringoptioneel

Insurance policy number

max. 100 tekensnullable
typestringoptioneel

Insurance type

HAFTPFLICHTTEILKASKOVOLLKASKO
validFromdateoptioneel

Insurance valid from date

validUntildateoptioneel

Insurance valid until date

nullable
registrationobjectoptioneel
nullable
registrationDatedateoptioneel

Vehicle registration date

nullable
nextHuDatedateoptioneel

Next Hauptuntersuchung (HU/TUV) date

nullable
nextAuDatedateoptioneel

Next Abgasuntersuchung (AU) date

nullable
emissionStickerstringoptioneel

Emission sticker type (Feinstaubplakette)

NONEGREENYELLOWRED
nullable
inspectionScheduleobjectoptioneel
nullable
lastInspectionDatedateoptioneel

Last inspection date

nullable
nextDueDatedateoptioneel

Next inspection due date

nullable
intervalKmintegeroptioneel

Inspection interval in kilometers

≥ 0nullable
intervalMonthsintegeroptioneel

Inspection interval in months

≥ 0nullable
serviceScheduleobjectoptioneel
nullable
lastServiceDatedateoptioneel

Last workshop inspection / service date

nullable
nextDueDatedateoptioneel

Next workshop inspection / service due date

nullable
intervalMonthsintegeroptioneel

Service interval in months (default 24 when empty)

1 – 120nullable
tiresobjectoptioneel
nullable
summerTiresobjectoptioneel
nullable
brandstringoptioneel
max. 100 tekensnullable
sizestringoptioneel
max. 50 tekensnullable
dotNumberstringoptioneel
max. 20 tekensnullable
treadDepthMmnumberoptioneel
≥ 0nullable
storageLocationstringoptioneel
max. 200 tekensnullable
winterTiresobjectoptioneel
nullable
brandstringoptioneel
max. 100 tekensnullable
sizestringoptioneel
max. 50 tekensnullable
dotNumberstringoptioneel
max. 20 tekensnullable
treadDepthMmnumberoptioneel
≥ 0nullable
storageLocationstringoptioneel
max. 200 tekensnullable
currentSetstringoptioneel

Currently mounted tire set

SUMMERWINTERALL_SEASON
nextChangeDatedateoptioneel

Next scheduled tire change date (YYYY-MM-DD)

nullable
ratePerKmstringoptioneel

Rate per kilometer in EUR (overrides global default)

Patternnullable
documentsobject[]optioneel
Default: []nullable
typestringvereist

Document type

REGISTRATIONINSURANCELEASESERVICETUVOTHER
titlestringvereist

Document title

max. 200 tekens
attachmentIdstringvereist

Attachment file ID

uploadedAtdatetimeoptioneel

Upload timestamp

nullable
sharePointFolderIdstringoptioneel

Cached SharePoint folder ID (Graph driveItem ID) for this vehicle

max. 200 tekensnullable
notesstringoptioneel

Free-text notes

max. 5000 tekensnullable
tagsstring[]optioneel

Tags for categorization

Default: []

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

Zoeken