Get Category

Operation ID: getCategory

Group: Value Accounting › Categories

Open in the interactive reference

GET /value-accounting/categories/{id}

Read-only: Reads and returns; changes nothing.

Fetch one value accounting category — the grouping label value objects, custom value objects and value centers are filed under — by its id. Read-only. Prefer the categories data-set (GET value-accounting/categories) when browsing, and searchCategories (POST value-accounting/categories/search) when resolving a name to an id; use this when you already hold an id and want just that row, or to confirm it still resolves before writing a categoryId that points at it. An id that matches nothing is rejected with NOT_FOUND rather than returning an empty body.

Fetches one value accounting category by the id in the path.

Prefer the categories data-set (GET value-accounting/categories) when browsing, and searchCategories (POST value-accounting/categories/search) when looking a category up by name. Use this when you already hold an id and want just that row, or to confirm an id still resolves before writing a categoryId that points at it.

An id that matches nothing fails with NOT_FOUND rather than returning an empty body, so a caller can tell a missing row from an empty one.

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 category to fetch; bound from the :id path segment. Obtain it from the categories data-set (GET value-accounting/categories), from searchCategories (POST value-accounting/categories/search), or from the response of createCategory (POST value-accounting/categories). An id that matches no category is rejected with NOT_FOUND. Ids are matched case-insensitively and returned in canonical lowercase.

Response

200 Success

Under data (getCategoryOutput):

Field Type Required Description
id string yes Id (a UUID) of the category — the id that was passed in, echoed so a response stands on its own.
name string yes Display name of the category, e.g. 'Research & Development'. Unique across all categories — this resource's semantic key — so a name identifies exactly one category.
description string no Longer free-text explanation of what the category is for. Absent — not null — when it was never set or has been cleared.
lastModifiedDate date-time yes Instant the category last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). The same value the list and search targets publish, so the three reads can be used interchangeably.
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "<name>",
    "description": "<description>",
    "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