Get Supported Currency Lookup
get
/rest/v16/pricingSetup/lookups/currencies/{lookupId}
Use this enpoint to retrive the specified supported currency lookup.
Request
Path Parameters
Query Parameters
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : CurrencyLookup
Type:
Show Source
object
-
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
description:
string()
Title:
Country Name
Read Only:true
The country name -
id:
string()
Title:
Id
Read Only:true
The unique identifier of the currency. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
lookupCode:
string()
Title:
Currency Code
Read Only:true
The currency code. -
meaning:
string()
Title:
Currency Name
Read Only:true
The currency name. -
storedPrecision:
integer()
Title:
Stored Precision
Read Only:true
Stored precision for the currency.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Examples
The following examples show how to retrieve a supported currency using the specified lookup Id by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/pricingSetup/lookups/currencies/5190371
Response Body Sample
{ "storedPrecision": 2, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/pricingSetup/lookups/currencies/5190371" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/pricingSetup/lookups/currencies" } ], "id": "5190371", "lookupCode": "GBP", "meaning": "United Kingdom Pound", "description": "United Kingdom" }