Get Value Center

Operation ID: getValueCenter

Group: Value Accounting › Value Centers

Open in the interactive reference

GET /value-accounting/value-centers/{id}

Read-only: Reads and returns; changes nothing.

Fetch one value center — the responsibility unit journal lines are tagged to and figures roll up through — by its id, with every master-data mapping it carries (each record as {dimensionCode, id}), its parent and its DIRECT children. Read-only. Prefer searchValueCenters (POST value-accounting/value-centers/search) to find a value center by name, code, parent or the record it stands for; use this when you already hold an id, or to confirm it still resolves before writing against it. The whole subtree or chain of parents is getValueCenterHierarchy (GET value-accounting/value-centers/:id/hierarchy). An id that matches nothing is rejected with NOT_FOUND rather than returning an empty body.

Fetches one value center by the id in the path, with every master-data mapping it carries, its parent and its direct children.

Each mapping names its record as the pair {dimensionCode, id} — the same identity ensureRelationship (POST value-accounting/associations) and resolveReportingTags (POST base/reporting-tags/resolve) use — so a caller can go straight from a value center to the department or team it stands for. A value center with no mapping is valid and returns an empty mappings array. A mapping whose record no longer resolves keeps its row with record absent, so it can still be seen and removed by its id.

parentId is the parent value center's id (absent for a root) and children lists the value centers hanging DIRECTLY under this one, by id and name. The whole subtree, or the whole chain of parents, is getValueCenterHierarchy (GET value-accounting/value-centers/:id/hierarchy).

Prefer searchValueCenters (POST value-accounting/value-centers/search) when looking a value center up by name, code, parent or record, and the valueCenters data-set (GET value-accounting/value-centers) when browsing. An id that matches nothing fails with NOT_FOUND rather than returning an empty body.

Parameters

Name In Type Required Description
Api-Version header string · v1 yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.
id path string yes Id (a UUID) of the value center to fetch; bound from the :id path segment. Obtain it from the valueCenters data-set (GET value-accounting/value-centers), from the search or from the create response. An id that matches no value center is rejected with NOT_FOUND. Ids are matched case-insensitively and returned in canonical lowercase.

Response

200 Success

Under data (getValueCenterOutput):

Field Type Required Description
id string yes Id (a UUID) of the value center — the id that was passed in, in canonical lowercase.
name string yes Display name of the value center — for one the system maintains for a department or team, derived from that record and kept in step. Names are not unique.
centerNumber string no System-assigned business number, e.g. 'VC-461358' — unique and never caller-supplied.
description string no Longer free-text explanation of what the value center is for. Absent — not null — when unset.
centerCode string no Tenant-assigned code identifying the value center, unique among the value centers that have one. Absent — not null — when it has none.
startDate date yes First day the value center is valid, inclusive. Format YYYY-MM-DD.
endDate date no Last day the value center is valid, inclusive. Format YYYY-MM-DD. Absent — not null — when it is open-ended.
status string yes Lifecycle state, derived from the dates: 'active', 'planned' (startDate after today), 'inactive' (endDate before today, UTC — the end date is inclusive) or 'canceled' (endDate before startDate). The same rule the list and the search apply.
categoryId string no Id (a UUID) of the category the value center is filed under, as listed by the categories data-set (GET value-accounting/categories). Absent — not null — when it is uncategorised.
parentId string no Id (a UUID) of the value center this one hangs under — its direct parent. Absent — not null — for a root. Move it with parentId on updateValueCenter (PATCH value-accounting/value-centers/:id).
isSystemManaged boolean yes True when the system maintains this value center as the mirror of a department or team (it was created by the Department/Team automation or by a value-center import, which are the only writers of that mark). Its name, centerCode, startDate, categoryId and mappings then follow the record and are refused on PATCH with SYSTEM_MANAGED; endDate, parentId (no Department/Team hook places it in the tree) and description stay editable, and the description can be replaced but not cleared. Derived from how the value center was created, never an input.
mappingCount number yes How many mappings the value center carries — the length of mappings, the same number the list publishes. 0 is valid: a value center need not stand for any record.
lastModifiedDate date-time yes Instant the value center's own fields last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). The same value the list publishes; an edit of the mappings alone does not move it.
mappings array<object> yes The master-data records the value center stands for, one entry per mapping, oldest first. Empty for a value center that stands for no record, one entry for a 1:1 value center, several for a cluster. Edit them with createMappings / updateMappings / deleteMappings on updateValueCenter (PATCH value-accounting/value-centers/:id).
mappings[].id string yes Id (a UUID) of the mapping itself — what updateMappings and deleteMappings on updateValueCenter (PATCH value-accounting/value-centers/:id) are keyed by. Not the record's id.
mappings[].record object no The master-data record this mapping names, as the pair ensureRelationship (POST value-accounting/associations) and resolveReportingTags (POST base/reporting-tags/resolve) use. Absent when the record no longer resolves — it was deleted, or the mapping names a record outside the ten tag dimensions — so the row can still be removed by its id.
mappings[].record.dimensionCode string yes Dimension the record belongs to: one of 'department', 'businessUnit', 'team', 'location', 'region', 'employee', 'vendor', 'customer', 'valueCenter', 'custom' (a custom value object). The system itself maps departments and teams.
mappings[].record.id string yes Id (a UUID) of the master-data record, in canonical lowercase.
mappings[].inCluster boolean yes Stored cluster flag: true when the value center's mappings open on the day of the last write to them named more than one distinct record; false for a 1:1 mapping. It describes that day only — nothing re-settles it when a mapping starts or ends later — so it is informational: which value center a record resolves to, and every other one-to-one decision, is judged from the mappings open on the day asked, never from this flag.
mappings[].startDate date no First day the mapping is valid, inclusive. Format YYYY-MM-DD. Absent on rows written without one.
mappings[].endDate date no Last day the mapping is valid, inclusive. Format YYYY-MM-DD. Absent when open-ended. A delete that deactivates the value center end-dates every mapping with it.
children array<object> yes The value centers hanging DIRECTLY under this one, ordered by name — one level of the tree, whatever their status. Empty for a leaf. For every level below, use getValueCenterHierarchy (GET value-accounting/value-centers/:id/hierarchy?direction=descendants).
children[].id string yes Id (a UUID) of the child value center — the id GET value-accounting/value-centers/:id is keyed by.
children[].name string yes Display name of the child value center.
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "<name>",
    "centerNumber": "<centerNumber>",
    "description": "<description>",
    "centerCode": "<centerCode>",
    "startDate": "2026-01-15",
    "endDate": "2026-01-15",
    "status": "<status>",
    "categoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "parentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "isSystemManaged": true,
    "mappingCount": 0,
    "lastModifiedDate": "2026-01-15T09:30:00.000Z",
    "mappings": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "record": {
          "dimensionCode": "<dimensionCode>",
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "inCluster": true,
        "startDate": "2026-01-15",
        "endDate": "2026-01-15"
      }
    ],
    "children": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "name": "<name>"
      }
    ]
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
NOT_FOUND 400

Statuses