Get a Supported Currency Lookup
get
/rest/v19/pricingSetup/lookups/currencies/{lookupId}
Use this endpoint to retrieve a supported currency using the specified lookup Id.
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 ByRead Only:trueThe details of the user who created the record. -
description:
string()
Title:
Country NameRead Only:trueThe country name -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
id:
string()
Title:
IdRead Only:trueThe unique identifier of the currency. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
lookupCode:
string()
Title:
Currency CodeRead Only:trueThe currency code. -
meaning:
string()
Title:
Currency NameRead Only:trueThe currency name. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
storedPrecision:
integer()
Title:
Stored PrecisionRead Only:trueStored precision for the currency.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title:
Last Modified ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast 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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/pricingSetup/lookups/currencies/5190371
Response Body Sample
{
"storedPrecision": 2,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/pricingSetup/lookups/currencies/5190371"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/pricingSetup/lookups/currencies"
}
],
"id": "5190371",
"lookupCode": "GBP",
"meaning": "United Kingdom Pound",
"description": "United Kingdom"
}