Debug Util Library Function

post

/rest/v19/bml/library/functions/actions/debug

This operation runs the Util Library function with provided input values.

Request

Supported Media Types
Body ()
Debug Util Library.
Root Schema : createUtilibrary-request
Type: object
Show Source
Nested Schema : The library attributes list to add into library
Type: array
Title: The library attributes list to add into library
The attributes list to add into library.
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 : The parameters list to add into library
Type: array
Title: The parameters list to add into library
The parameters list to add into library.
Show Source
Nested Schema : dataType-value
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : libraryFunctions
Type: object
Show Source
Nested Schema : parametersList
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Debug response.
Body ()
Root Schema : debugLibrary-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to run the Util Library function with provided input values 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/funtions/actions/debug

Request Body Sample

{
  "returnType": {
    "value": 1
  },
  "namespace": "nameSpace11",
  "attributes": [],
  "name": "ConcatString",
  "libraryFunctions": [],
  "parameters": [
    {
      "dataType": {
        "value": 2
      },
      "name": "stringOne",
      "value": "Debuging"
    }, 
    {
      "dataType": {
        "value": 2
      },
      "name": "stringTwo",
      "value": "Script"
    }
  ],
  "scriptText": "return stringOne + \" \" + stringTwo;",
  "variableName": "concatString",
  "useTestScript": false
}

Response Body Sample

{
  "returnData": "Debuging Script",
  "scriptSize": "*** Compiled script size: 85 bytes ***"
}
Back to Top