Equivalent of BusinessEntity in DTO
name | data type | constraints | description |
---|---|---|---|
contractCode | string | required | |
offerTemplateCode | string | ||
productCode | string | ||
pricePlanCode | string | required | |
chargeTemplateCode | string | ||
serviceTemplateCode | string | ||
rate | number | ||
amountWithoutTax | number | ||
contractRateType | ContractRateTypeEnum | Type of rate, whether absolute or percentage. | |
customFields | CustomFieldsDto | ||
id | number | The id. | |
auditableField | array of AuditableFieldDto | ||
code | string | required | The code |
description | string | The description | |
updatedCode | string | The updated code. |
Example
{ "contractCode" : "...", "offerTemplateCode" : "...", "productCode" : "...", "pricePlanCode" : "...", "chargeTemplateCode" : "...", "serviceTemplateCode" : "...", "rate" : 12345.0, "amountWithoutTax" : 12345.0, "contractRateType" : "FIXED", "customFields" : { "customField" : [ { "code" : "...", "description" : "...", "fieldType" : "CHILD_ENTITY", "languageDescriptions" : [ { }, { } ], "valueDate" : 12345, "valuePeriodStartDate" : 12345, "valuePeriodEndDate" : 12345, "valuePeriodPriority" : 12345, "stringValue" : "...", "dateValue" : 12345, "longValue" : 12345, "doubleValue" : 12345.0, "booleanValue" : true, "value" : [ { }, { } ], "mapValue" : { "property1" : { }, "property2" : { } }, "entityReferenceValue" : { }, "indexType" : "INDEX_NOT_ANALYZE", "fileValue" : "...", "formattedValue" : { }, "urlReferenceValue" : { }, "guiPosition" : "...", "customTableCode" : "...", "dataFilter" : "...", "fields" : "..." }, { "code" : "...", "description" : "...", "fieldType" : "CUSTOM_TABLE_WRAPPER", "languageDescriptions" : [ { }, { } ], "valueDate" : 12345, "valuePeriodStartDate" : 12345, "valuePeriodEndDate" : 12345, "valuePeriodPriority" : 12345, "stringValue" : "...", "dateValue" : 12345, "longValue" : 12345, "doubleValue" : 12345.0, "booleanValue" : true, "value" : [ { }, { } ], "mapValue" : { "property1" : { }, "property2" : { } }, "entityReferenceValue" : { }, "indexType" : "INDEX_NOT_ANALYZE", "fileValue" : "...", "formattedValue" : { }, "urlReferenceValue" : { }, "guiPosition" : "...", "customTableCode" : "...", "dataFilter" : "...", "fields" : "..." } ], "inheritedCustomField" : [ { "code" : "...", "description" : "...", "fieldType" : "CHILD_ENTITY", "languageDescriptions" : [ { }, { } ], "valueDate" : 12345, "valuePeriodStartDate" : 12345, "valuePeriodEndDate" : 12345, "valuePeriodPriority" : 12345, "stringValue" : "...", "dateValue" : 12345, "longValue" : 12345, "doubleValue" : 12345.0, "booleanValue" : true, "value" : [ { }, { } ], "mapValue" : { "property1" : { }, "property2" : { } }, "entityReferenceValue" : { }, "indexType" : "INDEX_NOT_ANALYZE", "fileValue" : "...", "formattedValue" : { }, "urlReferenceValue" : { }, "guiPosition" : "...", "customTableCode" : "...", "dataFilter" : "...", "fields" : "..." }, { "code" : "...", "description" : "...", "fieldType" : "CHILD_ENTITY", "languageDescriptions" : [ { }, { } ], "valueDate" : 12345, "valuePeriodStartDate" : 12345, "valuePeriodEndDate" : 12345, "valuePeriodPriority" : 12345, "stringValue" : "...", "dateValue" : 12345, "longValue" : 12345, "doubleValue" : 12345.0, "booleanValue" : true, "value" : [ { }, { } ], "mapValue" : { "property1" : { }, "property2" : { } }, "entityReferenceValue" : { }, "indexType" : "INDEX_NOT_ANALYZE", "fileValue" : "...", "formattedValue" : { }, "urlReferenceValue" : { }, "guiPosition" : "...", "customTableCode" : "...", "dataFilter" : "...", "fields" : "..." } ] }, "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" : "..." }