Get Util Library Folders
get
/rest/v19/bml/library/folders
This operation retrieves all the available Util Library folders.
Request
Supported Media Types
- application/json
Util Libraries list.
Root Schema : libraries-request
Type:
Show Source
object-
items:
array The library functions list
Title:
The library functions listList of library functions.
Nested Schema : The library functions list
Type:
arrayTitle:
The library functions listList of library functions.
Show Source
Nested Schema : libraryFunctions
Type:
Show Source
object-
namespace:
string
Title:
namespaceUtil library floder name. -
type:
string
Title:
typeLibrary function type either util or commerce. -
variableName:
string
Title:
variableNamevariableName of the libaray function.
Response
Supported Media Types
- application/json
Default Response
Util Library folders.
Root Schema : utilFolders
Type:
Show Source
object-
items:
array List of util folders.
Title:
List of util folders.List of util folders. -
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects
Nested Schema : List of util folders.
Type:
arrayTitle:
List of util folders.List of util folders.
Show Source
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 : items
Type:
Show Source
object-
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects -
name:
string
Title:
nameUtil library folder name.
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 all the available Util Library folders 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/library/folders
Response Body Sample
{
"items": [{
"name": "util",
"links": [{
"rel": "related",
"href": "https://sitename.oracle.com/cpq/rest/v19/bml/library/functions?q=%7B%22namespace%22%3Anull%7D"
}
]
}, {
"name": "nameSpace11",
"links": [{
"rel": "related",
"href": "https://sitename.oracle.com/cpq/rest/v19/bml/library/functions?q=%7B%22namespace%22%3A%22nameSpace11%22%7D"
}
]
}
],
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/cpq/rest/v19/bml/library/folders"
}
]
}