Add an Intelligence Model Filter

post

/rest/v19/intelligenceSetup/models/{modelId}/filters

Use this endpoint to create an intelligence model filter.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : IntelligenceFilter
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : IntelligenceFilter
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Examples

The following example shows how to create an intelligence model filter 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/intelligenceSetup/models/334523/filters

Request Body Sample

{
   "attributeId": 18064711,
   "operator": "_eq",
   "attributeValue": "ORDER_PLACED"
 }

Response Body Sample

{
  "createdBy": {
    "firstName": "Alex",
    "lastName": "Smith",
    "emailId": "alex.smith@example.com"
  },
  "lastModifiedBy": {
    "firstName": "Alex",
    "lastName": "Smith",
    "emailId": "alex.smith@example.com"
  },
  "dateModified": "2025-03-08T20:13:50Z",
  "dateAdded": "2025-03-08T20:13:50Z",
  "id": 3023620976,
  "attributeId": 18064711,
  "operator": "_eq",
  "attributeValue": "ORDER_PLACED"
}
Back to Top