Get Driver Unit
Operation ID: getDriverUnit
Group: Value Accounting › Business Drivers › Driver Units
Open in the interactive reference
GET /value-accounting/driver-units/{id}
Read-only: Reads and returns; changes nothing.
Fetch one unit of measure of business drivers — the 'per what' a driver's values are read in, e.g. machine hours — by its id. Read-only. Prefer the driverUnits data-set (GET value-accounting/driver-units) when browsing or resolving a name, and searchDriverUnits (POST value-accounting/driver-units/search) for a name fragment; use this when you already hold an id and want just that row. An id that matches nothing is rejected with NOT_FOUND rather than returning an empty body.
Fetches one unit of measure of business drivers by the id in the path.
Prefer the driverUnits data-set (GET value-accounting/driver-units) when browsing or resolving a name to an id, and searchDriverUnits (POST value-accounting/driver-units/search) for a name fragment. Use this when you already hold an id and want just that row, or to confirm it still resolves.
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 unit to fetch; bound from the :id path segment. Obtain it from the driverUnits data-set (GET value-accounting/driver-units), from searchDriverUnits (POST value-accounting/driver-units/search), or from the response of createDriverUnit (POST value-accounting/driver-units). An id that matches no unit is rejected with NOT_FOUND. Ids are matched case-insensitively and returned in canonical lowercase. |
Response
200 Success
Under data (getDriverUnitOutput):
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Id (a UUID) of the unit, in canonical lowercase — the id that was passed in, echoed so a response stands on its own. |
name |
string | yes | Display name of the unit, e.g. 'Machine hours'. Unique tenant-wide, compared trimmed and case-insensitively; stored trimmed. |
description |
string | no | Longer free-text explanation of what the unit measures. Absent — not null — when it was never set or has been cleared. |
lastModifiedDate |
date-time | yes | Instant the unit last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). The same value the list and search targets publish. |
{
"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
400— Invalid request or business failure. Codes: NOT_FOUND401— The request carries no valid access token.403— Not authorized404— Not found429— Too many requests from this client address. The response has no body and noRetry-Afterheader.500— Internal server error