name | data type | description |
---|---|---|
id | number | |
transient | boolean | |
commercialRuleHeader | CommercialRuleHeader | |
operator | OperatorEnum | |
version | number | |
commercialRuleLines | array of CommercialRuleLine | |
ruleItemEl | string |
Example
{ "id" : 12345, "transient" : true, "commercialRuleHeader" : { "targetProduct" : { "discountFlag" : true, "productCharges" : [ { }, { } ], "auditableFields" : [ { }, { } ], "cfAccumulatedValues" : { }, "serviceUsageCharges" : [ { }, { } ], "serviceSubscriptionCharges" : [ { }, { } ], "serviceRecurringCharges" : [ { }, { } ], "discountList" : [ { }, { } ], "serviceTerminationCharges" : [ { }, { } ], "codeChanged" : true, "offerComponents" : [ { }, { } ], "brand" : { }, "productModel" : { }, "commercialRuleHeader" : [ { }, { } ], "notified" : true, "isModel" : true, "pricePlanMatrixColumns" : [ { }, { } ], "priceVersionDateSetting" : "EVENT", "disabled" : true, "version" : 12345, "code" : "...", "active" : true, "id" : 12345, "parentCFEntities" : [ { }, { } ], "parentEntity" : { }, "referenceDescription" : "...", "uuid" : "...", "productVersions" : [ { }, { } ], "descriptionAndCode" : "...", "status" : "CLOSED", "referenceCode" : "...", "historized" : true, "appendGeneratedCode" : true, "modelChildren" : [ "...", "..." ], "commercialRuleLines" : [ { }, { } ], "productLine" : { }, "articleMappingLines" : [ { }, { } ], "description" : "...", "cfValues" : { }, "parentEntityType" : { }, "auditable" : { }, "reference" : "...", "descriptionOrCode" : "...", "medias" : [ { }, { } ], "packageFlag" : true, "transient" : true, "statusDate" : 12345, "model" : "..." }, "historized" : true, "auditable" : { "updater" : "...", "updated" : 12345, "creator" : "...", "lastUser" : "...", "created" : 12345, "lastModified" : 12345 }, "targetTag" : { "version" : 12345, "auditable" : { }, "parentTag" : { }, "tagType" : { }, "parentEntity" : { }, "transient" : true, "id" : 12345, "historized" : true, "notified" : true, "seller" : { }, "descriptionOrCode" : "...", "parentEntityType" : { }, "codeChanged" : true, "code" : "...", "referenceCode" : "...", "appendGeneratedCode" : true, "descriptionAndCode" : "...", "filterEl" : "...", "description" : "...", "referenceDescription" : "...", "auditableFields" : [ { }, { } ], "name" : "..." }, "descriptionAndCode" : "...", "commercialRuleItems" : [ { "id" : 12345, "transient" : true, "commercialRuleHeader" : { }, "operator" : "AND", "version" : 12345, "commercialRuleLines" : [ { }, { } ], "ruleItemEl" : "..." }, { "id" : 12345, "transient" : true, "commercialRuleHeader" : { }, "operator" : "AND", "version" : 12345, "commercialRuleLines" : [ { }, { } ], "ruleItemEl" : "..." } ], "description" : "...", "targetOfferAttribute" : true, "codeChanged" : true, "auditableFields" : [ { "historable" : true, "fieldName" : "...", "currentState" : { }, "notified" : true, "notfiable" : true, "previousState" : { }, "auditType" : "RENEWAL", "historized" : true }, { "historable" : true, "fieldName" : "...", "currentState" : { }, "notified" : true, "notfiable" : true, "previousState" : { }, "auditType" : "STATUS", "historized" : true } ], "targetProductCode" : "...", "referenceCode" : "...", "ruleType" : "PRE_REQUISITE", "parentEntity" : { "auditableFields" : [ { }, { } ], "description" : "...", "version" : 12345, "id" : 12345, "notified" : true, "appendGeneratedCode" : true, "auditable" : { }, "codeChanged" : true, "parentEntityType" : { }, "descriptionAndCode" : "...", "descriptionOrCode" : "...", "transient" : true, "parentEntity" : { }, "referenceDescription" : "...", "historized" : true, "referenceCode" : "...", "code" : "..." }, "transient" : true, "notified" : true, "id" : 12345, "targetAttributeValue" : "...", "parentEntityType" : { }, "code" : "...", "targetGroupedAttributes" : { "cfValues" : { }, "parentEntityType" : { }, "appendGeneratedCode" : true, "transient" : true, "auditableFields" : [ { }, { } ], "parentEntity" : { }, "mandatory" : true, "historized" : true, "parentCFEntities" : [ { }, { } ], "active" : true, "referenceCode" : "...", "notified" : true, "attributes" : [ { }, { } ], "description" : "...", "commercialRules" : [ { }, { } ], "display" : true, "uuid" : "...", "version" : 12345, "sequence" : 12345, "descriptionOrCode" : "...", "referenceDescription" : "...", "id" : 12345, "code" : "...", "disabled" : true, "auditable" : { }, "codeChanged" : true, "cfAccumulatedValues" : { }, "descriptionAndCode" : "..." }, "disabled" : true, "targetOfferTemplate" : { "offerServiceTemplates" : [ { }, { } ], "prefix" : "...", "parentEntityType" : { }, "businessAccountModels" : [ { }, { } ], "attachments" : [ { }, { } ], "longDescriptionI18n" : { "property1" : "...", "property2" : "..." }, "active" : true, "codeChanged" : true, "parentCFEntities" : [ { }, { } ], "statusDate" : 12345, "uuid" : "...", "channels" : [ { }, { } ], "offerComponents" : [ { }, { } ], "imagePath" : "...", "allowedDiscountPlans" : [ { }, { } ], "tags" : [ { }, { } ], "commercialRules" : [ { }, { } ], "autoEndOfEngagement" : true, "descriptionI18n" : { "property1" : "...", "property2" : "..." }, "version" : 12345, "offerModel" : { }, "transient" : true, "minimumChargeTemplate" : { }, "nameOrCode" : "...", "referenceCode" : "...", "businessOfferModel" : { }, "productTemplates" : [ { }, { } ], "customerCategories" : [ { }, { } ], "auditable" : { }, "description" : "...", "generateQuoteEdrPerProduct" : true, "medias" : [ { }, { } ], "isOfferChangeRestricted" : true, "descriptionAndCode" : "...", "minimumArticle" : { }, "auditableFields" : [ { }, { } ], "isModel" : true, "appendGeneratedCode" : true, "minimumAmountEl" : "...", "code" : "...", "cfAccumulatedValues" : { }, "globalRatingScriptInstance" : { }, "cfValues" : { }, "lifeCycleStatus" : "OBSOLETE", "descriptionI18nNullSafe" : { "property1" : "...", "property2" : "..." }, "offerProductTemplates" : [ { }, { } ], "transientCode" : "...", "historized" : true, "subscriptionRenewal" : { }, "id" : 12345, "offerTemplateCategories" : [ { }, { } ], "descriptionOrCode" : "...", "validity" : { }, "minimumInvoiceSubCategory" : { }, "disabled" : true, "minimumLabelEl" : "...", "referenceDescription" : "...", "notified" : true, "longDescription" : "...", "name" : "...", "longDescriptionI18nNullSafe" : { "property1" : "...", "property2" : "..." }, "sellers" : [ { }, { } ], "parentEntity" : { }, "offerAttributes" : [ { }, { } ], "allowedOffersChange" : [ { }, { } ] }, "version" : 12345, "ruleEl" : "...", "targetOfferTemplateCode" : "...", "scopeType" : "QUOTE", "targetAttribute" : { "referenceCode" : "...", "parentAttribute" : { }, "medias" : [ { }, { } ], "historized" : true, "auditableFields" : [ { }, { } ], "active" : true, "version" : 12345, "parentEntity" : { }, "disabled" : true, "transient" : true, "code" : "...", "tags" : [ { }, { } ], "offerTemplateAttribute" : [ { }, { } ], "commercialRules" : [ { }, { } ], "productVersionAttributes" : [ { }, { } ], "attributeCategory" : "REGULAR", "priority" : 12345, "chargeTemplates" : [ { }, { } ], "assignedAttributes" : [ { }, { } ], "parentEntityType" : { }, "appendGeneratedCode" : true, "allowedValues" : [ "...", "..." ], "description" : "...", "uuid" : "...", "notified" : true, "id" : 12345, "cfAccumulatedValues" : { }, "auditable" : { }, "codeChanged" : true, "groupedAttributes" : [ { }, { } ], "elValue" : "...", "unitNbDecimal" : 12345, "attributeType" : "TOTAL", "descriptionOrCode" : "...", "descriptionAndCode" : "...", "referenceDescription" : "...", "cfValues" : { }, "parentCFEntities" : [ { }, { } ] }, "referenceDescription" : "...", "appendGeneratedCode" : true, "descriptionOrCode" : "...", "targetProductVersion" : { "product" : { }, "notified" : true, "historized" : true, "status" : "CLOSED", "auditableFields" : [ { }, { } ], "id" : 12345, "version" : 12345, "transient" : true, "validity" : { }, "statusDate" : 12345, "auditable" : { }, "longDescription" : "...", "currentVersion" : 12345, "groupedAttributes" : [ { }, { } ], "tags" : [ { }, { } ], "shortDescription" : "...", "attributes" : [ { }, { } ] } }, "operator" : "AND", "version" : 12345, "commercialRuleLines" : [ { "sourceOfferTemplateCode" : "...", "sourceGroupedAttributeValue" : "...", "version" : 12345, "sourceOfferTemplate" : { "offerServiceTemplates" : [ { }, { } ], "prefix" : "...", "parentEntityType" : { }, "businessAccountModels" : [ { }, { } ], "attachments" : [ { }, { } ], "longDescriptionI18n" : { "property1" : "...", "property2" : "..." }, "active" : true, "codeChanged" : true, "parentCFEntities" : [ { }, { } ], "statusDate" : 12345, "uuid" : "...", "channels" : [ { }, { } ], "offerComponents" : [ { }, { } ], "imagePath" : "...", "allowedDiscountPlans" : [ { }, { } ], "tags" : [ { }, { } ], "commercialRules" : [ { }, { } ], "autoEndOfEngagement" : true, "descriptionI18n" : { "property1" : "...", "property2" : "..." }, "version" : 12345, "offerModel" : { }, "transient" : true, "minimumChargeTemplate" : { }, "nameOrCode" : "...", "referenceCode" : "...", "businessOfferModel" : { }, "productTemplates" : [ { }, { } ], "customerCategories" : [ { }, { } ], "auditable" : { }, "description" : "...", "generateQuoteEdrPerProduct" : true, "medias" : [ { }, { } ], "isOfferChangeRestricted" : true, "descriptionAndCode" : "...", "minimumArticle" : { }, "auditableFields" : [ { }, { } ], "isModel" : true, "appendGeneratedCode" : true, "minimumAmountEl" : "...", "code" : "...", "cfAccumulatedValues" : { }, "globalRatingScriptInstance" : { }, "cfValues" : { }, "lifeCycleStatus" : "ACTIVE", "descriptionI18nNullSafe" : { "property1" : "...", "property2" : "..." }, "offerProductTemplates" : [ { }, { } ], "transientCode" : "...", "historized" : true, "subscriptionRenewal" : { }, "id" : 12345, "offerTemplateCategories" : [ { }, { } ], "descriptionOrCode" : "...", "validity" : { }, "minimumInvoiceSubCategory" : { }, "disabled" : true, "minimumLabelEl" : "...", "referenceDescription" : "...", "notified" : true, "longDescription" : "...", "name" : "...", "longDescriptionI18nNullSafe" : { "property1" : "...", "property2" : "..." }, "sellers" : [ { }, { } ], "parentEntity" : { }, "offerAttributes" : [ { }, { } ], "allowedOffersChange" : [ { }, { } ] }, "id" : 12345, "sourceAttributeValue" : "...", "sourceProductVersion" : { "product" : { }, "notified" : true, "historized" : true, "status" : "DRAFT", "auditableFields" : [ { }, { } ], "id" : 12345, "version" : 12345, "transient" : true, "validity" : { }, "statusDate" : 12345, "auditable" : { }, "longDescription" : "...", "currentVersion" : 12345, "groupedAttributes" : [ { }, { } ], "tags" : [ { }, { } ], "shortDescription" : "...", "attributes" : [ { }, { } ] }, "sourceProductCode" : "...", "sourceTag" : { "version" : 12345, "auditable" : { }, "parentTag" : { }, "tagType" : { }, "parentEntity" : { }, "transient" : true, "id" : 12345, "historized" : true, "notified" : true, "seller" : { }, "descriptionOrCode" : "...", "parentEntityType" : { }, "codeChanged" : true, "code" : "...", "referenceCode" : "...", "appendGeneratedCode" : true, "descriptionAndCode" : "...", "filterEl" : "...", "description" : "...", "referenceDescription" : "...", "auditableFields" : [ { }, { } ], "name" : "..." }, "sourceProduct" : { "discountFlag" : true, "productCharges" : [ { }, { } ], "auditableFields" : [ { }, { } ], "cfAccumulatedValues" : { }, "serviceUsageCharges" : [ { }, { } ], "serviceSubscriptionCharges" : [ { }, { } ], "serviceRecurringCharges" : [ { }, { } ], "discountList" : [ { }, { } ], "serviceTerminationCharges" : [ { }, { } ], "codeChanged" : true, "offerComponents" : [ { }, { } ], "brand" : { }, "productModel" : { }, "commercialRuleHeader" : [ { }, { } ], "notified" : true, "isModel" : true, "pricePlanMatrixColumns" : [ { }, { } ], "priceVersionDateSetting" : "DELIVERY", "disabled" : true, "version" : 12345, "code" : "...", "active" : true, "id" : 12345, "parentCFEntities" : [ { }, { } ], "parentEntity" : { }, "referenceDescription" : "...", "uuid" : "...", "productVersions" : [ { }, { } ], "descriptionAndCode" : "...", "status" : "ACTIVE", "referenceCode" : "...", "historized" : true, "appendGeneratedCode" : true, "modelChildren" : [ "...", "..." ], "commercialRuleLines" : [ { }, { } ], "productLine" : { }, "articleMappingLines" : [ { }, { } ], "description" : "...", "cfValues" : { }, "parentEntityType" : { }, "auditable" : { }, "reference" : "...", "descriptionOrCode" : "...", "medias" : [ { }, { } ], "packageFlag" : true, "transient" : true, "statusDate" : 12345, "model" : "..." }, "transient" : true, "sourceGroupedAttributes" : { "cfValues" : { }, "parentEntityType" : { }, "appendGeneratedCode" : true, "transient" : true, "auditableFields" : [ { }, { } ], "parentEntity" : { }, "mandatory" : true, "historized" : true, "parentCFEntities" : [ { }, { } ], "active" : true, "referenceCode" : "...", "notified" : true, "attributes" : [ { }, { } ], "description" : "...", "commercialRules" : [ { }, { } ], "display" : true, "uuid" : "...", "version" : 12345, "sequence" : 12345, "descriptionOrCode" : "...", "referenceDescription" : "...", "id" : 12345, "code" : "...", "disabled" : true, "auditable" : { }, "codeChanged" : true, "cfAccumulatedValues" : { }, "descriptionAndCode" : "..." }, "commercialRuleItem" : { "id" : 12345, "transient" : true, "commercialRuleHeader" : { }, "operator" : "OR", "version" : 12345, "commercialRuleLines" : [ { }, { } ], "ruleItemEl" : "..." }, "sourceAttribute" : { "referenceCode" : "...", "parentAttribute" : { }, "medias" : [ { }, { } ], "historized" : true, "auditableFields" : [ { }, { } ], "active" : true, "version" : 12345, "parentEntity" : { }, "disabled" : true, "transient" : true, "code" : "...", "tags" : [ { }, { } ], "offerTemplateAttribute" : [ { }, { } ], "commercialRules" : [ { }, { } ], "productVersionAttributes" : [ { }, { } ], "attributeCategory" : "REGULAR", "priority" : 12345, "chargeTemplates" : [ { }, { } ], "assignedAttributes" : [ { }, { } ], "parentEntityType" : { }, "appendGeneratedCode" : true, "allowedValues" : [ "...", "..." ], "description" : "...", "uuid" : "...", "notified" : true, "id" : 12345, "cfAccumulatedValues" : { }, "auditable" : { }, "codeChanged" : true, "groupedAttributes" : [ { }, { } ], "elValue" : "...", "unitNbDecimal" : 12345, "attributeType" : "NUMERIC", "descriptionOrCode" : "...", "descriptionAndCode" : "...", "referenceDescription" : "...", "cfValues" : { }, "parentCFEntities" : [ { }, { } ] }, "sourceOfferAttribute" : true, "operator" : "EXISTS" }, { "sourceOfferTemplateCode" : "...", "sourceGroupedAttributeValue" : "...", "version" : 12345, "sourceOfferTemplate" : { "offerServiceTemplates" : [ { }, { } ], "prefix" : "...", "parentEntityType" : { }, "businessAccountModels" : [ { }, { } ], "attachments" : [ { }, { } ], "longDescriptionI18n" : { "property1" : "...", "property2" : "..." }, "active" : true, "codeChanged" : true, "parentCFEntities" : [ { }, { } ], "statusDate" : 12345, "uuid" : "...", "channels" : [ { }, { } ], "offerComponents" : [ { }, { } ], "imagePath" : "...", "allowedDiscountPlans" : [ { }, { } ], "tags" : [ { }, { } ], "commercialRules" : [ { }, { } ], "autoEndOfEngagement" : true, "descriptionI18n" : { "property1" : "...", "property2" : "..." }, "version" : 12345, "offerModel" : { }, "transient" : true, "minimumChargeTemplate" : { }, "nameOrCode" : "...", "referenceCode" : "...", "businessOfferModel" : { }, "productTemplates" : [ { }, { } ], "customerCategories" : [ { }, { } ], "auditable" : { }, "description" : "...", "generateQuoteEdrPerProduct" : true, "medias" : [ { }, { } ], "isOfferChangeRestricted" : true, "descriptionAndCode" : "...", "minimumArticle" : { }, "auditableFields" : [ { }, { } ], "isModel" : true, "appendGeneratedCode" : true, "minimumAmountEl" : "...", "code" : "...", "cfAccumulatedValues" : { }, "globalRatingScriptInstance" : { }, "cfValues" : { }, "lifeCycleStatus" : "IN_STUDY", "descriptionI18nNullSafe" : { "property1" : "...", "property2" : "..." }, "offerProductTemplates" : [ { }, { } ], "transientCode" : "...", "historized" : true, "subscriptionRenewal" : { }, "id" : 12345, "offerTemplateCategories" : [ { }, { } ], "descriptionOrCode" : "...", "validity" : { }, "minimumInvoiceSubCategory" : { }, "disabled" : true, "minimumLabelEl" : "...", "referenceDescription" : "...", "notified" : true, "longDescription" : "...", "name" : "...", "longDescriptionI18nNullSafe" : { "property1" : "...", "property2" : "..." }, "sellers" : [ { }, { } ], "parentEntity" : { }, "offerAttributes" : [ { }, { } ], "allowedOffersChange" : [ { }, { } ] }, "id" : 12345, "sourceAttributeValue" : "...", "sourceProductVersion" : { "product" : { }, "notified" : true, "historized" : true, "status" : "DRAFT", "auditableFields" : [ { }, { } ], "id" : 12345, "version" : 12345, "transient" : true, "validity" : { }, "statusDate" : 12345, "auditable" : { }, "longDescription" : "...", "currentVersion" : 12345, "groupedAttributes" : [ { }, { } ], "tags" : [ { }, { } ], "shortDescription" : "...", "attributes" : [ { }, { } ] }, "sourceProductCode" : "...", "sourceTag" : { "version" : 12345, "auditable" : { }, "parentTag" : { }, "tagType" : { }, "parentEntity" : { }, "transient" : true, "id" : 12345, "historized" : true, "notified" : true, "seller" : { }, "descriptionOrCode" : "...", "parentEntityType" : { }, "codeChanged" : true, "code" : "...", "referenceCode" : "...", "appendGeneratedCode" : true, "descriptionAndCode" : "...", "filterEl" : "...", "description" : "...", "referenceDescription" : "...", "auditableFields" : [ { }, { } ], "name" : "..." }, "sourceProduct" : { "discountFlag" : true, "productCharges" : [ { }, { } ], "auditableFields" : [ { }, { } ], "cfAccumulatedValues" : { }, "serviceUsageCharges" : [ { }, { } ], "serviceSubscriptionCharges" : [ { }, { } ], "serviceRecurringCharges" : [ { }, { } ], "discountList" : [ { }, { } ], "serviceTerminationCharges" : [ { }, { } ], "codeChanged" : true, "offerComponents" : [ { }, { } ], "brand" : { }, "productModel" : { }, "commercialRuleHeader" : [ { }, { } ], "notified" : true, "isModel" : true, "pricePlanMatrixColumns" : [ { }, { } ], "priceVersionDateSetting" : "RENEWAL", "disabled" : true, "version" : 12345, "code" : "...", "active" : true, "id" : 12345, "parentCFEntities" : [ { }, { } ], "parentEntity" : { }, "referenceDescription" : "...", "uuid" : "...", "productVersions" : [ { }, { } ], "descriptionAndCode" : "...", "status" : "ACTIVE", "referenceCode" : "...", "historized" : true, "appendGeneratedCode" : true, "modelChildren" : [ "...", "..." ], "commercialRuleLines" : [ { }, { } ], "productLine" : { }, "articleMappingLines" : [ { }, { } ], "description" : "...", "cfValues" : { }, "parentEntityType" : { }, "auditable" : { }, "reference" : "...", "descriptionOrCode" : "...", "medias" : [ { }, { } ], "packageFlag" : true, "transient" : true, "statusDate" : 12345, "model" : "..." }, "transient" : true, "sourceGroupedAttributes" : { "cfValues" : { }, "parentEntityType" : { }, "appendGeneratedCode" : true, "transient" : true, "auditableFields" : [ { }, { } ], "parentEntity" : { }, "mandatory" : true, "historized" : true, "parentCFEntities" : [ { }, { } ], "active" : true, "referenceCode" : "...", "notified" : true, "attributes" : [ { }, { } ], "description" : "...", "commercialRules" : [ { }, { } ], "display" : true, "uuid" : "...", "version" : 12345, "sequence" : 12345, "descriptionOrCode" : "...", "referenceDescription" : "...", "id" : 12345, "code" : "...", "disabled" : true, "auditable" : { }, "codeChanged" : true, "cfAccumulatedValues" : { }, "descriptionAndCode" : "..." }, "commercialRuleItem" : { "id" : 12345, "transient" : true, "commercialRuleHeader" : { }, "operator" : "OR", "version" : 12345, "commercialRuleLines" : [ { }, { } ], "ruleItemEl" : "..." }, "sourceAttribute" : { "referenceCode" : "...", "parentAttribute" : { }, "medias" : [ { }, { } ], "historized" : true, "auditableFields" : [ { }, { } ], "active" : true, "version" : 12345, "parentEntity" : { }, "disabled" : true, "transient" : true, "code" : "...", "tags" : [ { }, { } ], "offerTemplateAttribute" : [ { }, { } ], "commercialRules" : [ { }, { } ], "productVersionAttributes" : [ { }, { } ], "attributeCategory" : "REGULAR", "priority" : 12345, "chargeTemplates" : [ { }, { } ], "assignedAttributes" : [ { }, { } ], "parentEntityType" : { }, "appendGeneratedCode" : true, "allowedValues" : [ "...", "..." ], "description" : "...", "uuid" : "...", "notified" : true, "id" : 12345, "cfAccumulatedValues" : { }, "auditable" : { }, "codeChanged" : true, "groupedAttributes" : [ { }, { } ], "elValue" : "...", "unitNbDecimal" : 12345, "attributeType" : "PHONE", "descriptionOrCode" : "...", "descriptionAndCode" : "...", "referenceDescription" : "...", "cfValues" : { }, "parentCFEntities" : [ { }, { } ] }, "sourceOfferAttribute" : true, "operator" : "LESS_THAN_OR_EQUAL" } ], "ruleItemEl" : "..." }