Get Value Object

Operation ID: getValueObject

Group: Value Accounting › Value Objects

Open in the interactive reference

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

Read-only: Reads and returns; changes nothing.

Fetch one value object — the value-accounting record journal lines are allocated to — by its id, with every master-data mapping it carries, each naming its record as {dimensionCode, id}. Read-only. Prefer searchValueObjects (POST value-accounting/value-objects/search) to find a value object by name, number or the record it stands for; use this when you already hold an id, or to confirm it still resolves before writing against it. An id that matches nothing is rejected with NOT_FOUND rather than returning an empty body.

Fetches one value object by the id in the path, with every master-data mapping it carries.

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 object to the department, customer or employee it stands for. A mapping whose record no longer resolves keeps its row with record absent, so it can still be seen and removed by its id.

Prefer searchValueObjects (POST value-accounting/value-objects/search) when looking a value object up by name, number or record, and the valueObjects data-set (GET value-accounting/value-objects) 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 object to fetch; bound from the :id path segment. Obtain it from the valueObjects data-set (GET value-accounting/value-objects), from the search or from the create response. An id that matches no value object is rejected with NOT_FOUND. Ids are matched case-insensitively and returned in canonical lowercase.

Response

200 Success

Under data (getValueObjectOutput):

Field Type Required Description
id string yes Id (a UUID) of the value object — the id that was passed in, in canonical lowercase.
name string yes Display name of the value object — for a mirror of a master-data record, the record's name, kept in step by the system. Names are not unique.
objectNumber string yes Business number of the value object, unique tenant-wide: the mapped record's own number or code for a 1:1 value object, a generated 'VO-n' otherwise.
startDate date yes First day the value object is valid, inclusive. Format YYYY-MM-DD.
endDate date no Last day the value object 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 object is filed under, as listed by the categories data-set (GET value-accounting/categories). Absent — not null — when it is uncategorised.
isSystemManaged boolean yes True when the system maintains this value object as the MIRROR of one master-data record: its mappings open today or later name exactly one record (ended history rows do not count; with none running, the ones that ended last decide) and it still carries one of the names the automation gives that record. A mirror's name, objectNumber, startDate, categoryId and mappings follow the record and are refused on PATCH with SYSTEM_MANAGED (the objectNumber is how the system recognises it); its endDate stays editable. A rendering hint derived on this read — the write decides for itself from what is stored when it runs.
mappingCount number yes How many mappings the value object carries — the length of mappings, the same number the list publishes.
lastModifiedDate date-time yes Instant the value object'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 object stands for, one entry per mapping, oldest first. One entry for a 1:1 value object, several for a cluster. Edit them with createMappings / updateMappings / deleteMappings on updateValueObject (PATCH value-accounting/value-objects/:id).
mappings[].id string yes Id (a UUID) of the mapping itself — what updateMappings and deleteMappings on updateValueObject (PATCH value-accounting/value-objects/: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).
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 object'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 object 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 object end-dates every mapping with it.
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "<name>",
    "objectNumber": "<objectNumber>",
    "startDate": "2026-01-15",
    "endDate": "2026-01-15",
    "status": "<status>",
    "categoryId": "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"
      }
    ]
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
NOT_FOUND 400

Statuses