Unit Conversion REST API

Overview

The v11 Unit Conversion REST API, delivered in Oracle CPQ 21A, provides support for unit conversion support for Float Attributes.Refer to the Unit Conversion topic for additional information.

Administration

Closed Get Unit Conversions

Get All Unit Conversions GET Method
Description Use this endpoint to retrieve a list of conversion units. The REST API returns the following items for each conversion unit: unit variable name, identifier, group variable name, unit display name, and a link to the conversion.
URI Endpoint

/rest/v17/conversionUnits

Endpoint Parameters

This endpoint supports query specifications that follow Oracle CPQ query and pagination parameters syntax. Query specifications follow a subset of MongoDB syntax and can be used to organize or narrow return data. For more information, see Manage Collections.

The {"groupVarName":"value"} endpoint query can be used to return conversion units for a specific unit class.

HTTP Method GET

Request Body Parameters

None

Response Body Parameters

 

 

 

groupVarName

The conversion class name

id

The Id of the conversion unit

unitDisplayName

The conversion unit display name

unitVarName

The conversion unit variable name

ClosedURI Endpoint Sample

https://sitename.oracle.com/rest/v17/conversionUnits


ClosedResponse Sample

{ "hasMore": false, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits" } ], "items": [{ "unitVarName": "ft/s2", "id": 4115068, "groupVarName": "Acceleration", "unitDisplayName": "ft/s2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115068" } ], }, { "unitVarName": "gravity (g)", "id": 4115069, "groupVarName": "Acceleration", "unitDisplayName": "gravity (g)", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115069" } ], }, { "unitVarName": "m/s2", "id": 4115070, "groupVarName": "Acceleration", "unitDisplayName": "m/s2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115070" } ], }, { "unitVarName": "degrees", "id": 4115078, "groupVarName": "Angle", "unitDisplayName": "degrees", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115078" } ], }, { "unitVarName": "radians", "id": 4115079, "groupVarName": "Angle", "unitDisplayName": "radians", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115079" } ], }, { "unitVarName": "revolutions", "id": 4115080, "groupVarName": "Angle", "unitDisplayName": "revolutions", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115080" } ], }, { "unitVarName": "cm2", "id": 4115088, "groupVarName": "Area", "unitDisplayName": "cm2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115088" } ], }, { "unitVarName": "ft2", "id": 4115089, "groupVarName": "Area", "unitDisplayName": "ft2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115089" } ], }, { "unitVarName": "in2", "id": 4115090, "groupVarName": "Area", "unitDisplayName": "in2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115090" } ], }, { "unitVarName": "m2", "id": 4115091, "groupVarName": "Area", "unitDisplayName": "m2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115091" } ], }, { "unitVarName": "mm2", "id": 4115092, "groupVarName": "Area", "unitDisplayName": "mm2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115092" } ], }, { "unitVarName": "cfm", "id": 4115114, "groupVarName": "Compressor Flow Rate", "unitDisplayName": "cfm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115114" } ], }, { "unitVarName": "m3/hr", "id": 4115115, "groupVarName": "Compressor Flow Rate", "unitDisplayName": "m3/hr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115115" } ], }, { "unitVarName": "m3/sec", "id": 4115116, "groupVarName": "Compressor Flow Rate", "unitDisplayName": "m3/sec", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115116" } ], }, { "unitVarName": "Amps", "id": 4115124, "groupVarName": "Current", "unitDisplayName": "Amps", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115124" } ], }, { "unitVarName": "kA", "id": 4115125, "groupVarName": "Current", "unitDisplayName": "kA", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115125" } ], }, { "unitVarName": "mA", "id": 4115126, "groupVarName": "Current", "unitDisplayName": "mA", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115126" } ], }, { "unitVarName": "g/cm3", "id": 4115134, "groupVarName": "Density", "unitDisplayName": "g/cm3", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115134" } ], }, { "unitVarName": "kg/m3", "id": 4115135, "groupVarName": "Density", "unitDisplayName": "kg/m3", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115135" } ], }, { "unitVarName": "lb/ft3", "id": 4115136, "groupVarName": "Density", "unitDisplayName": "lb/ft3", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115136" } ], }, { "unitVarName": "lb/in3", "id": 4115137, "groupVarName": "Density", "unitDisplayName": "lb/in3", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115137" } ], }, { "unitVarName": "centimeter", "id": 4115151, "groupVarName": "Diameter", "unitDisplayName": "centimeter", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115151" } ], }, { "unitVarName": "inch", "id": 4115152, "groupVarName": "Diameter", "unitDisplayName": "inch", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115152" } ], }, { "unitVarName": "millimeter", "id": 4115153, "groupVarName": "Diameter", "unitDisplayName": "millimeter", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115153" } ], }, { "unitVarName": "BTU", "id": 4115161, "groupVarName": "Energy", "unitDisplayName": "BTU", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115161" } ], }, { "unitVarName": "J", "id": 4115162, "groupVarName": "Energy", "unitDisplayName": "J", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115162" } ], }, { "unitVarName": "kiloWatt-hour", "id": 4115165, "groupVarName": "Energy", "unitDisplayName": "Kilowatt-hour", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115165" } ], }, { "unitVarName": "ft-lbf", "id": 4115163, "groupVarName": "Energy", "unitDisplayName": "ft-lbf", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115163" } ], }, { "unitVarName": "kJ", "id": 4115164, "groupVarName": "Energy", "unitDisplayName": "kJ", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115164" } ], }, { "unitVarName": "Feet", "id": 41366057, "groupVarName": "Feet to Meters", "unitDisplayName": "Feet", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/41366057" } ], }, { "unitVarName": "Meters", "id": 41366058, "groupVarName": "Feet to Meters", "unitDisplayName": "Meters", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/41366058" } ], }, { "unitVarName": "MGD (mil. gal/day)", "id": 4115187, "groupVarName": "Flow Rate", "unitDisplayName": "MGD (mil. gal/day)", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115187" } ], }, { "unitVarName": "cfm", "id": 4115188, "groupVarName": "Flow Rate", "unitDisplayName": "cfm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115188" } ], }, { "unitVarName": "gph", "id": 4115189, "groupVarName": "Flow Rate", "unitDisplayName": "gph", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115189" } ], }, { "unitVarName": "gpm", "id": 4115190, "groupVarName": "Flow Rate", "unitDisplayName": "gpm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115190" } ], }, { "unitVarName": "liters/min", "id": 4115191, "groupVarName": "Flow Rate", "unitDisplayName": "liters/min", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115191" } ], }, { "unitVarName": "liters/sec", "id": 4115192, "groupVarName": "Flow Rate", "unitDisplayName": "liters/sec", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115192" } ], }, { "unitVarName": "m3/hr", "id": 4115193, "groupVarName": "Flow Rate", "unitDisplayName": "m3/hr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115193" } ], }, { "unitVarName": "m3/sec", "id": 4115194, "groupVarName": "Flow Rate", "unitDisplayName": "m3/sec", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115194" } ], }, { "unitVarName": "N", "id": 4115252, "groupVarName": "Force", "unitDisplayName": "N", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115252" } ], }, { "unitVarName": "kN", "id": 4115253, "groupVarName": "Force", "unitDisplayName": "kN", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115253" } ], }, { "unitVarName": "lbf", "id": 4115254, "groupVarName": "Force", "unitDisplayName": "lbf", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115254" } ], }, { "unitVarName": "mN", "id": 4115255, "groupVarName": "Force", "unitDisplayName": "mN", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115255" } ], }, { "unitVarName": "MPa", "id": 4115269, "groupVarName": "Head", "unitDisplayName": "MPa", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115269" } ], }, { "unitVarName": "atm", "id": 4115270, "groupVarName": "Head", "unitDisplayName": "atm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115270" } ], }, { "unitVarName": "bar", "id": 4115271, "groupVarName": "Head", "unitDisplayName": "bar", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115271" } ], }, { "unitVarName": "ft H2O", "id": 4115272, "groupVarName": "Head", "unitDisplayName": "ft H2O", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115272" } ], }, { "unitVarName": "kPa", "id": 4115273, "groupVarName": "Head", "unitDisplayName": "kPa", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115273" } ], }, { "unitVarName": "m H2O", "id": 4115274, "groupVarName": "Head", "unitDisplayName": "m H2O", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115274" } ], }, { "unitVarName": "psi", "id": 4115275, "groupVarName": "Head", "unitDisplayName": "psi", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115275" } ], }, { "unitVarName": "cm", "id": 4115319, "groupVarName": "Length", "unitDisplayName": "Centimeters", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115319" } ], }, { "unitVarName": "ft", "id": 4115320, "groupVarName": "Length", "unitDisplayName": "Feet", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115320" } ], }, { "unitVarName": "in", "id": 4115321, "groupVarName": "Length", "unitDisplayName": "Inches", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115321" } ], }, { "unitVarName": "km", "id": 4115322, "groupVarName": "Length", "unitDisplayName": "Kilometers", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115322" } ], }, { "unitVarName": "m", "id": 4115323, "groupVarName": "Length", "unitDisplayName": "Meters", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115323" } ], }, { "unitVarName": "mile", "id": 4115324, "groupVarName": "Length", "unitDisplayName": "Miles", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115324" } ], }, { "unitVarName": "mm", "id": 4115325, "groupVarName": "Length", "unitDisplayName": "Millimeters", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115325" } ], }, { "unitVarName": "yard", "id": 4115326, "groupVarName": "Length", "unitDisplayName": "Yards", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115326" } ], }, { "unitVarName": "grams", "id": 4115384, "groupVarName": "Mass", "unitDisplayName": "grams", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115384" } ], }, { "unitVarName": "kg", "id": 4115385, "groupVarName": "Mass", "unitDisplayName": "kg", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115385" } ], }, { "unitVarName": "lbs", "id": 4115386, "groupVarName": "Mass", "unitDisplayName": "lbs", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115386" } ], }, { "unitVarName": "metric tonne", "id": 4115387, "groupVarName": "Mass", "unitDisplayName": "metric tonne", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115387" } ], }, { "unitVarName": "mg", "id": 4115388, "groupVarName": "Mass", "unitDisplayName": "mg", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115388" } ], }, { "unitVarName": "ounces", "id": 4115389, "groupVarName": "Mass", "unitDisplayName": "ounces", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115389" } ], }, { "unitVarName": "ton (long, 2240 lbm)", "id": 4115390, "groupVarName": "Mass", "unitDisplayName": "ton (long, 2240 lbm)", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115390" } ], }, { "unitVarName": "ton (short, 2000 lbm)", "id": 4115391, "groupVarName": "Mass", "unitDisplayName": "ton (short, 2000 lbm)", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115391" } ], }, { "unitVarName": "kg/hr", "id": 4115449, "groupVarName": "Mass Flow", "unitDisplayName": "kg/hr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115449" } ], }, { "unitVarName": "kg/min", "id": 4115450, "groupVarName": "Mass Flow", "unitDisplayName": "kg/min", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115450" } ], }, { "unitVarName": "lbm/hr", "id": 4115451, "groupVarName": "Mass Flow", "unitDisplayName": "lbm/hr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115451" } ], }, { "unitVarName": "lbm/min", "id": 4115452, "groupVarName": "Mass Flow", "unitDisplayName": "lbm/min", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115452" } ], }, { "unitVarName": "micro-inch", "id": 4115466, "groupVarName": "Micro-length", "unitDisplayName": "micro-inch", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115466" } ], }, { "unitVarName": "micron", "id": 4115467, "groupVarName": "Micro-length", "unitDisplayName": "micron", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115467" } ], }, { "unitVarName": "mol/hr", "id": 4115471, "groupVarName": "Molar Flow Rate", "unitDisplayName": "mol/hr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115471" } ], }, { "unitVarName": "mol/min", "id": 4115472, "groupVarName": "Molar Flow Rate", "unitDisplayName": "mol/min", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115472" } ], }, { "unitVarName": "mol/sec", "id": 4115473, "groupVarName": "Molar Flow Rate", "unitDisplayName": "mol/sec", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115473" } ], }, { "unitVarName": "g/mol", "id": 4115481, "groupVarName": "Molecular Weight", "unitDisplayName": "g/mol", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115481" } ], }, { "unitVarName": "kg-cm2", "id": 4115483, "groupVarName": "Moment of Inertia", "unitDisplayName": "kg-cm2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115483" } ], }, { "unitVarName": "kg-m2", "id": 4115484, "groupVarName": "Moment of Inertia", "unitDisplayName": "kg-m2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115484" } ], }, { "unitVarName": "lb-ft2", "id": 4115485, "groupVarName": "Moment of Inertia", "unitDisplayName": "lb-ft2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115485" } ], }, { "unitVarName": "lb-in2", "id": 4115486, "groupVarName": "Moment of Inertia", "unitDisplayName": "lb-in2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115486" } ], }, { "unitVarName": "BTU/hour", "id": 4115500, "groupVarName": "Power", "unitDisplayName": "BTU/hour", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115500" } ], }, { "unitVarName": "Watt", "id": 4115501, "groupVarName": "Power", "unitDisplayName": "Watt", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115501" } ], }, { "unitVarName": "hp", "id": 4115502, "groupVarName": "Power", "unitDisplayName": "hp", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115502" } ], }, { "unitVarName": "kW", "id": 4115503, "groupVarName": "Power", "unitDisplayName": "kW", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115503" } ], }, { "unitVarName": "MPa", "id": 4115517, "groupVarName": "Pressure", "unitDisplayName": "MPa", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115517" } ], }, { "unitVarName": "atm", "id": 4115518, "groupVarName": "Pressure", "unitDisplayName": "atm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115518" } ], }, { "unitVarName": "bar", "id": 4115519, "groupVarName": "Pressure", "unitDisplayName": "bar", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115519" } ], }, { "unitVarName": "kPa", "id": 4115520, "groupVarName": "Pressure", "unitDisplayName": "kPa", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115520" } ], }, { "unitVarName": "kg/cm2", "id": 4115521, "groupVarName": "Pressure", "unitDisplayName": "kg/cm2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115521" } ], }, { "unitVarName": "ksi", "id": 4115522, "groupVarName": "Pressure", "unitDisplayName": "ksi", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115522" } ], }, { "unitVarName": "mbar", "id": 4115523, "groupVarName": "Pressure", "unitDisplayName": "mbar", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115523" } ], }, { "unitVarName": "mtorr", "id": 4115524, "groupVarName": "Pressure", "unitDisplayName": "mtorr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115524" } ], }, { "unitVarName": "psi", "id": 4115525, "groupVarName": "Pressure", "unitDisplayName": "psi", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115525" } ], }, { "unitVarName": "torr", "id": 4115526, "groupVarName": "Pressure", "unitDisplayName": "torr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115526" } ], }, { "unitVarName": "kiloOhm", "id": 4115619, "groupVarName": "Resistance", "unitDisplayName": "Kiloohm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115619" } ], }, { "unitVarName": "milliOhm", "id": 4115620, "groupVarName": "Resistance", "unitDisplayName": "Milliohm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115620" } ], }, { "unitVarName": "Ohm", "id": 4115618, "groupVarName": "Resistance", "unitDisplayName": "Ohm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115618" } ], }, { "unitVarName": "C", "id": 4115628, "groupVarName": "Temperature", "unitDisplayName": "C", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115628" } ], }, { "unitVarName": "F", "id": 4115629, "groupVarName": "Temperature", "unitDisplayName": "F", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115629" } ], }, { "unitVarName": "K", "id": 4115630, "groupVarName": "Temperature", "unitDisplayName": "K", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115630" } ], }, { "unitVarName": "R", "id": 4115631, "groupVarName": "Temperature", "unitDisplayName": "R", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115631" } ], }, { "unitVarName": "day", "id": 4115645, "groupVarName": "Time", "unitDisplayName": "day", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115645" } ], }, { "unitVarName": "hour", "id": 4115646, "groupVarName": "Time", "unitDisplayName": "hour", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115646" } ], }, { "unitVarName": "millisecond", "id": 4115647, "groupVarName": "Time", "unitDisplayName": "millisecond", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115647" } ], }, { "unitVarName": "min", "id": 4115648, "groupVarName": "Time", "unitDisplayName": "min", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115648" } ], }, { "unitVarName": "sec", "id": 4115649, "groupVarName": "Time", "unitDisplayName": "sec", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115649" } ], }, { "unitVarName": "week", "id": 4115650, "groupVarName": "Time", "unitDisplayName": "week", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115650" } ], }, { "unitVarName": "N-m", "id": 4115682, "groupVarName": "Torque", "unitDisplayName": "N-m", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115682" } ], }, { "unitVarName": "kN-m", "id": 4115683, "groupVarName": "Torque", "unitDisplayName": "kN-m", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115683" } ], }, { "unitVarName": "lbf-ft", "id": 4115684, "groupVarName": "Torque", "unitDisplayName": "lbf-ft", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115684" } ], }, { "unitVarName": "lbf-in", "id": 4115685, "groupVarName": "Torque", "unitDisplayName": "lbf-in", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115685" } ], }, { "unitVarName": "N-m/deg", "id": 4115699, "groupVarName": "Torsional Stiffness", "unitDisplayName": "N-m/deg", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115699" } ], }, { "unitVarName": "kN-m/deg", "id": 4115700, "groupVarName": "Torsional Stiffness", "unitDisplayName": "kN-m/deg", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115700" } ], }, { "unitVarName": "lbf-ft/deg", "id": 4115701, "groupVarName": "Torsional Stiffness", "unitDisplayName": "lbf-ft/deg", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115701" } ], }, { "unitVarName": "lbf-in/deg", "id": 4115702, "groupVarName": "Torsional Stiffness", "unitDisplayName": "lbf-in/deg", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115702" } ], }, { "unitVarName": "ipm", "id": 4115716, "groupVarName": "Traverse Speed", "unitDisplayName": "ipm", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115716" } ], }, { "unitVarName": "mm/min", "id": 4115717, "groupVarName": "Traverse Speed", "unitDisplayName": "mm/min", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115717" } ], }, { "unitVarName": "ft/s", "id": 4115721, "groupVarName": "Velocity", "unitDisplayName": "ft/s", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115721" } ], }, { "unitVarName": "km/hr", "id": 4115722, "groupVarName": "Velocity", "unitDisplayName": "km/hr", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115722" } ], }, { "unitVarName": "m/s", "id": 4115723, "groupVarName": "Velocity", "unitDisplayName": "m/s", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115723" } ], }, { "unitVarName": "mph", "id": 4115724, "groupVarName": "Velocity", "unitDisplayName": "mph", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115724" } ], }, { "unitVarName": "Pa-s", "id": 4115738, "groupVarName": "Viscosity", "unitDisplayName": "Pa-s", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115738" } ], }, { "unitVarName": "Poise", "id": 4115739, "groupVarName": "Viscosity", "unitDisplayName": "Poise", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115739" } ], }, { "unitVarName": "cP", "id": 4115740, "groupVarName": "Viscosity", "unitDisplayName": "cP", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115740" } ], }, { "unitVarName": "lbf-sec/ft2", "id": 4115741, "groupVarName": "Viscosity", "unitDisplayName": "lbf-sec/ft2", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115741" } ], }, { "unitVarName": "kiloVolt", "id": 4115756, "groupVarName": "Voltage", "unitDisplayName": "Kilovolt", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115756" } ], }, { "unitVarName": "milliVolt", "id": 4115757, "groupVarName": "Voltage", "unitDisplayName": "Millivolt", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115757" } ], }, { "unitVarName": "Volt", "id": 4115755, "groupVarName": "Voltage", "unitDisplayName": "Volt", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115755" } ], }, { "unitVarName": "Cubic Inch", "id": 4115765, "groupVarName": "Volume", "unitDisplayName": "Cubic Inch", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115765" } ], }, { "unitVarName": "Cubic foot", "id": 4115766, "groupVarName": "Volume", "unitDisplayName": "Cubic foot", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115766" } ], }, { "unitVarName": "Cubic meter", "id": 4115767, "groupVarName": "Volume", "unitDisplayName": "Cubic meter", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115767" } ], }, { "unitVarName": "Cubic millimeter", "id": 4115768, "groupVarName": "Volume", "unitDisplayName": "Cubic millimeter", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115768" } ], }, { "unitVarName": "Gallons", "id": 4115769, "groupVarName": "Volume", "unitDisplayName": "Gallons", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115769" } ], }, { "unitVarName": "cubic centimeter", "id": 4115770, "groupVarName": "Volume", "unitDisplayName": "cubic centimeter", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115770" } ], }, { "unitVarName": "ounce", "id": 4115771, "groupVarName": "Volume", "unitDisplayName": "ounce", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115771" } ], } ], }


ClosedUnit Class Sample

The following endpoint query will return the energy conversion units.

https://sitename.oracle.com/rest/v17/conversionUnits?q={"groupVarName":"Energy"}

Response Sample

{ "hasMore": false, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits" } ], "items": [{ "unitVarName": "BTU", "id": 4115161, "groupVarName": "Energy", "unitDisplayName": "BTU", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115161" } ], }, { "unitVarName": "J", "id": 4115162, "groupVarName": "Energy", "unitDisplayName": "J", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115162" } ], }, { "unitVarName": "kiloWatt-hour", "id": 4115165, "groupVarName": "Energy", "unitDisplayName": "Kilowatt-hour", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115165" } ], }, { "unitVarName": "ft-lbf", "id": 4115163, "groupVarName": "Energy", "unitDisplayName": "ft-lbf", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115163" } ], }, { "unitVarName": "kJ", "id": 4115164, "groupVarName": "Energy", "unitDisplayName": "kJ", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115164" } ], } ], }


Closed Get Unit Conversion

Get Conversion Unit GET Method
Description Use this endpoint to retrieve the specified conversion unit. The REST API returns the following items for each conversion unit: unit variable name, identifier, group variable name, unit display name, and a link to the conversion.
URI Endpoint

/rest/v17/convertionUnits/id

Endpoint Parameters

id

The Id of the conversion unit
HTTP Method GET

Request Body Parameters

None

Response Body Parameters

 

 

 

groupVarName

The conversion class name

id

The Id of the conversion unit

unitDisplayName

The conversion unit display name

unitVarName

The conversion unit variable name

ClosedURI Endpoint Sample

https://sitename.oracle.com/rest/v17/conversionUnits/4115723


ClosedResponse Sample

{ "unitVarName": "m/s", "id": 4115723, "groupVarName": "Velocity", "unitDisplayName": "m/s", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v17/conversionUnits/4115723" } ], }


Related Topics

Related Topics Link IconSee Also