파일 첨부

컴포넌트 속성 {#component-attribute}

컴포넌트 속성 종류 {#component-attribute-type}

종류코드설명
CP_ATTACH_FILE001파일 크기 설정.
001: 설정 안 함
002: 설정
CP_ATTACH_FILE002파일 크기 설정값(1개당)
CP_ATTACH_FILE007파일 유형 설정.
001: 설정 안 함
002: 설정
CP_ATTACH_FILE008파일 유형 설정값.
001: 문서
002: 이미지
003: 동영상
CP_ATTACH_FILE009첨부 가능 최대 개수(1~20)

컴포넌트 속성 정보 {#component-attribute-data}

속성타입설명
attributeTypestring속성 종류
attributeIdstring속성 ID
attributeNamestring속성 이름
attributeValueobject속성값

Response Example {#component-attribute-example}

[  {      "attributeType": "CP_ATTACH_FILE",      "attributeId": "001",      "attributeName": "파일 크기",      "attributeValue": {          "items": [              {                  "itemId": "002",                  "itemName": "설정"              }          ]      }  },  {      "attributeType": "CP_ATTACH_FILE",      "attributeId": "002",      "attributeName": "파일 크기 설정값(1개당)",      "attributeValue": {          "value": "1000"      }  },  {      "attributeType": "CP_ATTACH_FILE",      "attributeId": "007",      "attributeName": "파일 유형",      "attributeValue": {          "items": [              {                  "itemId": "002",                  "itemName": "설정"              }          ]      }  },  {      "attributeType": "CP_ATTACH_FILE",      "attributeId": "008",      "attributeName": "파일 유형 설정값",      "attributeValue": {          "items": [              {                  "itemId": "002",                  "itemName": "이미지"              }          ]      }  },  {      "attributeType": "CP_ATTACH_FILE",      "attributeId": "009",      "attributeName": "첨부 가능 최대 개수",      "attributeValue": {          "items": [              {                  "itemId": "1",                  "itemName": "1"              }          ]      }  }]