ruleTemplate element

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

A RuleTemplate represents a blueprint for a new Rule. It provides a At a minimum a RuleTemplate is associated to an Account and must have a name when created.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <ruleTemplate xmlns="http://eurotech.com/edc/2.0"> <id>...</id> <accountId>...</accountId> <name>...</name> <description>...</description> <createdOn>...</createdOn> <createdBy>...</createdBy> <modifiedOn>...</modifiedOn> <modifiedBy>...</modifiedBy> <enabled>...</enabled> <isPublic>...</isPublic> <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> <optlock>...</optlock> </ruleTemplate>

Example JSON

{ "id" : ..., "accountId" : ..., "name" : "...", "description" : "...", "createdOn" : "...", "createdBy" : ..., "modifiedOn" : "...", "modifiedBy" : ..., "enabled" : false, "isPublic" : false, "query" : "...", "ruleActionConfigurations" : [ { "name" : "...", "parameters" : { "parameter" : [ { "name" : "...", "value" : "..." }, ... ] } }, ... ], "optlock" : ... }