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
- application/json
Path Parameters
Root Schema : IntelligenceFilter
Type:
Show Source
object-
_proxy_id:
integer()
Title:
Proxy IDRead Only:trueThe proxy identifier for the resource that was added. -
attributeId(required):
integer()
Title:
Attribute IDID of the attribute used on the left hand side of the filter. -
attributeLabel:
string()
Title:
Attribute LabelRead Only:trueLabel of the attribute used on the left hand side of the filter. -
attributeValue(required):
string()
Title:
ValueValue on the right hand side of the filter. This value must either be the variable name of the source attribute or prefixed with '#SPECIFIC_' for static values. -
attributeValueLabel:
string()
Title:
ValueRead Only:trueLabel of the attribute used as the Value on the right hand side of the filter. If this value is static, then this will just be the value. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation Date of the Pricing Model. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Model. -
id:
integer()
Title:
IDRead Only:trueID of the Intelligence Filter. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
operator(required):
string()
Title:
OperatorAllowed Values:[ "_eq", "_not_eq", "_gr", "_le", "_gr_eq", "_le_eq", "_none", "_like", "_notlike", "_emp", "_not_emp" ]Operator used in the filter.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe 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 ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : IntelligenceFilter
Type:
Show Source
object-
_proxy_id:
integer()
Title:
Proxy IDRead Only:trueThe proxy identifier for the resource that was added. -
attributeId(required):
integer()
Title:
Attribute IDID of the attribute used on the left hand side of the filter. -
attributeLabel:
string()
Title:
Attribute LabelRead Only:trueLabel of the attribute used on the left hand side of the filter. -
attributeValue(required):
string()
Title:
ValueValue on the right hand side of the filter. This value must either be the variable name of the source attribute or prefixed with '#SPECIFIC_' for static values. -
attributeValueLabel:
string()
Title:
ValueRead Only:trueLabel of the attribute used as the Value on the right hand side of the filter. If this value is static, then this will just be the value. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation Date of the Pricing Model. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Model. -
id:
integer()
Title:
IDRead Only:trueID of the Intelligence Filter. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
operator(required):
string()
Title:
OperatorAllowed Values:[ "_eq", "_not_eq", "_gr", "_le", "_gr_eq", "_le_eq", "_none", "_like", "_notlike", "_emp", "_not_emp" ]Operator used in the filter.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe 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 ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
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"
}