ruleCreator element

Type: ruleCreator
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

RuleCreator encapsulates all the information needed to create a new Rule in the system. A Rule is associated to an Account.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <ruleCreator xmlns="http://eurotech.com/edc/2.0"> <accountId>...</accountId> <name>...</name> <description>...</description> <enabled>...</enabled> <query>...</query> <ruleActionConfigurations> <ruleActionConfiguration> <name>...</name> <parameters> <parameter> <name>...</name> <value>...</value> </parameter> <parameter> <!--...--> </parameter> <!--...more "parameter" elements...--> </parameters> </ruleActionConfiguration> <ruleActionConfiguration> <!--...--> </ruleActionConfiguration> <!--...more "ruleActionConfiguration" elements...--> </ruleActionConfigurations> </ruleCreator>

Example JSON

{ "accountId" : ..., "name" : "...", "description" : "...", "enabled" : false, "query" : "...", "ruleActionConfigurations" : [ { "name" : "...", "parameters" : { "parameter" : [ { "name" : "...", "value" : "..." }, ... ] } }, ... ] }