VPC 환경에서 이용 가능합니다.
Datafence 내 반출 심사 목록을 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
메서드 | URI |
---|---|
GET | /api/v1/export-approval/get-export-file-approve-list |
요청 헤더
Datafence API에서 공통으로 사용하는 헤더에 대한 정보는 Datafence 요청 헤더를 참조해 주십시오.
요청 쿼리 파라미터
요청 쿼리 파라미터에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
fenceId |
Integer | Required | Datafence 번호 |
boxId |
Integer | Required | Box 번호
|
status |
String | Optional | 반출 신청 상태 코드 |
from |
String | Optional | 조회 시작 일시
|
to |
String | Optional | 조회 종료 일시
|
page |
Integer | Optional | 페이지 번호
|
size |
Integer | Optional | 페이지당 항목 수
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request GET 'https://datafence.apigw.ntruss.com/api/v1/export-approval/get-export-file-approve-list?fenceId=26&boxId=74&status=EXPORTED&from=20250401000000&to=20250430000000' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
응답
응답 형식을 설명합니다.
응답 바디
응답 바디에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
totalCount |
Integer | - | 응답 결과 개수 |
reviewBucketName |
String | - | 반출 심사 버킷 이름 |
content |
Array | - | 반출 심사 대상 목록 |
content
content
에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
fenceId |
Integer | - | Datafence 번호 |
fenceName |
String | - | Datafence 이름 |
boxId |
Integer | - | Box 번호 |
boxName |
String | - | Box 이름 |
boxStatus |
String | - | Box 상태 코드
|
fileId |
Integer | - | 반출 신청 번호 |
requesterId |
String | - | 반출 신청자 아이디 |
screenFilePath |
String | - | 반출 심사 대상 파일 이름
|
statusCode |
String | - | 반출 심사 상태 코드 |
statusName |
String | - | 반출 심사 상태 이름 |
description |
String | - | 반출 신청에 대한 설명 |
fileDescription |
String | - | 반출 신청 파일에 대한 설명 |
exportPurpose |
String | - | 반출 목적 |
rejectReason |
String | - | 반출 신청 반려 사유 |
fileSize |
Integer | - | 반출 심사 대상 파일 크기(MB) |
createDate |
String | - | 반출 신청 일시
|
completeDate |
String | - | 반출 심사 일시
|
응답 상태 코드
Datafence API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Datafence API 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"totalCount": 3,
"reviewBucketName": "defence001",
"content": [
{
"fenceId": 26,
"fenceName": "defence001",
"boxId": 74,
"boxName": "box1",
"boxStatus": "USE",
"fileId": 102,
"requesterId": "nb********@navercorp.com",
"screenFilePath": "20250425T162608_117_datafence001.csv",
"statusCode": "UPLOADED",
"statusName": "심사요청(파일 전송완료)",
"description": "파일 반출 테스트",
"fileDescription": "테스트용 파일",
"exportPurpose": "파일 반출 테스트",
"fileSize": 0,
"createDate": "2025-04-25T16:26:09+09:00"
},
{
"fenceId": 26,
"fenceName": "defence001",
"boxId": 74,
"boxName": "box1",
"boxStatus": "USE",
"fileId": 100,
"requesterId": "nb********@navercorp.com",
"screenFilePath": "20250425T160023_117_datafence001.csv",
"statusCode": "REJECTED",
"statusName": "반려",
"description": "파일 반출 테스트",
"fileDescription": "테스트용 파일",
"exportPurpose": "파일 반출 테스트",
"rejectReason": "-",
"fileSize": 0,
"createDate": "2025-04-25T16:00:25+09:00",
"resultDate": "2025-04-25T16:22:03+09:00"
},
{
"fenceId": 26,
"fenceName": "defence001",
"boxId": 74,
"boxName": "box1",
"boxStatus": "USE",
"fileId": 99,
"requesterId": "nb********@navercorp.com",
"screenFilePath": "20250425T160022_116_sample.xlsx",
"statusCode": "EXPORTED",
"statusName": "승인(버킷 저장완료)",
"description": "파일 반출 테스트",
"fileDescription": "테스트용 파일",
"exportPurpose": "파일 반출 테스트",
"fileSize": 2,
"createDate": "2025-04-25T16:00:25+09:00",
"resultDate": "2025-04-25T16:07:20+09:00"
}
]
}