Creating a unit with language map
POST {{api-url}}/unit-handling/{{tenant}}/units
Request Body
{"code"=>"code2", "name"=>{"de"=>"unit name in de", "en"=>"unit name in en"}, "type"=>"test", "baseUnit"=>false, "factor"=>0.001}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Content-Language | string |
RESPONSES
status: Created
{"code":"unitcode2"}