Units

Convert quantity value from one unit to another

Convert quantity <strong>{value}</strong> from one unit to another based on the given <strong>{fromUnitId}</strong> and <strong>{toUnitId}</strong>

get/pimcore-studio/api/unit/quantity-value/convert

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/convert
  • Auth: none declared

Query parameters

fromUnitIdstring required
Example:Example string

Id of the unit to convert from

toUnitIdstring required
Example:Example string

Id of the unit to convert to

valuenumber required
Example:3.14

Value to convert.

Response

Converted quantity value

Changes

No recorded changes to this operation across all 2 revisions of this API.