API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

Vehicles

Alle operaties rond Vehicles.

Datamodel

De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:

Entiteit Schema-ID Velden Volgnummer Permissions
Vehicle vehicle 64 — vehicle_*

Endpoints

Methode Pad Operatie Beschrijving
POST /v1/vehicles Create vehicle Create a new vehicle in the active tenant.
DELETE /v1/vehicles/{id} Delete vehicle Soft delete entity.
GET /v1/vehicles/{id} Get vehicle by id Fetch a single vehicle.
GET /v1/vehicles/{vehicleId}/availability GET /v1/vehicles/{vehicleId}/availability Check if a vehicle is available for a given time range
GET /v1/vehicles/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/vehicles/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/vehicles/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/vehicles List vehicles List vehicles for the active tenant.
PATCH /v1/vehicles/{id} Patch vehicle JSON Merge Patch update.
POST /v1/vehicles/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/vehicles/{id}/transition POST /v1/vehicles/{id}/transition CodeMeta OS API endpoint.
POST /v1/vehicles/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/vehicles/{id} Replace vehicle Full replace with optimistic locking.

Zoeken