계약서/전자서명 목록 조회 API
GET kit-api/v1/contracts
GET kit-api/v1/contractsExample
...kit-api/v1/contracts?limit=10&offset=0Request Query
Key
Description
Required
Response
Status Code
Error Code
Description
Last updated
{
"ok": true, // api 성공
"data": {
"total": 1,
"contracts": [
{
// 계약서의 파일은 계약서 상세 조회 API에서 조회할 수 있습니다.
"id": 1,
"uuid": "ed976505-bcbd-47bd-913d-f4cde05dea7a", // 문서 식별값 (uuid 값을 api에서 사용합니다)
"customKey": "a4-k1234", // 커스텀 계약 ID
"title": "A컴퍼니 MOU", // 계약서 이름
"status": "CREATED", // 계약 상태 (CREATED, CONCLUDED)
"type": "NEW", // 신규계약/재계약 여부 (NEW, RENEWAL)
"createdAt": "2024-07-05T00:00:00.000Z", // 생성일
"updatedAt": "2024-10-15T00:00:00.000Z", // 변경일
"contractDate": {
"startDate": "2024-10-01T00:00:00.000Z", // 시작일
"endDate": null, // 종료일
"concludedDate": null // 체결일
},
"signature": {
// 전자서명 정보
"id": 1,
"uuid": "57139f5c-37d0-4c30-bdb6-ef6106040756", // 전자서명 식별값
"title": "A컴퍼니 MOU 전자서명", // 전자서명 제목
"expiredDate": "2024-10-15T00:00:00.000Z", // 전자서명 만료일
"status": "WAITING", // 전자서명 상태 (CREATED, WAITING, DONE, CANCELED)
"createdAt": "2024-07-15T00:00:00.000Z", // 생성일
"updatedAt": "2024-10-15T00:00:00.000Z", // 변경일
"participants": [], // 전자서명 참여자 정보 (uuid, name, status, auth, send, email, phone, role, language)
"objects": [
{
// 전자서명 입력값 정보
"id": 1,
"contents": "서울시 강남구 선릉로 551", // 내용
"type": "TEXT", // 종류 (TEXT, SIGNATURE, CHECKBOX)
"category": "DEFAULT", // 유형 (DEFAULT, INPUT)
"name": "주소", // 이름
"description": "상세 주소를 입력해 주세요." // 설명
}
]
},
"columnItems": [ // 별도 컬럼
{
value: "ABCDE",
slug: "service-key",
name: "자체 구분값"
}
]
}
]
}
}{
"ok": false, // api 실패
"message": "error message", // Error가 존재하면 message(string)로 전달
"errorCode": "ERROR_CODE"
}