Get a BML Attribute Lookup
get
/rest/v19/bml/attributeLookups/{lookupType}
This operation returns the specified attribute lookup type.
Request
Path Parameters
-
lookupType(required): string
Name of the lookup to fetch.
Query Parameters
-
excludeLinks: string
Exclude specified link types.
Response
Supported Media Types
- application/json
Default Response
BML Attribute Lookup Function
Root Schema : lookupFunction
Type:
Show Source
object
-
description:
string
Title:
description
Description of the lookup. -
displayLabel:
string
Title:
displayLabel
Name of the lookup. -
links:
array Links to the related objects
Title:
Links to the related objects
Links to the related objects -
lookupType:
string
Title:
lookupType
Type of the lookup.
Nested Schema : Links to the related objects
Type:
array
Title:
Links to the related objects
Links to the related objects
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : referenceLinks
Type:
object
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
rel:
string
Title:
Link Relationship to the current object
Link Relationship to the current object
Examples
The following example shows how to retrieve the specified BML attribute 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/attributeLookups/commonVariables
Response Body Sample
{ "lookupType": "commonVariables", "displayLabel": "Common Variables", "description": "Common Variables", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/cpq/rest/v19/bml/attributeLookups/commonVariables" }, { "rel": "parent", "href": "https://sitename.oracle.com/cpq/rest/v19/bml/attributeLookups" }, { "rel": "child", "href": "https://sitename.oracle.com/cpq/rest/v19/bml/attributeLookups/commonVariables/lookupValues" } ] }