API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

Cost Centers

Toutes les opérations relatives à Cost Centers.

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

Endpoints

Méthode Chemin Opération 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.

Recherche