Skip to main content

CreateUnitBodyDto

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
  • ]
  • CreateUnitBodyDto
    {
    "unitLanguages": [
    {
    "language": "nl",
    "singular": "Stuk",
    "plural": "Stuks"
    },
    {
    "language": "en",
    "singular": "Unit",
    "plural": "Units"
    },
    {
    "language": "de",
    "singular": "Einheit",
    "plural": "Einheiten"
    }
    ]
    }