UnitListItemDto
idnumberrequired
Unique identifier for the unit
Example:
1unitLanguages 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:
hourpluralstringrequired
Plural form of the unit in this language
Example:
hours]
globalbooleanrequired
Whether the unit is global
Example:
falseUnitListItemDto
{
"id": 1,
"unitLanguages": [
{
"language": "nl",
"singular": "Stuk",
"plural": "Stuks"
},
{
"language": "en",
"singular": "Unit",
"plural": "Units"
},
{
"language": "de",
"singular": "Einheit",
"plural": "Einheiten"
}
],
"global": false
}