Search Data Tables
post
/rest/v19/datatables/actions/getQueryStatistics
This endpoint is used to search for data across multiple data tables. All data tables are queried if data table names are not specified in the request selections.
Request
Root Schema : queryStatistics-request
Type:
Show Source
object-
keyword:
string
Title:
KeywordText to search -
selections:
array Table Names List
Title:
Table Names ListThe list of data tables to be searched.
Nested Schema : Table Names List
Type:
arrayTitle:
Table Names ListThe list of data tables to be searched.
Show Source
-
Array of:
string
Title:
SelectionResource name selected
Response
Supported Media Types
- application/json
Default Response
Query statistics
Root Schema : queryStatistics-response
Type:
Show Source
object-
items:
array Table search statistics
Title:
Table search statistics
Nested Schema : items
Type:
Show Source
object-
matchingRowCount:
integer
Title:
Matched Row CountNumber of rows whose content matched the search string. -
rowsLink:
string
Title:
Rows LinkThe URL to retrieve rows with content that matched the search string. -
table:
object dataTable-getResponse
Nested Schema : dataTable-getResponse
Type:
Show Source
object-
dateCreated:
string
Title:
Date CreatedThe date the data table was created. -
dateModified:
string
Title:
Date Last ModifiedThe date of the last data table modification. -
deployedDate:
string
Title:
Deployed DateThe date of the last data table deployment. -
description:
string
Title:
Data Table DescriptionThe data table description. -
fields:
object dataTableField-collection
-
folder:
object folder
-
hasUndeployedChanges:
boolean
Title:
Has Undeployed ChangesThis attribute is 'true' if the data table has undeployed changes. -
id:
integer(int64)
Title:
Data Table IdThe unique identifier of the data table. -
isLive:
boolean
Title:
Data Table Is LiveThis attribute is 'true' for 'Live' data tables. -
links:
array Links
Title:
LinksLinks to the related objects. -
name:
string
Title:
Data Table NameThe data table name.
Nested Schema : dataTableField-collection
Type:
Show Source
object-
items:
array Columns list
Title:
Columns listList of columns
Nested Schema : folder
Type:
Show Source
object-
links:
array Links
Title:
LinksLinks to the related objects. -
variableName:
string
Title:
Folder Variable NameThe variable name for the parent folder.
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Columns list
Type:
arrayTitle:
Columns listList of columns
Show Source
-
Array of:
object dataTableField
Data table column model
Nested Schema : dataTableField
Type:
objectData table column model
Show Source
-
_proxy_id:
string
Title:
Proxy IdProxy Id -
dateAdded:
string
Title:
Date CreatedThe date the column was created. -
dateModified:
string
Title:
Date Last ModifiedThe date of the last column modification. -
description:
string
Title:
Column DescriptionThe column description. -
id:
integer(int64)
Title:
Column IdThe unique identifier of the column. -
index:
boolean
Title:
IndexThis attribute identifies if the column is indexed. -
key:
boolean
Title:
KeyThis attribute identifies if this is a key column. A key, also known as a 'Natural Key' can be a single column or a combination of several columns that produce a unique identifier for each record (row) for faster access to the data. -
links:
array Links
Title:
LinksLinks to the related objects -
name:
string
Title:
Column NameThe name of the data table column. -
order:
integer
Title:
Column Display OrderOrder of the column within the table. -
relationship:
object relationship-response
-
type:
string
Title:
Column Data TypeThe data type of the column. -
validation:
object validation-response
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : relationship-response
Type:
Show Source
object-
name:
string
Title:
Relationship NameName of the relationship -
refField:
object referenceField-response
-
refOnDelete:
string
Title:
Reference On DeleteAllowed Values:[ "On Delete No Action", "On Delete Cascade", "On Delete Set Null" ]On delete behavior for the relationship -
refTable:
object referenceTable-response
Nested Schema : validation-response
Type:
Show Source
object-
attribute:
string
Title:
Attribute NameThe name of the attribute the column is mapped to. -
hierarchy:
string
Title:
Attribute HierarchyAttribute hierarchy -
links:
array Links
Title:
LinksLinks to the related objects. -
type:
string
Title:
Validation TypeAllowed Values:[ "Config", "Commerce" ]Type of the validation.
Nested Schema : Reference Links
Type:
objectTitle:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
hrefURL to the related object -
rel:
string
Title:
LinkLink relationship to the current object
Nested Schema : referenceField-response
Type:
Show Source
object-
links:
array Links
Title:
LinksLinks to the related objects. -
name:
string
Title:
Referencing Columnthe name of the referencing column.
Nested Schema : referenceTable-response
Type:
Show Source
object-
links:
array Links
Title:
LinksLinks to the related objects. -
name:
string
Title:
Reference Table NameName of the referencing table
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Examples
The following examples show how to search for data across multiple data tables 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" https://sitename.oracle.com/rest/v19/datatables/actions/getQueryStatistics
Request Body Sample
{
"selections": [],
"keyword": "router"
}
Response Body Sample
{
"items": [{
"table": {
"id": 36877868,
"links": [{
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/datatables"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/datatables/Oracle_BomItemDef"
}
],
"name": "Oracle_BomItemDef"
},
"matchingRowCount": 13,
"rowsLink": "https://sitename.oracle.com/rest/v19/adminCustomOracle_BomItemDef?q={$or:[{VariableName:{$like:" % router % ",$options:" I "}},{ItemId:{$like:" % router % ",$options:" I "}},{Name:{$like:" % router % ",$options:" I "}},{ItemType:{$like:" % router % ",$options:" I "}},{PartNumber:{$like:" % router % ",$options:" I "}},{Optional:{$like:" % router % ",$options:" I "}},{SalesItem:{$like:" % router % ",$options:" I "}},{ParentVariableName:{$like:" % router % ",$options:" I "}},{RootVariableName:{$like:" % router % ",$options:" I "}},{EffectiveFrom:{$like:" % router % ",$options:" I "}},{EffectiveTo:{$like:" % router % ",$options:" I "}},{ManufacturingItem:{$like:" % router % ",$options:" I "}},{IncludedInBasePrice:{$like:" % router % ",$options:" I "}},{ModelPath:{$like:" % router % ",$options:" I "}}]}"
}, {
"table": {
"id": 36732877,
"links": [{
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/datatables"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/datatables/Oracle_BomItemMap"
}
],
"name": "Oracle_BomItemMap"
},
"matchingRowCount": 13,
"rowsLink": "https://sitename.oracle.com/rest/v19/adminCustomOracle_BomItemMap?q={$or:[{VariableName:{$like:" % router % ",$options:" I "}},{BomItemVarName:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName:{$like:" % router % ",$options:" I "}},{ConfigAttrValue:{$like:" % router % ",$options:" I "}},{ParentBomMapVarName:{$like:" % router % ",$options:" I "}},{EffectiveFrom:{$like:" % router % ",$options:" I "}},{EffectiveTo:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName1:{$like:" % router % ",$options:" I "}},{ConfigAttrValue1:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName2:{$like:" % router % ",$options:" I "}},{ConfigAttrValue2:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName3:{$like:" % router % ",$options:" I "}},{ConfigAttrValue3:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName4:{$like:" % router % ",$options:" I "}},{ConfigAttrValue4:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName5:{$like:" % router % ",$options:" I "}},{ConfigAttrValue5:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName6:{$like:" % router % ",$options:" I "}},{ConfigAttrValue6:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName7:{$like:" % router % ",$options:" I "}},{ConfigAttrValue7:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName8:{$like:" % router % ",$options:" I "}},{ConfigAttrValue8:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName9:{$like:" % router % ",$options:" I "}},{ConfigAttrValue9:{$like:" % router % ",$options:" I "}},{ConfigAttrVarName10:{$like:" % router % ",$options:" I "}},{ConfigAttrValue10:{$like:" % router % ",$options:" I "}}]}"
}
],
}