Skip to main content

UnitListItemDto

idnumberrequired

Unique identifier for the unit

Example: 1
unitLanguages object[]required

Translations of the unit in different languages, should reflect the languages available in the workspace

  • Array [
  • languagestringrequired

    Language code

    Possible values: [nl, en, de]

    singularstringrequired

    Singular form of the unit in this language

    Example: hour
    pluralstringrequired

    Plural form of the unit in this language

    Example: hours
  • ]
  • globalbooleanrequired

    Whether the unit is global

    Example: false
    UnitListItemDto
    {
    "id": 1,
    "unitLanguages": [
    {
    "language": "nl",
    "singular": "Stuk",
    "plural": "Stuks"
    },
    {
    "language": "en",
    "singular": "Unit",
    "plural": "Units"
    },
    {
    "language": "de",
    "singular": "Einheit",
    "plural": "Einheiten"
    }
    ],
    "global": false
    }