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" : {
"fileNameUniqueness" : true,
"code" : "...",
"descriptionOrCode" : "...",
"rejectDirectory" : "...",
"description" : "...",
"transient" : true,
"codeChanged" : true,
"fileNamePattern" : "...",
"referenceDescription" : "...",
"fileTypes" : [ {
"notified" : true,
"appendGeneratedCode" : true,
"description" : "...",
"version" : 12345,
"auditableFields" : [ { }, { } ],
"id" : 12345,
"descriptionAndCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"codeChanged" : true,
"referenceCode" : "...",
"historized" : true,
"referenceDescription" : "...",
"descriptionOrCode" : "...",
"code" : "...",
"transient" : true,
"parentEntity" : { }
}, {
"notified" : true,
"appendGeneratedCode" : true,
"description" : "...",
"version" : 12345,
"auditableFields" : [ { }, { } ],
"id" : 12345,
"descriptionAndCode" : "...",
"parentEntityType" : { },
"auditable" : { },
"codeChanged" : true,
"referenceCode" : "...",
"historized" : true,
"referenceDescription" : "...",
"descriptionOrCode" : "...",
"code" : "...",
"transient" : true,
"parentEntity" : { }
} ],
"jobCode" : "...",
"notified" : true,
"parentEntity" : {
"codeChanged" : true,
"notified" : true,
"descriptionOrCode" : "...",
"description" : "...",
"version" : 12345,
"historized" : true,
"transient" : true,
"id" : 12345,
"parentEntityType" : { },
"parentEntity" : { },
"referenceCode" : "...",
"code" : "...",
"auditableFields" : [ { }, { } ],
"auditable" : { },
"descriptionAndCode" : "...",
"appendGeneratedCode" : true,
"referenceDescription" : "..."
},
"outputDirectory" : "...",
"appendGeneratedCode" : true,
"parentEntityType" : { },
"archiveDirectory" : "...",
"inputDirectory" : "...",
"version" : 12345,
"id" : 12345,
"auditable" : {
"creator" : "...",
"updater" : "...",
"updated" : 12345,
"lastModified" : 12345,
"lastUser" : "...",
"created" : 12345
},
"configurationTemplate" : "...",
"auditableFields" : [ {
"notfiable" : true,
"fieldName" : "...",
"auditType" : "RENEWAL",
"previousState" : { },
"historable" : true,
"notified" : true,
"historized" : true,
"currentState" : { }
}, {
"notfiable" : true,
"fieldName" : "...",
"auditType" : "RENEWAL",
"previousState" : { },
"historable" : true,
"notified" : true,
"historized" : true,
"currentState" : { }
} ],
"referenceCode" : "...",
"historized" : true,
"descriptionAndCode" : "...",
"recordName" : "..."
},
"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" : "..."
}