Vehicle Contracts
Toutes les opérations relatives à Vehicle Contracts.
Modèle de données
Les endpoints de ce module portent sur l'entité suivante. La référence du schéma décrit chaque champ avec son type, sa validation et ses relations :
| Entité | ID du schéma | Champs | Séquence | Autorisations |
|---|---|---|---|---|
| Vehicle Contract | vehicle_contract |
19 | — | vehicle_contract_* |
Endpoints
| Méthode | Chemin | Opération | 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. |