Units

unit_quantity_value_convert_all_summary

unit_quantity_value_convert_all_description

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

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

Query parameters

fromUnitIdstring required
Example:Example string

Id of the unit to convert from

valuenumber required
Example:3.14

Value to convert.

Response

unit_quantity_value_convert_all_success_response

additionalAttributesobject

AdditionalAttributes

originalValueinteger required

Original Value

fromUnitIdstring required

From Unit Id

Example response

{
  "originalValue": 5,
  "fromUnitId": "m",
  "convertedValues": [
    {
      "unitAbbreviation": "m",
      "unitLongName": "Meter",
      "convertedValue": 160
    }
  ]
}

Changes

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