Cost Types
Alle operaties rond Cost Types.
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 |
|---|---|---|---|---|
| Cost Type | cost_type |
8 | — | cost_type_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
POST |
/v1/cost_types |
Create cost_type | Create a new cost_type in the active tenant. |
DELETE |
/v1/cost_types/{id} |
Delete cost_type | Soft delete entity. |
GET |
/v1/cost_types/{id} |
Get cost_type by id | Fetch a single cost_type. |
GET |
/v1/cost_types/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/cost_types/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/cost_types/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/cost_types |
List cost_types | List cost_types for the active tenant. |
PATCH |
/v1/cost_types/{id} |
Patch cost_type | JSON Merge Patch update. |
POST |
/v1/cost_types/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/cost_types/{id}/transition |
POST /v1/cost_types/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/cost_types/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/cost_types/{id} |
Replace cost_type | Full replace with optimistic locking. |