Get Custom Value Object

Operation ID: getCustomValueObject

Group: Value Accounting › Custom Value Objects

Open in the interactive reference

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

Read-only: Reads and returns; changes nothing.

Fetch one custom value object — a value of a tenant-defined custom dimension, e.g. 'North' on the axis 'Region' — by its id. Read-only. Prefer the customValueObjects data-set (GET value-accounting/custom-value-objects) when browsing a dimension's values and searchCustomValueObjects (POST value-accounting/custom-value-objects/search) when looking one up by name; 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 custom value object by the id in the path.

Prefer the customValueObjects data-set (GET value-accounting/custom-value-objects) when browsing one dimension's values, and searchCustomValueObjects (POST value-accounting/custom-value-objects/search) when looking a value up by name — both return the same fields for many values in one call. Use this when you already hold an id and want just that value, or to confirm an id still resolves before writing against it.

The response is the value as a whole. Its shadow value object — the record value allocations tag against — and their mapping are maintained by this resource's writes and are not part of the item.

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 custom value object to fetch; bound from the :id path segment. Obtain it from the customValueObjects data-set (GET value-accounting/custom-value-objects) or from the create response. An id that matches no value is rejected with NOT_FOUND. Ids are matched case-insensitively and returned in canonical lowercase.

Response

200 Success

Under data (getCustomValueObjectOutput):

Field Type Required Description
id string yes Id (a UUID) of the custom value object — the id that was passed in, in canonical lowercase.
name string yes Display name of the value, e.g. 'North'. Unique within its dimension only.
customObjectNumber string no System-generated business number of the value, e.g. 'CVO-202360' — unique tenant-wide, never editable, the handle to quote to a human. Declared optional on the record, so a reader must tolerate its absence.
customValueDimensionId string yes Id (a UUID) of the custom value dimension this value belongs to, as listed by the customValueDimensions data-set (GET value-accounting/custom-value-dimensions).
categoryId string no Id (a UUID) of the category the value is filed under, as listed by the categories data-set (GET value-accounting/categories). Absent — not null — when the value is uncategorised.
startDate date yes First day the value is valid, inclusive. Format YYYY-MM-DD.
endDate date no Last day the value is valid, inclusive. Format YYYY-MM-DD. Absent — not null — when the value is open-ended.
isActive boolean yes Whether the value is active today: true when it has no endDate, or an endDate on or after today (UTC). The same rule the list and the search apply.
lastModifiedDate date-time yes Instant the value last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). The same value the list and the search publish.
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "<name>",
    "customObjectNumber": "<customObjectNumber>",
    "customValueDimensionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "categoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "startDate": "2026-01-15",
    "endDate": "2026-01-15",
    "isActive": true,
    "lastModifiedDate": "2026-01-15T09:30:00.000Z"
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
NOT_FOUND 400

Statuses