Vehicle Contracts
Todas las operaciones de Vehicle Contracts.
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 Contract | vehicle_contract |
19 | — | vehicle_contract_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/vehicle_contracts |
Create vehicle_contract | Create a new vehicle_contract in the active tenant. |
DELETE |
/v1/vehicle_contracts/{id} |
Delete vehicle_contract | Soft delete entity. |
GET |
/v1/vehicle_contracts/{id} |
Get vehicle_contract by id | Fetch a single vehicle_contract. |
GET |
/v1/vehicle_contracts/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/vehicle_contracts/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/vehicle_contracts/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/vehicle_contracts |
List vehicle_contracts | List vehicle_contracts for the active tenant. |
PATCH |
/v1/vehicle_contracts/{id} |
Patch vehicle_contract | JSON Merge Patch update. |
POST |
/v1/vehicle_contracts/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/vehicle_contracts/{id}/transition |
POST /v1/vehicle_contracts/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/vehicle_contracts/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/vehicle_contracts/{id} |
Replace vehicle_contract | Full replace with optimistic locking. |