The Class CounterInstanceDto.
name | data type | constraints | description |
---|---|---|---|
counterPeriods | CountersPeriodsDto | The Counter periods | |
id | number | The id. | |
auditableField | array of AuditableFieldDto | ||
code | string | required | The code |
description | string | The description | |
updatedCode | string | The updated code. |
Example
{ "counterPeriods" : { "counterPeriodDto" : [ { "counterType" : "USAGE_AMOUNT", "level" : 12345.0, "periodStartDate" : "...", "periodEndDate" : "...", "value" : 12345.0, "accumulator" : true, "accumulatedValues" : { "property1" : 12345.0, "property2" : 12345.0 }, "accumulatorType" : "SINGLE_VALUE", "id" : 12345, "code" : "..." }, { "counterType" : "USAGE", "level" : 12345.0, "periodStartDate" : "...", "periodEndDate" : "...", "value" : 12345.0, "accumulator" : true, "accumulatedValues" : { "property1" : 12345.0, "property2" : 12345.0 }, "accumulatorType" : "MULTI_VALUE", "id" : 12345, "code" : "..." } ] }, "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" : "...", "description" : "...", "updatedCode" : "..." }