Validate Util Library Function

post

/rest/v19/bml/library/functions/actions/validate

This operation validates the Util Library function.

Request

Supported Media Types
Body ()
Util Library data.
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

No Content
Back to Top

Examples

The following example shows how to validate the Util Library function 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/validate

Request Body Sample

{
  "variableName": "concatString",
  "returnType": {
    "value": 1
  },
  "attributes": [],
  "description": "This function returns a string. The 2 parameters are concatenated and returned to the calling function.",
  "name": "ConcatString",
  "libraryFunctions": [],
  "parameters": [{
      "dataType": {
        "value": 2
      },
      "name": "stringOne"
    }, {
      "dataType": {
        "value": 2
      },
      "name": "stringTwo"
    }
  ],
  "scriptText": "return stringOne + \" \" + stringTwo;",
  "useTestScript": false
}
Back to Top