Vehicle Contracts
All operations for Vehicle Contracts.
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 Contract | vehicle_contract |
19 | — | vehicle_contract_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
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. |