Vehicle Costs
All operations for Vehicle Costs.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Vehicle Cost | vehicle_cost |
9 | — | vehicle_cost_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/vehicle_costs |
Create vehicle_cost | Create a new vehicle_cost in the active tenant. |
DELETE |
/v1/vehicle_costs/{id} |
Delete vehicle_cost | Soft delete entity. |
GET |
/v1/vehicle_costs/{id} |
Get vehicle_cost by id | Fetch a single vehicle_cost. |
GET |
/v1/vehicle_costs/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/vehicle_costs/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/vehicle_costs/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/vehicle_costs |
List vehicle_costs | List vehicle_costs for the active tenant. |
PATCH |
/v1/vehicle_costs/{id} |
Patch vehicle_cost | JSON Merge Patch update. |
POST |
/v1/vehicle_costs/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/vehicle_costs/{id}/transition |
POST /v1/vehicle_costs/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/vehicle_costs/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/vehicle_costs/{id} |
Replace vehicle_cost | Full replace with optimistic locking. |