Get Dependent Attributes of Util Library Function

post

/rest/v19/bml/library/functions/actions/dependentAttributes

This operation returns all attributes which are being referenced in the specified libraries.

Request

Supported Media Types
Body ()
Util Libraries.
Root Schema : dependentAttributes-request
Type: object
Show Source
Nested Schema : The library functions list to add into library
Type: array
Title: The library functions list to add into library
The library functions list to add into library.
Show Source
Nested Schema : libraryFunctions
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

dependent attributes list.
Body ()
Root Schema : BML util libraries dependent attributes list
Type: object
Title: BML util libraries dependent attributes list
Dependent attributes list.
Show Source
Nested Schema : Util Libraries dependent attributes
Type: array
Title: Util Libraries dependent attributes
List of BML Util Libraries dependent attributes.
Show Source
Nested Schema : dependentAttributes
Type: object
Show Source
Nested Schema : dataType-value
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve all attributes which are referenced in the specified libraries by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X POST  -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/bml/library/functions/actions/dependentAttributes

Request Body Sample

{
  "libraryFunctions": [{
      "variableName": "concatString"
    }
  ]
}

Response Body Sample

{
  "items": [{
      "name": "_user_type",
      "description": "Current User's Type",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_first_name",
      "description": "Current User's First Name",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_language_preference",
      "description": "Current User's Language Preference",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_company_name",
      "description": "Current User's Company Name",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_supplier_company_name",
      "description": "Supplier's Company Name",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_login",
      "description": "Current User's Login",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_currency_preference",
      "description": "Current User's Currency Pref",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_session_id",
      "description": "Current User's Session Id",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_group",
      "description": "Current User's Groups",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_number_format",
      "description": "Current User's Number Format",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_partner_session_Id",
      "description": "Current User's Partner Session Id",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }, {
      "name": "_user_timezone",
      "description": "Current User's Time Zone",
      "dataType": {
        "value": 2,
        "displayValue": "String"
      }
    }
  ],
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/cpq/rest/v19/bml/library/functions/actions/dependentAttributes"
    }
  ]
}
Back to Top