Equivalent of BusinessEntity in DTO
name | data type | constraints | description |
---|---|---|---|
ruleType | RuleTypeEnum | ||
ruleEl | string | ||
offerCode | string | ||
productCode | string | ||
productVersion | number | ||
attributeCode | string | ||
scope | ScopeTypeEnum | ||
tagCode | string | ||
groupedAttributeCode | string | ||
targetAttributeValue | string | ||
isTarget | boolean | ||
disabled | boolean | ||
id | number | The id. | |
auditableField | array of AuditableFieldDto | ||
commercialRuleItems | array of CommercialRuleItemDTO | ||
code | string | required | The code |
description | string | The description | |
updatedCode | string | The updated code. |
Example
{ "ruleType" : "PRE_REQUISITE", "ruleEl" : "...", "offerCode" : "...", "productCode" : "...", "productVersion" : 12345, "attributeCode" : "...", "scope" : "QUOTE", "tagCode" : "...", "groupedAttributeCode" : "...", "targetAttributeValue" : "...", "isTarget" : true, "disabled" : true, "id" : 12345, "auditableField" : [ { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." }, { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." } ], "commercialRuleItems" : [ { "operator" : "AND", "ruleItemEl" : "...", "commercialRuleLines" : [ { "offerCode" : "...", "productCode" : "...", "productVersion" : 12345, "attributeCode" : "...", "groupedAttributeCode" : "...", "attributeValue" : "...", "groupedAttributeValue" : "...", "tagCode" : "...", "operator" : "CONTAINS" }, { "offerCode" : "...", "productCode" : "...", "productVersion" : 12345, "attributeCode" : "...", "groupedAttributeCode" : "...", "attributeValue" : "...", "groupedAttributeValue" : "...", "tagCode" : "...", "operator" : "CONTAINS" } ] }, { "operator" : "OR", "ruleItemEl" : "...", "commercialRuleLines" : [ { "offerCode" : "...", "productCode" : "...", "productVersion" : 12345, "attributeCode" : "...", "groupedAttributeCode" : "...", "attributeValue" : "...", "groupedAttributeValue" : "...", "tagCode" : "...", "operator" : "NOT_EQUAL" }, { "offerCode" : "...", "productCode" : "...", "productVersion" : 12345, "attributeCode" : "...", "groupedAttributeCode" : "...", "attributeValue" : "...", "groupedAttributeValue" : "...", "tagCode" : "...", "operator" : "EQUAL" } ] } ], "code" : "...", "description" : "...", "updatedCode" : "..." }