공통포맷 상세 조회
Last updated
Was this helpful?
Last updated
Was this helpful?
array<object>
O
Messagebase 객체입니다.
code
string
5
O
20000000
status
integer
3
O
200
desc
string
O
groupId
string
템플릿이 대량등록된 경우 그룹ID 입니다.
messagebaseId
string
40
O
템플릿 ID
tmpltName
string
40
템플릿 등록시 입력된 템플릿 명칭입니다.
messagebaseformId
string
40
O
템플릿의 원형인 템플릿 양식 ID 입니다.
brandId
string
O
템플릿이 등록되어 있는 브랜드 ID 입니다. 공통으로 사용하는 템플릿인 경우 'common'으로 표시됩니다.
status
string
템플릿의 상태를 표시합니다. ready : 사용 pause : 사용중지
approvalResult
string
템플릿의 승인 상태입니다.
저장 : RCS Biz Center 홈페이지에서 템플릿 정보를 입력하고 승인요청 하지 않고 저장해 둔 상태입니다. 저장 상태의 템플릿은 승인요청을 해야 승인대기 상태로 변경됩니다.
승인대기 : 템플릿 등록 직후 검수 이전 상태입니다.
검수시작 : 템플릿 검수가 시작된 상태입니다.
승인 : 검수가 완료되어 이통3사에 정보 등록까지 최종 완료되어 RCS 메시지를 발송할 수 있는 상태입니다.
반려 : 검수 시 승인이 불가하여 반려된 상태입니다. 반려된 템플릿은 수정 후 다시 승인요청 할 수 있습니다.
검수완료 : RCS Biz Center에서 검수 승인 하였으나 이통사 3사 등록이 완료되지 않은 상태로 RCS 메시지를 발송할 수 없습니다.
승인대기(수정) : 승인된 템플릿 변경 승인요청 직후 검수 이전 상태입니다.
검수시작(수정) : 승인된 템플릿 변경으로 승인요청된 템플릿 검수가 시작된 상태입니다.
반려(수정) : 승인된 템플릿 변경 검수 처리 결과 반려된 상태입니다.
검수완료(수정) : 승인된 브랜드 변경 검수 승인은 되었으나 이통3사 정보 등록이 완료되지 않은 상태입니다. 현재 상태에서는 이통사에 따라 단말 브랜드 홈 정보가 다를 수 있습니다
approvalReason
string
승인 사유
registerDate
string
템플릿 등록일시
approvalDate
string
템플릿 승인일시
updateDate
string
템플릿 수정일시
registerId
string
20
템플릿 등록 계정 ID
updateId
string
20
템플릿 수정 계정 ID
productCode
string
O
메시지 상품 종류 구분값입니다. "sms", "lms", "mms", "tmplt"
spec
string
레이아웃 구조가 리치카드인지 오픈리치카드인지 구분합니다.
"richcard", "openrichcard"
cardType
string
64
카드종류를 구분합니다. 향후 추가될 수 있습니다.
standalone
standalone horizontal
standalone media top - carousel
carousel medium
carousel small
Highlighted Image n Title
Highlighted Image
Thumbnail
SNS
Description
Cell
Free
agencyId
string
20
템플릿을 대행사가 등록한 경우, 등록한 대행사ID 입니다.
inputText
string
300
정보성 텍스트 템플릿 서술(Description)인 경우, 템플릿 등록시 입력한 원본 문장을 제공합니다.
attribute
array<string>
통계용 속성 정보 제공 목적의 필드이며, messagebaseform의 [bizCondition, bizCategory, bizService] 로 구성된 배열입니다.
object
템플릿 작성에 필요한 가이드 정보를 제공하기 위하여 양식 정의 시 포함되는 정보입니다. 리치카드의 경우 messagebaseInfo에서 제공됩니다.
object
리치카드, 오픈리치카드에 포함된 content(title, description, media, button) 에 대한 검증 정책 저장을 위한 객체입니다.
array<object>
템플릿의 개별 파라미터를 검수하기 위한 대상 파라미터 정보 객체입니다. 크기 관련 필드는 <=0 인 경우 체크하지 않습니다.
array<object>
이미지 템플릿용 파일 등록 정보입니다.
formattedString
object
GSMA 및 TTA RCS 규격이며 JSON 형식으로 정의된 템플릿의 레이아웃 데이터입니다.
maxLineCount
integer
max 라인수
maxDisplayText
integer
버튼명 글자수
maxDescriptionSize
integer
카드별 max 본문 글자수
imageWidth
integer
이미지 권고 가로 사이즈 단위는 Pixel
imageHeight
integer
이미지 권고 세로 사이즈 단위는 Pixel
object
리치카드 메시지 상품별 1라인당 글자수, 타이틀 라인수 및 버튼 수에 따라 메시지가 잘려 보이지 않는 최대 라인수 정보를 제공합니다.
메시지가 수신된 단말에 따라 상이할 수 있으나 리치카드 RCS메시지 발송 시 권장사항으로 참고하시기 바랍니다.
LMS와 MMS 12종 총 13종에 대해 개별 제공됩니다.
productCardType
string
상품 카드 종류
releaseDate
string
정보 제공 일자(내용 수정시 일시 변경)
summary
string
요약 정보
charactersPerLine
object
각 항목 별 권장 라인당 글자수
combinations
array<object>
디스크립션 권장 라인수 조합
buttonsAllowed
boolean
MaaP FE /message의 buttons 사용 유무
true : buttons 필드 사용
false : buttons 에 값이 들어오면 실패 처리
adHeaderAllowed
boolean
header에 광고 인입 허가 여부
true : 광고인입 허용(MaaP FE /message의 header 체크안함)
false : 광고인입 불허(MaaP FE /message이 header가 1(광고) 이면 실패 처리)
adBodyAllowed
boolean
광고 문구 허용 여부
true : 본문 광고 문구를 체크하지 않음.
false : 본문이 "(광고)"로 시작하면 실패 처리
cardCount
integer
카드 개수
maxTitleSize
integer
개별 타이틀 글자 최대 수. 사용하지 않음.
maxButtonCount
integer
버튼 최대 개수
maxDescriptionSize
integer
RichCard인 경우(Carousel포함) Description들의 글자수 총합.
OpenRichCard인 경우 변수부 글자수 총합. <=0 인 경우 사용하지 않음.
maxMediaSize
integer
Byte단위 미디어 크기 총합의 최대 크기, <=0 인 경우 사용하지 않음.
param
string
20
O
검수 파라미터명. (영문, 한글, 숫자, '_' 만 사용)
isMandatory
boolean
false
필수여부.
true인 경우 중계사에서 메시지 전송 요청 시 해당 필드가 없는 경우 MaaP FE에서 실패처리한다.
false인 경우는 해당 필드가 없는 경우도 메시지 전송이 되도록 MaaP FE에서 적절하게 처리한다.
type
string
기술검사타입을 지정합니다.
string: 문자열 검사 대상
file: 파일 검사 대상
button: formattedString 내 button 제어 대상
layout: formattedString 내 button외 제어 대상
contentType
string
컨텐츠 유형, PolicyInfo 정책을 검사하는데 사용됩니다.
"title"
"description"
"maapfile"
"cell"
"displayText"
"url"
"etc"
"buttonName"
"visibility"
strSize
integer
글자 최대 크기, type이 string인 경우
fileSize
integer
파일 최대 크기, type이 file인 경우.
strRegx
string
65535
java regular expression, null 인경우 사용하지 않음. 예)
숫자만 : '^[0-9]*$'
영문자만 : '[a-zA-Z]*$'
한글만 : '^[가-힣]*$'
영어 & 숫자만 : '^[a-zA-Z0-9]*$'
E-Mail : '^[a-zA-Z0-9]+@[a-zA-Z0-9]+$'
휴대폰 : '^01(?:0|1|[6-9])-(?:\d{3}|\d{4})-\d{4}$'
일반전화 : '^\d{2,3}-\d{3,4}-\d{4}$'
주민등록번호 : '\d{6}-[1-4]\d{6}'
IP 주소 : '([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3})'
verification
array<string>
문장 패턴 정의 (SKT향) "안녕하세요", "님 ", "원입니다."
imageWidth
integer
이미지 해상도 가로 크기 (지정된 크기의 이미지를 등록해야 정상 발송 가능)
imageHeight
integer
이미지 해상도 세로 크기 (지정된 크기의 이미지를 등록해야 정상 발송 가능)
couplingId
string
20
파라미터 간 함께 처리되어야 하는 경우 동일한 값을 부여 즉, 같은 값의 couplingId가 지정되는 경우 지정된 파라미터는 모두 조건을 만족해야 정상 발송 처리됨
inputText
string
65535
템플릿 등록시 사용자 입력한 원본 문장(고정부 & 변수부)을 제공합니다. 단, cell방식의 타이틀 선택형은 제공되지 않습니다.
relationId
string
param과 관계가 있는 param을 의미합니다. 주로 현재 param이 입력되지 않을 경우 메시지 상에 노출여부와 연관된 visibility에 지정된 param을 표시합니다. 메시지 발송시 이통MaaP FE에서 핸들링하는 것으로 템플릿 등록이나 메시지 발송 param과는 무관하며, 참조 용도로 제공됩니다.
fileId
string
64
O
등록된 파일의 ID 입니다.
url
string
128
등록된 파일의 URL 정보 입니다.
fileName
string
256
등록한 파일의 이름입니다.
imageWidth
integer
이미지 가로 크기 입니다.
imageHeight
integer
이미지 세로 크기 입니다.
{
"code": "20000000",
"desc": null,
"result": [
{
"groupId": null,
"messagebaseId": "SS000000",
"tmpltName": "SMS",
"messagebaseformId": "SS000000",
"brandId": "common",
"status": "ready",
"approvalResult": "승인",
"approvalReason": "승인완료",
"registerDate": "2019-11-08T19:17:24.000+09",
"approvalDate": "2020-11-06T13:06:39.000+09",
"updateDate": "2020-04-08T12:25:26.000+09",
"registerId": "smooncho",
"updateId": "smooncho",
"productCode": "sms",
"spec": "richcard",
"cardType": "standalone",
"agencyId": null,
"inputText": null,
"attribute": null,
"policyInfo": {
"cardCount": 1,
"maxTitleSize": null,
"maxButtonCount": 1,
"maxDescriptionSize": 100,
"maxMediaSize": null,
"buttonsAllowed": true,
"adHeaderAllowed": true,
"adBodyAllowed": true
},
"guideInfo": {
"maxLineCount": null,
"maxDisplayText": 17,
"maxDescriptionSize": 100,
"imageWidth": null,
"imageHeight": null,
"detailInfo": null
},
"params": [
{
"param": "description",
"isMandatory": true,
"type": "string",
"contentType": "description",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
}
],
"formattedString": {
"RCSMessage": {
"trafficType": "advertisement",
"richcardMessage": {
"message": {
"generalPurposeCard": {
"layout": {
"cardOrientation": "VERTICAL"
},
"content": {
"description": "{{description}}"
},
"zoomAllowed": true
}
}
}
}
}
}
],
"status": 200
}
{
"code": "20000000",
"desc": null,
"result": [
{
"groupId": null,
"messagebaseId": "SL000000",
"tmpltName": "LMS",
"messagebaseformId": "SL000000",
"brandId": "common",
"status": "ready",
"approvalResult": "승인",
"approvalReason": "승인완료",
"registerDate": "2019-11-08T19:17:24.000+09",
"approvalDate": "2020-11-06T13:06:21.000+09",
"updateDate": "2021-09-03T11:11:03.000+09",
"registerId": "smooncho",
"updateId": "smooncho",
"productCode": "lms",
"spec": "richcard",
"cardType": "standalone",
"agencyId": null,
"inputText": null,
"attribute": null,
"policyInfo": {
"cardCount": 1,
"maxTitleSize": 30,
"maxButtonCount": 3,
"maxDescriptionSize": 1300,
"maxMediaSize": 0,
"buttonsAllowed": true,
"adHeaderAllowed": true,
"adBodyAllowed": true
},
"guideInfo": {
"maxLineCount": 96,
"maxDisplayText": 17,
"maxDescriptionSize": 1300,
"imageWidth": "0",
"imageHeight": "0",
"detailInfo": null
},
"params": [
{
"param": "description",
"isMandatory": true,
"type": "string",
"contentType": "description",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
}
],
"formattedString": {
"RCSMessage": {
"trafficType": "advertisement",
"richcardMessage": {
"message": {
"generalPurposeCard": {
"layout": {
"cardOrientation": "VERTICAL"
},
"content": {
"title": "{{title}}",
"description": "{{description}}"
},
"zoomAllowed": true
}
}
}
}
}
}
],
"status": 200
}
{
"code": "20000000",
"desc": null,
"result": [
{
"groupId": null,
"messagebaseId": "SMwThM00",
"tmpltName": "세로형(Medium)",
"messagebaseformId": "SMwThM00",
"brandId": "common",
"status": "ready",
"approvalResult": "승인",
"approvalReason": "승인완료",
"registerDate": "2019-11-08T19:17:24.000+09",
"approvalDate": "2020-11-06T13:07:37.000+09",
"updateDate": "2021-04-12T10:53:57.000+09",
"registerId": "smooncho",
"updateId": "smooncho",
"productCode": "mms",
"spec": "richcard",
"cardType": "standalone media top",
"agencyId": null,
"inputText": null,
"attribute": null,
"policyInfo": {
"cardCount": 1,
"maxTitleSize": 30,
"maxButtonCount": 2,
"maxDescriptionSize": 1300,
"maxMediaSize": 1048576,
"buttonsAllowed": true,
"adHeaderAllowed": true,
"adBodyAllowed": true
},
"guideInfo": {
"maxLineCount": 96,
"maxDisplayText": 17,
"maxDescriptionSize": 1300,
"imageWidth": "568",
"imageHeight": "336",
"detailInfo": null
},
"params": [
{
"param": "description",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "media",
"isMandatory": true,
"type": "file",
"contentType": "maapfile",
"strSize": null,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
}
],
"formattedString": {
"RCSMessage": {
"trafficType": "advertisement",
"richcardMessage": {
"message": {
"generalPurposeCard": {
"layout": {
"cardOrientation": "VERTICAL"
},
"content": {
"media": {
"height": "MEDIUM_HEIGHT",
"mediaUrl": "{{media}}"
},
"title": "{{title}}",
"description": "{{description}}"
},
"zoomAllowed": true
}
}
}
}
}
}
],
"status": 200
}
{
"code": "20000000",
"desc": null,
"result": [
{
"groupId": null,
"messagebaseId": "CMwMhM0300",
"tmpltName": "슬라이드형(Medium,3장)",
"messagebaseformId": "CMwMhM0300",
"brandId": "common",
"status": "ready",
"approvalResult": "승인",
"approvalReason": "승인완료",
"registerDate": "2019-11-08T19:17:24.000+09",
"approvalDate": "2020-11-06T13:09:09.000+09",
"updateDate": "2020-04-08T12:32:01.000+09",
"registerId": "smooncho",
"updateId": "smooncho",
"productCode": "mms",
"spec": "richcard",
"cardType": "carousel medium",
"agencyId": null,
"inputText": null,
"attribute": null,
"policyInfo": {
"cardCount": 3,
"maxTitleSize": 30,
"maxButtonCount": 2,
"maxDescriptionSize": 1300,
"maxMediaSize": 1048576,
"buttonsAllowed": true,
"adHeaderAllowed": true,
"adBodyAllowed": true
},
"guideInfo": {
"maxLineCount": 4,
"maxDisplayText": 13,
"maxDescriptionSize": 60,
"imageWidth": "696",
"imageHeight": "504",
"detailInfo": {
"summary": "모든 RCS A2P 대상 단말에서 메시지가 잘려 보이지 않을 최대 보장 description 라인 수에 대한 가이드 정보입니다.",
"charactersPerLine": {
"title": 13,
"description": 14,
"buttonName": 13
},
"combinations": [
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 0,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 28
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 0,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 26
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 0,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 23
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 1,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 27
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 1,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 25
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 1,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 23
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 2,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 26
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 2,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 23
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 2,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 21
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 3,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 24
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 3,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 22
},
{
"condition": {
"mediaPhase": null,
"numberOfLinesOnTitle": 3,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 20
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 0,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 17
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 0,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 15
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 0,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 13
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 1,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 16
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 1,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 14
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 1,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 12
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 2,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 15
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 2,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 13
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 2,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 11
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 3,
"numberOfButtons": 0
},
"numberOfLinesOnDescription": 14
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 3,
"numberOfButtons": 1
},
"numberOfLinesOnDescription": 12
},
{
"condition": {
"mediaPhase": "Medium",
"numberOfLinesOnTitle": 3,
"numberOfButtons": 2
},
"numberOfLinesOnDescription": 10
}
],
"releaseDate": "2021-08-02T00:00:00.000+09",
"productCardType": "Carousel Medium"
}
},
"params": [
{
"param": "description1",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "description2",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "description3",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "media1",
"isMandatory": false,
"type": "file",
"contentType": "maapfile",
"strSize": null,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "media2",
"isMandatory": false,
"type": "file",
"contentType": "maapfile",
"strSize": null,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "media3",
"isMandatory": false,
"type": "file",
"contentType": "maapfile",
"strSize": null,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title1",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title2",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title3",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
}
],
"formattedString": {
"RCSMessage": {
"trafficType": "advertisement",
"richcardMessage": {
"message": {
"generalPurposeCardCarousel": {
"layout": {
"cardWidth": "MEDIUM_WIDTH"
},
"content": [
{
"media": {
"height": "MEDIUM_HEIGHT",
"mediaUrl": "{{media1}}"
},
"title": "{{title1}}",
"description": "{{description1}}"
},
{
"media": {
"height": "MEDIUM_HEIGHT",
"mediaUrl": "{{media2}}"
},
"title": "{{title2}}",
"description": "{{description2}}"
},
{
"media": {
"height": "MEDIUM_HEIGHT",
"mediaUrl": "{{media3}}"
},
"title": "{{title3}}",
"description": "{{description3}}"
}
],
"zoomAllowed": true
}
}
}
}
}
}
],
"status": 200
}
{
"code": "20000000",
"desc": null,
"result": [
{
"groupId": null,
"messagebaseId": "OL00000001",
"tmpltName": "기본형",
"messagebaseformId": "OL00000001",
"brandId": "common",
"status": "ready",
"approvalResult": "승인",
"approvalReason": null,
"registerDate": "2024-07-10T14:32:18.000+09",
"approvalDate": "2024-07-10T14:32:25.000+09",
"updateDate": "2024-07-10T14:32:18.000+09",
"registerId": "leekmstg",
"updateId": null,
"productCode": "lms",
"spec": "openrichcard",
"cardType": "format",
"agencyId": null,
"inputText": null,
"attribute": null,
"policyInfo": {
"cardCount": 1,
"maxTitleSize": 17,
"maxButtonCount": 2,
"maxDescriptionSize": 1300,
"maxMediaSize": 0,
"buttonsAllowed": true,
"adHeaderAllowed": true,
"adBodyAllowed": true
},
"guideInfo": {
"maxLineCount": 0,
"maxDisplayText": 17,
"maxDescriptionSize": 1300,
"imageWidth": "0",
"imageHeight": "0",
"detailInfo": null
},
"params": [
{
"param": "btnName1",
"isMandatory": false,
"type": "button",
"contentType": "buttonName",
"strSize": 17,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "btnVsblty1"
},
{
"param": "btnName2",
"isMandatory": false,
"type": "button",
"contentType": "buttonName",
"strSize": 17,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "btnVsblty2"
},
{
"param": "btnVsblty1",
"isMandatory": false,
"type": "button",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "btnVsblty2",
"isMandatory": false,
"type": "button",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "description",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": 1300,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "descVsblty"
},
{
"param": "descTitleVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "descVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "mTitle",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": 17,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "mTitleVsblty"
},
{
"param": "mTitleMedia",
"isMandatory": false,
"type": "file",
"contentType": "maapfile",
"strSize": -1,
"fileSize": 1048576,
"strRegx": null,
"verification": [],
"imageWidth": 300,
"imageHeight": 300,
"couplingId": null,
"inputText": null,
"relationId": "mTitleMediaVsblty"
},
{
"param": "mTitleMediaVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "mTitleVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": 30,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "descTitleVsblty"
}
],
"formattedString": {
"RCSMessage": {
"trafficType": "advertisement",
"openrichcardMessage": {
"card": "open_rich_card",
"version": "1.0.0",
"zoomAllowed": true,
"scaleAllowed": true,
"layout": {
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"background": "#F2F2F2",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"marginTop": "14dp",
"paddingLeft": "14dp",
"paddingRight": "14dp",
"orientation": "vertical",
"visibility": "{{mTitleVsblty}}",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "horizontal",
"gravity": "bottom",
"children": [
{
"widget": "ImageView",
"width": "24dp",
"height": "24dp",
"corner_radius": "4dp",
"scaleType": "fitXY",
"marginRight": "4dp",
"visibility": "{{mTitleMediaVsblty}}",
"mediaUrl": "{{mTitleMedia}}"
},
{
"widget": "TextView",
"width": "match",
"height": "content",
"textStyle": "bold",
"text": "{{mTitle}}",
"textColor": "#1e1e1e",
"textAlignment": "textStart",
"textSize": "19dp"
}
]
},
{
"width": "match",
"height": "2dp",
"widget": "View",
"marginTop": "6dp",
"background": "#1e1e1e"
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"paddingLeft": "10dp",
"paddingRight": "10dp",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"marginTop": "6dp",
"padding": "4dp",
"orientation": "vertical",
"visibility": "{{descVsblty}}",
"children": [
{
"widget": "TextView",
"width": "match",
"height": "content",
"textStyle": "bold",
"marginBottom": "6dp",
"text": "{{title}}",
"textColor": "#1e1e1e",
"textSize": "17dp",
"visibility": "{{descTitleVsblty}}"
},
{
"widget": "TextView",
"width": "match",
"height": "content",
"textStyle": "normal",
"text": "{{description}}",
"textColor": "#1e1e1e",
"textSize": "15dp",
"viewAll": "150"
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"padding": "4dp",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"children": [
{
"widget": "Button",
"width": "match",
"height": "36dp",
"marginTop": "8dp",
"background": "#E4E4E4",
"textColor": "#1e1e1e",
"textSize": "15dp",
"text": "{{btnName1}}",
"textStyle": "normal",
"textAlignment": "center",
"click": {
"action": {
"urlAction": {
"openUrl": {
"url": ""
}
},
"displayText": "dummy"
}
},
"corner_radius": "8dp",
"visibility": "{{btnVsblty1}}"
},
{
"widget": "Button",
"width": "match",
"height": "36dp",
"marginTop": "8dp",
"background": "#E4E4E4",
"textColor": "#1e1e1e",
"textSize": "15dp",
"text": "{{btnName2}}",
"textStyle": "normal",
"textAlignment": "center",
"click": {
"action": {
"urlAction": {
"openUrl": {
"url": ""
}
},
"displayText": "dummy"
}
},
"corner_radius": "8dp",
"visibility": "{{btnVsblty2}}"
}
]
}
]
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "10dp",
"orientation": "vertical"
}
]
}
}
}
}
}
],
"status": 200
}
{
"code": "20000000",
"desc": null,
"result": [
{
"groupId": null,
"messagebaseId": "OM00000001",
"tmpltName": "기본형",
"messagebaseformId": "OM00000001",
"brandId": "common",
"status": "ready",
"approvalResult": "승인",
"approvalReason": null,
"registerDate": "2024-07-10T14:30:21.000+09",
"approvalDate": "2024-07-10T14:30:22.000+09",
"updateDate": "2024-07-10T14:30:22.000+09",
"registerId": "leekmstg",
"updateId": "leekmstg",
"productCode": "mms",
"spec": "openrichcard",
"cardType": "format",
"agencyId": null,
"inputText": null,
"attribute": null,
"policyInfo": {
"cardCount": 1,
"maxTitleSize": 17,
"maxButtonCount": 2,
"maxDescriptionSize": 1300,
"maxMediaSize": 1048576,
"buttonsAllowed": true,
"adHeaderAllowed": true,
"adBodyAllowed": true
},
"guideInfo": {
"maxLineCount": 0,
"maxDisplayText": 17,
"maxDescriptionSize": 1300,
"imageWidth": "900",
"imageHeight": "900",
"detailInfo": null
},
"params": [
{
"param": "btnName1",
"isMandatory": false,
"type": "button",
"contentType": "buttonName",
"strSize": 17,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "btnVsblty1"
},
{
"param": "btnName2",
"isMandatory": false,
"type": "button",
"contentType": "buttonName",
"strSize": 17,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "btnVsblty2"
},
{
"param": "btnVsblty1",
"isMandatory": false,
"type": "button",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "btnVsblty2",
"isMandatory": false,
"type": "button",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "description",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": 1300,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "descVsblty"
},
{
"param": "descTitleVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "descVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "media",
"isMandatory": true,
"type": "file",
"contentType": "maapfile",
"strSize": -1,
"fileSize": 1048576,
"strRegx": null,
"verification": [],
"imageWidth": 900,
"imageHeight": 900,
"couplingId": null,
"inputText": null,
"relationId": "mediaVsblty"
},
{
"param": "mediaUrl",
"isMandatory": false,
"type": "string",
"contentType": "url",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "mediaVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "mTitle",
"isMandatory": false,
"type": "string",
"contentType": "title",
"strSize": 17,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "mTitleVsblty"
},
{
"param": "mTitleMedia",
"isMandatory": false,
"type": "file",
"contentType": "maapfile",
"strSize": -1,
"fileSize": 1048576,
"strRegx": null,
"verification": [],
"imageWidth": 300,
"imageHeight": 300,
"couplingId": null,
"inputText": null,
"relationId": "mTitleMediaVsblty"
},
{
"param": "mTitleMediaVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "mTitleVsblty",
"isMandatory": false,
"type": "layout",
"contentType": "visibility",
"strSize": -1,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": null
},
{
"param": "title",
"isMandatory": false,
"type": "string",
"contentType": "description",
"strSize": 30,
"fileSize": null,
"strRegx": null,
"verification": [],
"imageWidth": null,
"imageHeight": null,
"couplingId": null,
"inputText": null,
"relationId": "descTitleVsblty"
}
],
"formattedString": {
"RCSMessage": {
"trafficType": "advertisement",
"openrichcardMessage": {
"card": "open_rich_card",
"version": "1.0.0",
"zoomAllowed": true,
"scaleAllowed": true,
"layout": {
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"background": "#F2F2F2",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"marginTop": "14dp",
"paddingLeft": "14dp",
"paddingRight": "14dp",
"orientation": "vertical",
"visibility": "{{mTitleVsblty}}",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "horizontal",
"gravity": "bottom",
"children": [
{
"widget": "ImageView",
"width": "24dp",
"height": "24dp",
"corner_radius": "4dp",
"scaleType": "fitXY",
"marginRight": "4dp",
"visibility": "{{mTitleMediaVsblty}}",
"mediaUrl": "{{mTitleMedia}}"
},
{
"widget": "TextView",
"width": "match",
"height": "content",
"textStyle": "bold",
"text": "{{mTitle}}",
"textColor": "#1e1e1e",
"textAlignment": "textStart",
"textSize": "19dp"
}
]
},
{
"width": "match",
"height": "2dp",
"widget": "View",
"marginTop": "6dp",
"background": "#1e1e1e"
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"paddingLeft": "10dp",
"paddingRight": "10dp",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "horizontal",
"marginTop": "8dp",
"visibility": "{{mediaVsblty}}",
"children": [
{
"widget": "ImageView",
"width": "match",
"height": "content",
"scaleType": "fitXY",
"mediaUrl": "{{media}}",
"click": {
"action": {
"urlAction": {
"openUrl": {
"url": "{{mediaUrl}}"
}
},
"displayText": "정형이미지",
"postback": {
"data": "set_by_chatbot_open_url"
}
}
},
"corner_radius": "8dp"
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"marginTop": "6dp",
"padding": "4dp",
"orientation": "vertical",
"visibility": "{{descVsblty}}",
"children": [
{
"widget": "TextView",
"width": "match",
"height": "content",
"textStyle": "bold",
"marginBottom": "6dp",
"text": "{{title}}",
"textColor": "#1e1e1e",
"textSize": "17dp",
"visibility": "{{descTitleVsblty}}"
},
{
"widget": "TextView",
"width": "match",
"height": "content",
"textStyle": "normal",
"text": "{{description}}",
"textColor": "#1e1e1e",
"textSize": "15dp",
"viewAll": "100"
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"padding": "4dp",
"children": [
{
"widget": "LinearLayout",
"width": "match",
"height": "content",
"orientation": "vertical",
"children": [
{
"widget": "Button",
"width": "match",
"height": "36dp",
"marginTop": "8dp",
"background": "#E4E4E4",
"textColor": "#1e1e1e",
"textSize": "15dp",
"text": "{{btnName1}}",
"textStyle": "normal",
"textAlignment": "center",
"click": {
"action": {
"urlAction": {
"openUrl": {
"url": ""
}
},
"displayText": "dummy"
}
},
"corner_radius": "8dp",
"visibility": "{{btnVsblty1}}"
},
{
"widget": "Button",
"width": "match",
"height": "36dp",
"marginTop": "8dp",
"background": "#E4E4E4",
"textColor": "#1e1e1e",
"textSize": "15dp",
"text": "{{btnName2}}",
"textStyle": "normal",
"textAlignment": "center",
"click": {
"action": {
"urlAction": {
"openUrl": {
"url": ""
}
},
"displayText": "dummy"
}
},
"corner_radius": "8dp",
"visibility": "{{btnVsblty2}}"
}
]
}
]
}
]
},
{
"widget": "LinearLayout",
"width": "match",
"height": "10dp",
"orientation": "vertical"
}
]
}
}
}
}
}
],
"status": 200
}
{
"error": {
"code": "61003",
"message": "Invalid token"
},
"status": 401
}
error code는 RCS Biz Center - Response body error code 참조
이통사가 기본 제공하는 공통템플릿 별 상세 내용을 조회합니다.
상품별 SMS, LMS, MMS, CHAT용 세부 정보를 조회할 수 있습니다.
/messagebase/common/{messagebaseId}
messagebase ID Path parameter 입니다.
curl -L \
--url 'https://api-qa.rcsbizcenter.com/api/1.1/messagebase/common/{messagebaseId}' \
--header 'Authorization: Bearer JWT'