ConnectCloud Developers

List the UN/ECE Recommendation 20 unit codes (tenant:masterdata:read)

GET /api/masterdata/lookups/unece-units

Module: Master data · operationId: listUneceUnits · Tag: Lookups · Auth: access token (Authorization: Bearer <accessToken>)

The catalogue a unit's uneceCode must come from. unece-units is a fixed route, not a parameter table.

Responses

  • 200 Catalogue (application/json)
  • 401 Missing, invalid or expired token (empty body)
  • 403 The token lacks the permission or carries no tenant (application/json)

Fields of the 200 answer:

  • items (array of UneceUnit, required)
    • code (string, required): UN/ECE Recommendation 20 unit code
    • name (string, required): German name of the unit

Example 200 answer:

{
  "items": [
    {
      "code": "C62",
      "name": "Stück"
    },
    {
      "code": "HUR",
      "name": "Stunde"
    },
    {
      "code": "MTR",
      "name": "Meter"
    }
  ]
}

Example request

curl -X GET 'https://api.mbcom.cloud/api/masterdata/lookups/unece-units' \
  -H "Authorization: Bearer $ACCESS_TOKEN"

View as Markdown · Interactive reference · OpenAPI