콘텐츠로 이동

알림톡 템플릿

1. GetATSTemplateMgtURL - 알림톡 템플릿 등록 팝업 URL

섹션 제목: “1. GetATSTemplateMgtURL - 알림톡 템플릿 등록 팝업 URL”

알림톡 템플릿 등록 팝업 URL 미리보기

알림톡 템플릿 등록 팝업 URL 미리보기

알림톡 템플릿을 등록하는 팝업 URL을 반환합니다.

  • 권장 사이즈 : width = 1,200px (최소 1,000px) / height = 800px
  • 반환되는 URL은 30초 동안만 사용이 가능합니다.
  • 반환되는 URL에서만 유효한 세션을 포함하고 있습니다.
function string getATSTemplateMgtURL(string corpnum, string userid) throws popbillexception
Parameters
순번 변수명 타입 길이 필수 설명
1corpnumstring10Y
팝빌회원 사업자번호 ('-' 제외)
2useridstring50N
팝빌회원 아이디

string - 요청에 대한 응답 URL

PopbillException
순번 변수명 타입 길이 설명
1codelong-
API 처리 실패에 대한 오류코드
음의 정수 8자리 숫자값 [참고] 오류코드
2messagestring-
API 처리 실패에 대한 오류메시지

2. GetATSTemplate - 알림톡 템플릿 정보 확인

섹션 제목: “2. GetATSTemplate - 알림톡 템플릿 정보 확인”

알림톡 템플릿 정보를 확인합니다.

function atstemplate getatstemplate (string corpnum, string templatecode, string userid) throws popbillexception
Parameters
순번 변수명 타입 길이 필수 설명
1corpnumstring10Y
팝빌회원 사업자번호 ('-' 제외)
2templatecodestring12Y
템플릿 코드
3useridstring50N
팝빌회원 아이디
ATSTemplate
순번 변수명 타입 길이 설명
1templateCodestring12
템플릿 코드
2templateNamestring20
템플릿 제목
3templatestring1,300
템플릿 내용
4plusFriendIDstring30
검색용 아이디
5adsstring80
광고 메시지
6appendixstring500
부가 메시지
7secureYNboolean-
보안템플릿 여부
  • true 보안템플릿
  • false 일반템플릿
8stateinteger1
템플릿 상태
  • 0 임시저장
  • 2 심사중
  • 3 승인
  • 4 반려
  • 5 정지
  • 7 휴면
  • 8 삭제
9stateDTstring14
템플릿 상태 일시
형식 : yyyyMMddHHmmss
10btns5
버튼 목록
KakaoButton[ ]
순번변수명타입길이설명
1nstring14
버튼명
2tstring2
버튼유형
  • WL 웹링크
  • AL 앱링크
  • DS 배송조회
  • MD 메시지전달
  • BK 봇키워드
  • AC 채널추가
3u1string1,000
버튼링크
{t} = "AL" 경우 iOS 앱링크 적용
{t} = "WL" 경우 Mobile 웹링크 적용
4u2string1,000
버튼링크
{t} = "AL" 경우 Android 앱링크 적용
{t} = "WL" 경우 PC 웹링크 적용
PopbillException
순번 변수명 타입 길이 설명
1codelong-
API 처리 실패에 대한 오류코드
음의 정수 8자리 숫자값 [참고] 오류코드
2messagestring-
API 처리 실패에 대한 오류메시지

3. ListATSTemplate - 알림톡 템플릿 목록 확인

섹션 제목: “3. ListATSTemplate - 알림톡 템플릿 목록 확인”

“승인” 상태의 알림톡 템플릿 목록을 확인합니다.

subroutine listatstemplate(string corpnum, ref atstemplate ref_list[]) throws popbillexception
Parameters
순번 변수명 타입 길이 필수 설명
1corpnumstring10Y
팝빌회원 사업자번호 ('-' 제외)
2ref_list-Y
서브루틴 반환 결과값
ref ATSTemplate[ ]
순번변수명타입길이필수설명
1templateCodestring12N
템플릿 코드
2templateNamestring20N
템플릿 제목
3templatestring1000N
템플릿 내용
4plusFriendIDstring30N
검색용 아이디
5adsstring80N
광고 메시지
6appendixstring500N
부가 메시지
7secureYNboolean-N
보안템플릿 여부
  • true 보안템플릿
  • false 일반템플릿
8stateinteger1N
템플릿 상태
  • 0 임시저장
  • 2 심사중
  • 3 승인
  • 4 반려
  • 5 정지
  • 7 휴면
  • 8 삭제
9stateDTstring14N
템플릿 상태 일시
형식 : yyyyMMddHHmmss
10btns-N
버튼 목록
최대 : 5개
KakaoButton[ ]
순번변수명타입길이필수설명
1nstring14N
버튼명
2tstring2N
버튼유형
  • WL 웹링크
  • AL 앱링크
  • MD 메시지전달
  • DS 배송조회
  • BK 봇키워드
  • AC 채널추가
3u1string1000N
버튼링크
{t} = "AL" 경우 iOS 앱링크 적용
{t} = "WL" 경우 Mobile 웹링크 적용
4u2string1000N
버튼링크
{t} = "AL" 경우 Android 앱링크 적용
{t} = "WL" 경우 PC 웹링크 적용
ATSTemplate
순번 변수명 타입 길이 설명
1templateCodestring12
템플릿 코드
2templateNamestring20
템플릿 제목
3templatestring1,300
템플릿 내용
4plusFriendIDstring30
검색용 아이디
5adsstring80
광고 메시지
6appendixstring500
부가 메시지
7secureYNboolean-
보안템플릿 여부
  • true 보안템플릿
  • false 일반템플릿
8stateinteger1
템플릿 상태
  • 0 임시저장
  • 2 심사중
  • 3 승인
  • 4 반려
  • 5 정지
  • 7 휴면
  • 8 삭제
9stateDTstring14
템플릿 상태 일시
형식 : yyyyMMddHHmmss
10btns5
버튼 목록
KakaoButton[ ]
순번변수명타입길이설명
1nstring14
버튼명
2tstring2
버튼유형
  • WL 웹링크
  • AL 앱링크
  • DS 배송조회
  • MD 메시지전달
  • BK 봇키워드
  • AC 채널추가
3u1string1,000
버튼링크
{t} = "AL" 경우 iOS 앱링크 적용
{t} = "WL" 경우 Mobile 웹링크 적용
4u2string1,000
버튼링크
{t} = "AL" 경우 Android 앱링크 적용
{t} = "WL" 경우 PC 웹링크 적용
PopbillException
순번 변수명 타입 길이 설명
1codelong-
API 처리 실패에 대한 오류코드
음의 정수 8자리 숫자값 [참고] 오류코드
2messagestring-
API 처리 실패에 대한 오류메시지