Vehicle Costs
Todas las operaciones de Vehicle Costs.
Modelo de datos
Los endpoints de este módulo trabajan sobre la siguiente entidad. La referencia del esquema enumera cada campo con tipo, validación y relaciones:
| Entidad | ID del esquema | Campos | Secuencia | Permisos |
|---|---|---|---|---|
| Vehicle Cost | vehicle_cost |
9 | — | vehicle_cost_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
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. |