Get a BML Common Function
get
/rest/v19/bml/common/functions/{name}
This operation returns the specified common library function. BML common functions are the functions used within BML such as atoi() or len().
Request
Path Parameters
-
name(required): string
Name of the common library function to fetch.
Query Parameters
-
excludeLinks: string
Exclude specified link types.
Response
Supported Media Types
- application/json
Default Response
BML Common Function
Root Schema : bmlCommonFunction
Type:
Show Source
object-
category:
string
Title:
categoryReturn type of the library function. -
description:
string
Title:
descriptionDescription of the library function. -
example:
string
Title:
exampleSample data for a common library function. -
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects -
name:
string
Title:
nameName of the library function. -
shortSyntax:
string
Title:
shortSyntaxFormat of a library function. -
syntax:
string
Title:
syntaxFormat of a library function.
Nested Schema : Links to the related objects
Type:
arrayTitle:
Links to the related objectsLinks to the related objects
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : referenceLinks
Type:
objectReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
rel:
string
Title:
Link Relationship to the current objectLink Relationship to the current object
Examples
The following example shows how to retrieve the specified BML common function 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/common/functions/atof
Response Body Sample
{
"name": "atof",
"category": "STRING",
"description": "Converts text that represents a number into a float number",
"syntax": "Float atof(String str)",
"example": "1. atof(\"\") throws an exception.",
"shortSyntax": "atof(str)",
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/cpq/rest/v19/bml/common/functions/atof"
}
]
}