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

Body ()
Root Schema : queryStatistics-request
Type: object
Show Source
Nested Schema : Table Names List
Type: array
Title: Table Names List
The list of data tables to be searched.
Show Source
Back to Top

Response

Supported Media Types

Default Response

Query statistics
Body ()
Root Schema : queryStatistics-response
Type: object
Show Source
Nested Schema : Table search statistics
Type: array
Title: Table search statistics
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : dataTable-getResponse
Type: object
Show Source
Nested Schema : dataTableField-collection
Type: object
Show Source
Nested Schema : folder
Type: object
Show Source
Nested Schema : Columns list
Type: array
Title: Columns list
List of columns
Show Source
Nested Schema : dataTableField
Type: object
Data table column model
Show Source
Nested Schema : relationship-response
Type: object
Show Source
Nested Schema : validation-response
Type: object
Show Source
Nested Schema : referenceField-response
Type: object
Show Source
Nested Schema : referenceTable-response
Type: object
Show Source
Back to Top

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 "}}]}"
    }
  ],
}
    
Back to Top