View Target Units
You use this API to convert list of source values, source units, and target unit of systems to target values.
Request
-
HTTP Method: POST
-
URL: APPLICATION_URL/services/api/v1/uom/targetunits
-
Query param:unitSystem={unitSystem}&isoCodeFlag={true/false}
-
If the isoCodeFlag is true, this API consider source units as ISO codes
-
If the isoCodeFlag is false, this API consider source units as unit codes
-
-
Request Schema:To know about fields that you can use in a request payload, refer to the request schema in the https://help.sap.com/doc/6da2c2bae7a349feba484033ea61f1c1/1902/en-US/UOM.html#targetunits_post file.
Response
-
Based on the unit system, the API provides the list of target units.
For more information, see https://help.sap.com/doc/6da2c2bae7a349feba484033ea61f1c1/1902/en-US/UOM.html#targetunits_post.