무해화 요청 처리 시작
CdrBroker에서 전처리된 무해화 요청을 CdrApiService에서 전달받아 처리하기 위한 사용한다.
Method
POST
cdrApiService/callback/start
Request Path Parameter
KEY OBJECT DESC
Request Body (json)
KEY OBJECT DESC fileId String 작업 ID filePath String 무해화 요청 파일 경로 userInfo Object 무해화 요청 사용자 정보 cdrBrokerCount int 큐에 저장된 순간의 카운트 apiProcessTimes Object 작업 시간 로깅 테이블 엔티티
Response Body (json)
KEY OBJECT DESC code int 응답 코드 (성공: 0) msg String 응답 메시지 ("success") fileId String 처리된 파일 ID
Exception Response Body (json)
KEY OBJECT DESC code int 응답 코드 (실패: -1) msg String 응답 메시지 ("failure") error String 오류 메시지
Exception Code
HTTP STATUS CODE MESSAGE DESC 400 - Invalid empty value found 필수 파라미터 누락 또는 null 값 500 -1 failure 무해화 처리 중 내부 서버 오류
Sample
REQUEST
{
"fileId": "FILE_12345678-1234-1234-1234-123456789012",
"filePath": "/tmp/upload/test_document.pdf",
"userInfo": {
"userId": "user001",
"userName": "홍길동",
"groupName": "개발팀",
"dutyName": "팀장",
"tenant": "softcamp",
"sysCode": "sys001",
"businessCode": "biz001",
"userNumber": 12345
},
"cdrBrokerCount": 5,
"apiProcessTimes": {
"id": 1001,
"fileId": "FILE_12345678-1234-1234-1234-123456789012",
"cdrRequestTime": "2024-01-15T10:30:00.000Z"
}
}RESPONSE - Success
{
"code": 0,
"msg": "success",
"fileId": "FILE_12345678-1234-1234-1234-123456789012"
}RESPONSE - Exception
{
"code": -1,
"msg": "failure",
"error": "File processing failed: Invalid file path"
}