Units
Create a new quantity value unit
Changed onCreate a new quantity value unit. The unit ID must be unique and not exceed 50 characters.
post/pimcore-studio/api/unit/quantity-value/units
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/unit/quantity-value/units
- Auth: none declared
Request body
Example request
{
"id": "mm",
"abbreviation": "mm",
"longname": "Millimeter",
"group": "Length",
"baseunit": "m",
"factor": 0.001
}Response
Created quantity value unit
Example response
{
"id": "mm",
"abbreviation": "mm",
"longName": "Millimeter",
"baseUnit": "m"
}Changes
- info
endpoint added
- info