2021.1

Table Of Contents
Template search searches based on the name of the template used during Content
Creation.
Comprises objects containing the following name/value pairs:
l ruleType TEMPLATE
l condition the comparison condition (value of either EQ (=) or NE (!=))
l name the comparison value (type of string)
Rule Set searches construct a set of rules that are evaluated collectively.
Comprises objects containing the following name/value pairs:
l ruleType RULESET
l condition the logic rule for this RULESET (value of ALL, ANY, NOTALL or NOTANY)
l rules a sub-list of search rules, consisting of an array of objects each with a
certain rule sub-structure depending on the type of rule
Example
The following is an example of this structure:
{
"entity": "CONTENTITEMS",
"search": {
"ruleType": "RULESET",
"condition": "ALL",
"rules": [
{
"ruleType": "DUPLEX",
"condition": "HAS_DUPLEX"
},
{
"ruleType": "TEMPLATE",
"condition": "EQ",
"name": "Rural"
},
{
"ruleType": "RULESET",
"condition": "ALL",
"rules": [
{
Page 135