Naar hoofdinhoud
vehicles

Add a new vehicle to the database.

POST
/vehicle
X-API-Keystringheaderverplicht

Body

application/json

Vehicle object.

apkstring

The expiry date of the MOT (APK) of this vehicle.

ascriptionstring

The registration date (datum tenaamstelling) of this vehicle.

barcodestring

The barcode of this vehicle.

bpmstring

The gross BPM (Dutch vehicle tax) of this vehicle, as a numeric string.

brandstring

The make of this vehicle, filled from the RDW when a license plate is set.

builddatestring

The date of manufacture (first admission) of this vehicle.

categoriesobject[]

The categories of this vehicle.

client_idinteger

The ID of the client (klant) this vehicle belongs to when it is not from the own company.

codestring

The unique code of this vehicle, generated from the name when left empty.

colorstring

The color of this vehicle.

created_atstring

The date and time this vehicle was created.

default_operation_category_idinteger

The ID of the default operation category of this vehicle.

default_operation_idinteger

The ID of the default operation of this vehicle.

default_subuser_idinteger

The ID of the default subuser of this vehicle.

default_user_idinteger

The ID of the default employee of this vehicle.

deleted_atstring

The date and time this vehicle was archived, or null when it is not archived.

depreciationinteger

The depreciation period of this vehicle in years.

descriptionsobject[]

The descriptions logged for this vehicle.

discountstring

The legacy discount of this vehicle, as a numeric string. Rates are managed through pricings.

external_idsobject

The IDs of this vehicle in connected third-party applications, keyed by connection.

extra_dataobject

The values of the custom fields of this vehicle, keyed by custom field code.

idintegerverplicht

The ID of this vehicle.

insuredinteger

Whether this vehicle is third-party insured. Returned as 1 (yes) or 0 (no).

is_banned_from_zero_emission_zonesinteger

Whether this vehicle is not allowed in zero-emission zones. Returned as 1 (yes) or 0 (no).

is_internal_vehicleinteger

Whether this vehicle is from the own company. Returned as 1 (yes) or 0 (no).

licenseplatestring

The license plate of this vehicle.

manure_transport_keystring

The GR/GPS identification of this vehicle: the serial or combination number it reports to rVDM under.

manure_transport_typestring

The means of transport of this vehicle as reported to rVDM.

max_massstring

The maximum permitted mass of this vehicle, as a numeric string.

mileageinteger

The mileage of this vehicle.

mileagesobject[]

The mileage readings logged for this vehicle.

namestringverplicht

The name of this vehicle.

operating_hoursstring

The operating hours of this vehicle.

operating_hours_repobject[]

The operating hour readings logged for this vehicle.

pricestring

The legacy price of this vehicle, as a numeric string. Rates are managed through pricings.

price_perstring

The legacy price unit of this vehicle. Rates are managed through pricings.

rdwdatastring

The vehicle registration data retrieved from the RDW for the license plate, as a JSON-encoded string.

sort_orderinteger

The position of this vehicle in sorted lists.

stockinteger

The stock of this vehicle.

tiersobject[]

The legacy price tiers of this vehicle. Rates are managed through pricings.

typestring

The vehicle kind (voertuigsoort), filled from the RDW when a license plate is set.

updated_atstring

The date and time this vehicle was last updated.

user_group_idinteger

The ID of the user group this vehicle belongs to.

vehicle_numberstring

The serial number of this vehicle.

vehicle_typeinteger

Which vehicle kind this is, either 1 (vehicle), 2 (vehicle2) or 3 (vehicle3).

Antwoord

application/json

Successful operation.

dataobject

The result message and the result data.

statusstring

The result status, success.