Equivalent of BusinessEntity in DTO
name | data type | constraints | description |
---|---|---|---|
fileOriginalName | string | max size: 255, min size: 0 | File original name. |
fileCurrentName | string | max size: 255, min size: 0 | File current name. |
currentDirectory | string | max size: 255, min size: 0 | Current directory. |
status | FileStatusEnum | File status | |
fileFormat | FileFormat | File Format | |
errorMessage | string | Rejection reason | |
linesInSuccess | number | Number of lines in success | |
linesInWarning | number | Number of lines in warning | |
linesInError | number | Number of lines in error | |
processingAttempts | number | Number of processing attempts | |
flatFileJobCode | string | max size: 255, min size: 0 | Flat file job name (e.g : CDR_job). |
id | number | The id. | |
auditableField | array of AuditableFieldDto | ||
code | string | required | The code |
description | string | The description | |
updatedCode | string | The updated code. |
Example
{ "fileOriginalName" : "...", "fileCurrentName" : "...", "currentDirectory" : "...", "status" : "VALID", "fileFormat" : { "referenceDescription" : "...", "description" : "...", "codeChanged" : true, "transient" : true, "fileNamePattern" : "...", "parentEntityType" : { }, "fileNameUniqueness" : true, "jobCode" : "...", "id" : 12345, "auditableFields" : [ { "historized" : true, "notified" : true, "auditType" : "STATUS", "historable" : true, "fieldName" : "...", "currentState" : { }, "notfiable" : true, "previousState" : { } }, { "historized" : true, "notified" : true, "auditType" : "RENEWAL", "historable" : true, "fieldName" : "...", "currentState" : { }, "notfiable" : true, "previousState" : { } } ], "descriptionAndCode" : "...", "recordName" : "...", "parentEntity" : { "descriptionOrCode" : "...", "auditableFields" : [ { }, { } ], "version" : 12345, "historized" : true, "appendGeneratedCode" : true, "auditable" : { }, "parentEntity" : { }, "parentEntityType" : { }, "description" : "...", "referenceDescription" : "...", "codeChanged" : true, "referenceCode" : "...", "code" : "...", "transient" : true, "descriptionAndCode" : "...", "id" : 12345, "notified" : true }, "referenceCode" : "...", "fileTypes" : [ { "description" : "...", "id" : 12345, "descriptionOrCode" : "...", "historized" : true, "referenceCode" : "...", "code" : "...", "descriptionAndCode" : "...", "parentEntityType" : { }, "notified" : true, "parentEntity" : { }, "codeChanged" : true, "auditable" : { }, "version" : 12345, "transient" : true, "auditableFields" : [ { }, { } ], "referenceDescription" : "...", "appendGeneratedCode" : true }, { "description" : "...", "id" : 12345, "descriptionOrCode" : "...", "historized" : true, "referenceCode" : "...", "code" : "...", "descriptionAndCode" : "...", "parentEntityType" : { }, "notified" : true, "parentEntity" : { }, "codeChanged" : true, "auditable" : { }, "version" : 12345, "transient" : true, "auditableFields" : [ { }, { } ], "referenceDescription" : "...", "appendGeneratedCode" : true } ], "rejectDirectory" : "...", "descriptionOrCode" : "...", "inputDirectory" : "...", "configurationTemplate" : "...", "version" : 12345, "notified" : true, "outputDirectory" : "...", "historized" : true, "code" : "...", "archiveDirectory" : "...", "auditable" : { "lastModified" : 12345, "updated" : 12345, "updater" : "...", "created" : 12345, "creator" : "...", "lastUser" : "..." }, "appendGeneratedCode" : true }, "errorMessage" : "...", "linesInSuccess" : 12345, "linesInWarning" : 12345, "linesInError" : 12345, "processingAttempts" : 12345, "flatFileJobCode" : "...", "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" : "..." }