Get All BML Lookup Values
get
/rest/v19/bml/lookups/{lookupType}/lookupValues
This operation returns all BML lookup values for the specified lookup type.
Request
Path Parameters
-
lookupType(required): string
Name of the lookup type to fetch lookup values.
Query Parameters
-
excludeLinks: string
Exclude specified link types.
Response
Supported Media Types
- application/json
Default Response
Lookup Function Values.
Root Schema : attributeLookupValues
Type:
Show Source
object-
dataType:
object lookupValue
-
description:
string
Title:
descriptionDescription of the lookup. -
displayLabel:
string
Title:
displayLabelName of the lookup. -
lookupCode:
string
Title:
lookupCodeAttribute look field name.
Nested Schema : lookupValue
Type:
Show Source
object-
displayLabel:
string
Title:
displayLabelLookup value data type. -
lookupCode:
integer
Title:
lookupCodeUnique number of the lookup value.
Examples
The following example shows how to retrieve all BML lookup values for the specified lookup type 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" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/bml/lookups/functionCategory/lookupValues
Response Body Sample
{
"items": [
{
"lookupCode": "ALL",
"displayLabel": "All Functions"
},
{
"lookupCode": "MATH",
"displayLabel": "Math"
},
{
"lookupCode": "URL",
"displayLabel": "URL Access"
},
{
"lookupCode": "ARRAY",
"displayLabel": "Array"
},
{
"lookupCode": "JSON",
"displayLabel": "Json"
},
{
"lookupCode": "DIRECT_DB_ACCESS",
"displayLabel": "Direct DB Access"
},
{
"lookupCode": "XML",
"displayLabel": "XML"
},
{
"lookupCode": "LOGICAL",
"displayLabel": "Conditional"
},
{
"lookupCode": "STRING",
"displayLabel": "String"
},
{
"lookupCode": "OTHERS",
"displayLabel": "Others"
},
{
"lookupCode": "DATE",
"displayLabel": "Date"
},
{
"lookupCode": "DICTIONARY",
"displayLabel": "Dictionary"
}
],
"links": [
{
"rel": "self",
"href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionCategory/lookupValues"
},
{
"rel": "parent",
"href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionCategory"
}
]
}