Vehicle Contracts
Alle operaties rond Vehicle Contracts.
Datamodel
De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:
| Entiteit | Schema-ID | Velden | Volgnummer | Permissions |
|---|---|---|---|---|
| Vehicle Contract | vehicle_contract |
19 | — | vehicle_contract_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
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. |