2018.1

Table Of Contents
Search rule objects with a type value of templatename contain the following name/value
pairs:
l type the type of search rule (value of templatename) (type of string)
l template the name of the design template used for document (type of string)
l condition the comparison condition (value of either EQUAL or NOTEQUAL) (type of
string)
Search rule group objects contain the following name/value pairs:
l operator the search rule operator for sub-list of rules in rule group (value of either
AND or OR) (type of string)
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": {
"operator": "AND",
"rules": [
{
"type": "value",
"value": "FR",
"name": "Country"
},
{
"operator": "OR",
"rules": [
{
"type": "finishing",
"frontcoating": "HIGH_GLOSS",
"backcoating": "HIGH_GLOSS",
"condition": "EQUAL"
},
{
"type": "finishing",
Page 95