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
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

Lookup Function Values.
Body ()
Root Schema : attributeLookupValues
Type: object
Show Source
Nested Schema : lookupValue
Type: object
Show Source
Back to Top

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"
        }
    ]
}
Back to Top