API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Cost Centers

All operations for Cost Centers.

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
Cost Center cost_center 10 — cost_center_*

Endpoints

Method Path Operation Description
POST /v1/cost_centers Create cost_center Create a new cost_center in the active tenant.
DELETE /v1/cost_centers/{id} Delete cost_center Soft delete entity.
GET /v1/cost_centers/{id} Get cost_center by id Fetch a single cost_center.
GET /v1/cost_centers/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/cost_centers/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/cost_centers/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/cost_centers List cost_centers List cost_centers for the active tenant.
PATCH /v1/cost_centers/{id} Patch cost_center JSON Merge Patch update.
POST /v1/cost_centers/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/cost_centers/{id}/transition POST /v1/cost_centers/{id}/transition CodeMeta OS API endpoint.
POST /v1/cost_centers/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/cost_centers/{id} Replace cost_center Full replace with optimistic locking.

Search