CounterTemplateDto Data Type

The Class CounterTemplateDto.

Implemented Interfaces
Serializable
Properties
name data type constraints description
disabled boolean   Is entity disabled. Value is ignored in Update action - use enable/disable API instead.
id number   The id.
auditableField array of AuditableFieldDto  
code string required The code
calendar string   The calendar.
calendarCodeEl string max size: 2000, min size: 0 The calendar code El.
description string   The description
unity string   The unity.
type CounterTypeEnum   The type.
updatedCode string   The updated code.
ceiling number   The ceiling.
counterLevel CounterTemplateLevel   The counter level.
ceilingExpressionEl string max size: 2000, min size: 0 The ceiling expression el.
notificationLevels string   The notification levels.
accumulator boolean   Is an accumulator counter
accumulatorType AccumulatorCounterTypeEnum   The type field can be "Multi-value" if the accumulator is true
filterEl string   An EL expression that returns a boolean that tells us if we accumulate or not.
keyEl string   An EL expression that Returns a string that is an identifier for what we count
valueEl string   An EL expression that returns a number (BigDecimal) that contains the quantity we count

Example

{
  "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" : "..."
  } ],
  "code" : "...",
  "calendar" : "...",
  "calendarCodeEl" : "...",
  "description" : "...",
  "unity" : "...",
  "type" : "USAGE",
  "updatedCode" : "...",
  "ceiling" : 12345.0,
  "counterLevel" : "CA",
  "ceilingExpressionEl" : "...",
  "notificationLevels" : "...",
  "accumulator" : true,
  "accumulatorType" : "MULTI_VALUE",
  "filterEl" : "...",
  "keyEl" : "...",
  "valueEl" : "..."
}