Get All BML Lookups

get

/rest/v19/bml/lookups

This operation returns all BML lookup types.

Request

Query Parameters
Back to Top

Response

Supported Media Types

Default Response

All BML Lookup Functions
Body ()
Root Schema : Lookup Functions
Type: object
Title: Lookup Functions
Lookup functions.
Show Source
Nested Schema : Lookups list
Type: array
Title: Lookups list
List of Lookups Functions
Show Source
Nested Schema : lookupFunction
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve all BML Lookup types 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

Response Body Sample

{
  "items": [{
      "lookupType": "functionCategory",
      "displayLabel": "Function Category",
      "description": "BML Function Categories",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionCategory"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionCategory/lookupValues"
        }
      ]
    }, {
      "lookupType": "functionParamDataTypes",
      "displayLabel": "Function Param Data Types",
      "description": "BML Function Parameter types",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionParamDataTypes"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionParamDataTypes/lookupValues"
        }
      ]
    }, {
      "lookupType": "functionReturnTypes",
      "displayLabel": "Function Return Type",
      "description": "BML function return types",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionReturnTypes"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/functionReturnTypes/lookupValues"
        }
      ]
    }, {
      "lookupType": "operators",
      "displayLabel": "Operators",
      "description": "BML Operators",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/operators"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups/operators/lookupValues"
        }
      ]
    }
  ],
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/cpq/rest/v19/bml/lookups"
    }
  ]
}
Back to Top