Get Conversion Unit

get

/rest/v19/conversionUnits/{id}

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.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Conversion Units
Type: object
Title: Conversion Units
Show Source
Back to Top

Examples

The following example shows how to retrieve the specified conversion unit by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/conversionUnits/4115723

Response Body Sample

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