+++ .claude/etc1.png
| Binary file is not shown |
+++ .claude/etc2.png
| Binary file is not shown |
--- src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
+++ src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
... | ... | @@ -260,27 +260,20 @@ |
| 260 | 260 |
} |
| 261 | 261 |
model.addAttribute("loginVO", loginVO);
|
| 262 | 262 |
|
| 263 |
-// return "web/api/apiAtSpec"; |
|
| 264 | 263 |
return "web/api/apiAtSpec"; |
| 265 | 264 |
} |
| 266 |
- |
|
| 267 |
- /** |
|
| 268 |
- * @param model |
|
| 269 |
- * @return |
|
| 270 |
- * @throws Exception |
|
| 271 |
- */ |
|
| 272 |
- /* @RequestMapping(value="/web/api/apiAtSpec.do") |
|
| 273 |
- public String apiAtSpec(ModelMap model) |
|
| 274 |
- throws Exception {
|
|
| 275 |
- LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
|
| 276 |
- |
|
| 277 |
- if(loginVO == null) {
|
|
| 278 |
- return "redirect:/web/user/login/login.do"; |
|
| 279 |
- } |
|
| 280 |
- model.addAttribute("loginVO", loginVO);
|
|
| 281 |
- |
|
| 282 |
- return "web/api/at/apiSpec"; |
|
| 283 |
- }*/ |
|
| 265 |
+ @RequestMapping(value="/web/api/apiFtSpec.do") |
|
| 266 |
+ public String apiFtSpec(ModelMap model) |
|
| 267 |
+ throws Exception {
|
|
| 268 |
+ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
|
| 269 |
+ |
|
| 270 |
+ if(loginVO == null) {
|
|
| 271 |
+ return "redirect:/web/user/login/login.do"; |
|
| 272 |
+ } |
|
| 273 |
+ model.addAttribute("loginVO", loginVO);
|
|
| 274 |
+ |
|
| 275 |
+ return "web/api/apiFtSpec"; |
|
| 276 |
+ } |
|
| 284 | 277 |
|
| 285 | 278 |
/** |
| 286 | 279 |
* @param model |
--- src/main/webapp/WEB-INF/jsp/web/api/apiAtSpec.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiAtSpec.jsp
... | ... | @@ -112,67 +112,53 @@ |
| 112 | 112 |
<!-- tab button --> |
| 113 | 113 |
<ul class="list_tab"> |
| 114 | 114 |
|
| 115 |
- <li class="tab active"><button type="button" onclick="TabType1(this,'6');">채널 ID 조회</button></li> |
|
| 116 |
- <li class="tab"><button type="button" onclick="TabType1(this,'7');">템플릿 ID 조회</button></li> |
|
| 117 |
- <li class="tab"><button type="button" onclick="TabType1(this,'8');">템플릿상세조회</button></li> |
|
| 118 |
- <li class="tab"><button type="button" onclick="TabType1(this,'9');">알림톡 보내기</button></li> |
|
| 119 |
- <li class="tab"><button type="button" onclick="TabType1(this,'11');">전송내역조회</button></li> |
|
| 120 |
- <li class="tab"><button type="button" onclick="TabType1(this,'12');">전송내역조회(상세)</button></li> |
|
| 121 |
- <li class="tab"><button type="button" onclick="TabType1(this,'13');">발송가능건수</button></li> |
|
| 115 |
+ <li class="tab active"><button type="button" onclick="TabType1(this,'1');">채널 ID 조회</button></li> |
|
| 116 |
+ <li class="tab"><button type="button" onclick="TabType1(this,'2');">템플릿 ID 조회</button></li> |
|
| 117 |
+ <li class="tab"><button type="button" onclick="TabType1(this,'3');">템플릿상세조회</button></li> |
|
| 118 |
+ <li class="tab"><button type="button" onclick="TabType1(this,'4');">알림톡 보내기</button></li> |
|
| 119 |
+ <li class="tab"><button type="button" onclick="TabType1(this,'5');">전송내역조회</button></li> |
|
| 120 |
+ <li class="tab"><button type="button" onclick="TabType1(this,'6');">전송내역조회(상세)</button></li> |
|
| 121 |
+ <li class="tab"><button type="button" onclick="TabType1(this,'7');">발송가능건수</button></li> |
|
| 122 | 122 |
|
| 123 | 123 |
</ul><!--// tab button --> |
| 124 | 124 |
</div> |
| 125 | 125 |
|
| 126 | 126 |
<!-- 채널 ID 조회 --> |
| 127 |
- <div class="fee_cont current" id="tab1_6"> |
|
| 127 |
+ <div class="fee_cont current" id="tab1_1"> |
|
| 128 | 128 |
<c:import url="./at/apiSpec_tab1.jsp" /> |
| 129 | 129 |
</div> |
| 130 | 130 |
|
| 131 | 131 |
<!-- 템플릿 ID 조회 --> |
| 132 |
- <div class="fee_cont" id="tab1_7"> |
|
| 132 |
+ <div class="fee_cont" id="tab1_2"> |
|
| 133 | 133 |
<c:import url="./at/apiSpec_tab2.jsp" /> |
| 134 | 134 |
</div> |
| 135 | 135 |
|
| 136 | 136 |
<!-- 템플릿상세조회 --> |
| 137 |
- <div class="fee_cont" id="tab1_8"> |
|
| 137 |
+ <div class="fee_cont" id="tab1_3"> |
|
| 138 | 138 |
<c:import url="./at/apiSpec_tab3.jsp" /> |
| 139 | 139 |
</div> |
| 140 | 140 |
|
| 141 | 141 |
<!-- 알림톡 보내기 --> |
| 142 |
- <div class="fee_cont" id="tab1_9"> |
|
| 142 |
+ <div class="fee_cont" id="tab1_4"> |
|
| 143 | 143 |
<c:import url="./at/apiSpec_tab4.jsp" /> |
| 144 | 144 |
</div> |
| 145 | 145 |
|
| 146 | 146 |
<!-- 전송내역조회 --> |
| 147 |
- <div class="fee_cont" id="tab1_11"> |
|
| 147 |
+ <div class="fee_cont" id="tab1_5"> |
|
| 148 | 148 |
<c:import url="./at/apiSpec_tab6.jsp" /> |
| 149 | 149 |
</div> |
| 150 | 150 |
|
| 151 | 151 |
<!-- 전송내역조회(상세) --> |
| 152 |
- <div class="fee_cont" id="tab1_12"> |
|
| 152 |
+ <div class="fee_cont" id="tab1_6"> |
|
| 153 | 153 |
<c:import url="./at/apiSpec_tab7.jsp" /> |
| 154 | 154 |
</div> |
| 155 | 155 |
|
| 156 | 156 |
<!-- 발송가능건수 --> |
| 157 |
- <div class="fee_cont" id="tab1_13"> |
|
| 157 |
+ <div class="fee_cont" id="tab1_7"> |
|
| 158 | 158 |
<c:import url="./at/apiSpec_tab8.jsp" /> |
| 159 | 159 |
</div> |
| 160 | 160 |
</div> |
| 161 | 161 |
<!-- //REST API 개발 가이드 > 알림톡 --> |
| 162 |
- |
|
| 163 |
- <!-- REST API 개발 가이드 > 친구톡 --> |
|
| 164 |
- <!-- <div class="api_guide kakao" id="tab5_3"> |
|
| 165 |
- <div class="list_tab_wrap2 type3"> |
|
| 166 |
- <ul class="list_tab"> |
|
| 167 |
- <li class="tab active"><button type="button" onclick="TabType2(this,'6');">채널 ID 조회</button></li> |
|
| 168 |
- <li class="tab"><button type="button" onclick="TabType2(this,'7');">친구톡 보내기</button></li> |
|
| 169 |
- <li class="tab"><button type="button" onclick="TabType2(this,'8');">전송내역조회</button></li> |
|
| 170 |
- <li class="tab"><button type="button" onclick="TabType2(this,'9');">전송내역조회(상세)</button></li> |
|
| 171 |
- <li class="tab"><button type="button" onclick="TabType2(this,'10');">발송가능건수</button></li> |
|
| 172 |
- </ul> |
|
| 173 |
- </div> |
|
| 174 |
- </div> --> |
|
| 175 |
- <!-- //REST API 개발 가이드 > 친구톡 --> |
|
| 176 | 162 |
</div> |
| 177 | 163 |
</div><!--// send top --> |
| 178 | 164 |
</div> |
+++ src/main/webapp/WEB-INF/jsp/web/api/apiFtSpec.jsp
... | ... | @@ -0,0 +1,111 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 3 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 5 | + | |
| 6 | +<head> | |
| 7 | +</head> | |
| 8 | +<script language=javascript> | |
| 9 | +$(document).ready(function(){ | |
| 10 | + | |
| 11 | + // 현재 url 추출 | |
| 12 | +/* var url = window.location.pathname; | |
| 13 | + // 현재 url에서 uri만 추출 | |
| 14 | + var lastPart = url.split('/').pop(); | |
| 15 | + | |
| 16 | + | |
| 17 | + $('.tabType4 .tab').each(function(index) { | |
| 18 | + var $btn = $(this).children("button"); | |
| 19 | + var id = $btn.attr("id"); | |
| 20 | + | |
| 21 | + // 개발가이드 그룹 | |
| 22 | + if (id === 'apiSpec' && /api.*Spec\.do$/.test(lastPart)) { | |
| 23 | + $(this).addClass('active'); | |
| 24 | + } | |
| 25 | + // 나머지 기본 처리 | |
| 26 | + else if (lastPart.indexOf(id) > -1) { | |
| 27 | + $(this).addClass('active'); | |
| 28 | + } | |
| 29 | + }); */ | |
| 30 | + | |
| 31 | + | |
| 32 | +}); | |
| 33 | + | |
| 34 | + hljs.highlightAll(); | |
| 35 | +</script> | |
| 36 | +<style> | |
| 37 | + | |
| 38 | + .padding_add > p | |
| 39 | + { | |
| 40 | + padding-left: 30px; | |
| 41 | + padding-bottom: 8px; | |
| 42 | + } | |
| 43 | + | |
| 44 | + .padding_add > div > p | |
| 45 | + { | |
| 46 | + padding-left: 60px; | |
| 47 | + padding-bottom: 8px; | |
| 48 | + } | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | +</style> | |
| 53 | + | |
| 54 | +<!-- content 영역 --> | |
| 55 | +<div class="inner"> | |
| 56 | + <!-- send top --> | |
| 57 | + <div class="send_top"> | |
| 58 | + | |
| 59 | + <c:import url="./top_tepMenu.jsp" /><!--// tab button --> | |
| 60 | + | |
| 61 | + <!-- tab button --> | |
| 62 | + <div class="api_guide_cont current"> | |
| 63 | + <div class="heading"> | |
| 64 | + <h2>REST API 개발 가이드</h2> | |
| 65 | + </div> | |
| 66 | + <!--// sub tab button --> | |
| 67 | + <c:import url="./top_subTepMenu.jsp" /> | |
| 68 | + <!-- REST API 개발 가이드 > 알림톡 --> | |
| 69 | + <div class="api_guide current" id="tab5_1"> | |
| 70 | + <div class="list_tab_wrap2 type3"> | |
| 71 | + <!-- tab button --> | |
| 72 | + <ul class="list_tab"> | |
| 73 | + | |
| 74 | + <li class="tab active"><button type="button" onclick="TabType1(this,'1');">채널 ID 조회</button></li> | |
| 75 | + <li class="tab"><button type="button" onclick="TabType1(this,'2');">친구톡 보내기</button></li> | |
| 76 | + <li class="tab"><button type="button" onclick="TabType1(this,'3');">전송내역조회</button></li> | |
| 77 | + <li class="tab"><button type="button" onclick="TabType1(this,'4');">전송내역조회(상세)</button></li> | |
| 78 | + <li class="tab"><button type="button" onclick="TabType1(this,'5');">발송가능건수</button></li> | |
| 79 | + | |
| 80 | + </ul><!--// tab button --> | |
| 81 | + </div> | |
| 82 | + | |
| 83 | + <!-- 채널 ID 조회 --> | |
| 84 | + <div class="fee_cont current" id="tab1_1"> | |
| 85 | + <c:import url="./ft/apiSpec_tab1.jsp" /> | |
| 86 | + </div> | |
| 87 | + | |
| 88 | + <!-- 알림톡 보내기 --> | |
| 89 | + <div class="fee_cont" id="tab1_2"> | |
| 90 | + <c:import url="./ft/apiSpec_tab2.jsp" /> | |
| 91 | + </div> | |
| 92 | + | |
| 93 | + <!-- 전송내역조회 --> | |
| 94 | + <div class="fee_cont" id="tab1_3"> | |
| 95 | + <c:import url="./ft/apiSpec_tab3.jsp" /> | |
| 96 | + </div> | |
| 97 | + | |
| 98 | + <!-- 전송내역조회(상세) --> | |
| 99 | + <div class="fee_cont" id="tab1_4"> | |
| 100 | + <c:import url="./ft/apiSpec_tab4.jsp" /> | |
| 101 | + </div> | |
| 102 | + | |
| 103 | + <!-- 발송가능건수 --> | |
| 104 | + <div class="fee_cont" id="tab1_5"> | |
| 105 | + <c:import url="./ft/apiSpec_tab5.jsp" /> | |
| 106 | + </div> | |
| 107 | + </div> | |
| 108 | + <!-- //REST API 개발 가이드 > 알림톡 --> | |
| 109 | + </div> | |
| 110 | + </div><!--// send top --> | |
| 111 | +</div> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec.jsp
... | ... | @@ -91,77 +91,6 @@ |
| 91 | 91 |
<!-- //REST API 개발 가이드 > 문자 --> |
| 92 | 92 |
|
| 93 | 93 |
<!-- REST API 개발 가이드 > 알림톡 --> |
| 94 |
- <div class="api_guide" id="tab5_2"> |
|
| 95 |
- <div class="list_tab_wrap2 type3"> |
|
| 96 |
- <!-- tab button --> |
|
| 97 |
- <ul class="list_tab"> |
|
| 98 |
- |
|
| 99 |
- <li class="tab active"><button type="button" onclick="TabType2(this,'6');">채널 ID 조회</button></li> |
|
| 100 |
- <li class="tab"><button type="button" onclick="TabType2(this,'7');">템플릿 ID 조회</button></li> |
|
| 101 |
- <li class="tab"><button type="button" onclick="TabType2(this,'8');">템플릿상세조회</button></li> |
|
| 102 |
- <li class="tab"><button type="button" onclick="TabType2(this,'9');">알림톡 보내기</button></li> |
|
| 103 |
- <!-- <li class="tab"><button type="button" onclick="TabType2(this,'10');">대량보내기</button></li> --> |
|
| 104 |
- <li class="tab"><button type="button" onclick="TabType2(this,'11');">전송내역조회</button></li> |
|
| 105 |
- <li class="tab"><button type="button" onclick="TabType2(this,'12');">전송내역조회(상세)</button></li> |
|
| 106 |
- <li class="tab"><button type="button" onclick="TabType2(this,'13');">발송가능건수</button></li> |
|
| 107 |
- |
|
| 108 |
- </ul><!--// tab button --> |
|
| 109 |
- </div> |
|
| 110 |
- |
|
| 111 |
- <!-- 채널 ID 조회 --> |
|
| 112 |
- <div class="api_guide_con" id="tab2_6"> |
|
| 113 |
- <c:import url="./at/apiSpec_tab1.jsp" /> |
|
| 114 |
- </div> |
|
| 115 |
- |
|
| 116 |
- <!-- 템플릿 ID 조회 --> |
|
| 117 |
- <div class="api_guide_con" id="tab2_7"> |
|
| 118 |
- <c:import url="./at/apiSpec_tab2.jsp" /> |
|
| 119 |
- </div> |
|
| 120 |
- |
|
| 121 |
- <!-- 템플릿상세조회 --> |
|
| 122 |
- <div class="api_guide_con" id="tab2_8"> |
|
| 123 |
- <c:import url="./at/apiSpec_tab3.jsp" /> |
|
| 124 |
- </div> |
|
| 125 |
- |
|
| 126 |
- <!-- 단건보내기 --> |
|
| 127 |
- <div class="api_guide_con" id="tab2_9"> |
|
| 128 |
- <c:import url="./at/apiSpec_tab4.jsp" /> |
|
| 129 |
- </div> |
|
| 130 |
- |
|
| 131 |
- <!-- 대량보내기 --> |
|
| 132 |
- <div class="api_guide_con" id="tab2_10"> |
|
| 133 |
- <c:import url="./at/apiSpec_tab5.jsp" /> |
|
| 134 |
- </div> |
|
| 135 |
- |
|
| 136 |
- <!-- 전송내역조회 --> |
|
| 137 |
- <div class="api_guide_con" id="tab2_11"> |
|
| 138 |
- <c:import url="./at/apiSpec_tab6.jsp" /> |
|
| 139 |
- </div> |
|
| 140 |
- |
|
| 141 |
- <!-- 전송내역조회(상세) --> |
|
| 142 |
- <div class="api_guide_con" id="tab2_12"> |
|
| 143 |
- <c:import url="./at/apiSpec_tab7.jsp" /> |
|
| 144 |
- </div> |
|
| 145 |
- |
|
| 146 |
- <!-- 발송가능건수 --> |
|
| 147 |
- <div class="api_guide_con" id="tab2_13"> |
|
| 148 |
- <c:import url="./at/apiSpec_tab8.jsp" /> |
|
| 149 |
- </div> |
|
| 150 |
- </div> |
|
| 151 |
- <!-- //REST API 개발 가이드 > 알림톡 --> |
|
| 152 |
- |
|
| 153 |
- <!-- REST API 개발 가이드 > 친구톡 --> |
|
| 154 |
- <div class="api_guide kakao" id="tab5_3"> |
|
| 155 |
- <div class="list_tab_wrap2 type3"> |
|
| 156 |
- <ul class="list_tab"> |
|
| 157 |
- <li class="tab active"><button type="button" onclick="TabType2(this,'6');">채널 ID 조회</button></li> |
|
| 158 |
- <li class="tab"><button type="button" onclick="TabType2(this,'7');">친구톡 보내기</button></li> |
|
| 159 |
- <li class="tab"><button type="button" onclick="TabType2(this,'8');">전송내역조회</button></li> |
|
| 160 |
- <li class="tab"><button type="button" onclick="TabType2(this,'9');">전송내역조회(상세)</button></li> |
|
| 161 |
- <li class="tab"><button type="button" onclick="TabType2(this,'10');">발송가능건수</button></li> |
|
| 162 |
- </ul> |
|
| 163 |
- </div> |
|
| 164 |
- </div> |
|
| 165 | 94 |
<!-- //REST API 개발 가이드 > 친구톡 --> |
| 166 | 95 |
</div> |
| 167 | 96 |
</div><!--// send top --> |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab1.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab1.jsp
... | ... | @@ -94,9 +94,9 @@ |
| 94 | 94 |
<code class="language-json"> |
| 95 | 95 |
{
|
| 96 | 96 |
|
| 97 |
- "mberId": "문자온", |
|
| 97 |
+ "mberId": "홍길동", |
|
| 98 | 98 |
|
| 99 |
- "accessKey": "XXXXXXXXXXXXXXXXXXXXbaa01d8d91", |
|
| 99 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 100 | 100 |
|
| 101 | 101 |
"test_yn": "" |
| 102 | 102 |
} |
... | ... | @@ -225,9 +225,9 @@ |
| 225 | 225 |
<pre><code class="language-json"> |
| 226 | 226 |
{
|
| 227 | 227 |
|
| 228 |
- "resultCode": "4010", |
|
| 228 |
+ "resultCode": "2099", |
|
| 229 | 229 |
|
| 230 |
- "data": "인증 정보가 올바르지 않습니다.(mberId/accessKey)" |
|
| 230 |
+ "data": "기타 시스템 오류" |
|
| 231 | 231 |
|
| 232 | 232 |
} |
| 233 | 233 |
</code></pre> |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab2.jsp
... | ... | @@ -3,10 +3,9 @@ |
| 3 | 3 |
|
| 4 | 4 |
|
| 5 | 5 |
<ul class="info"> |
| 6 |
- <li>- API를 통해서 템플릿 목록을 조회할 수 111있습니다.</li> |
|
| 7 |
- <li>- API를 통해서 템플릿 목록을 조회할 수 111있습니다.</li> |
|
| 8 |
- <li>- API를 통해서 템플릿 목록을 조회할 수 111있습니다.</li> |
|
| 9 |
- <li>- API를 통해서 템플릿 목록을 조회할 수 111있습니다.</li> |
|
| 6 |
+ <li>- 등록된 알림톡 템플릿 목록을 조회할 수 있습니다.</li> |
|
| 7 |
+ <li>- SenderKey별로 승인된 템플릿만 조회됩니다.</li> |
|
| 8 |
+ <li>- 템플릿 상태(등록완료, 승인대기 등)를 확인할 수 있습니다.</li> |
|
| 10 | 9 |
</ul> |
| 11 | 10 |
<div class="re_cont"> |
| 12 | 11 |
<!-- Request --> |
... | ... | @@ -101,11 +100,11 @@ |
| 101 | 100 |
<code class="language-json"> |
| 102 | 101 |
{
|
| 103 | 102 |
|
| 104 |
- "mberId": "dudgusw", |
|
| 103 |
+ "mberId": "홍길동", |
|
| 105 | 104 |
|
| 106 |
- "accessKey": "3429312e6a2c732188d4cc7d15d8a1baa01d8d91", |
|
| 105 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 107 | 106 |
|
| 108 |
- "senderKey": "669143473b1af459628b8bdf2f48da090c8895de", |
|
| 107 |
+ "senderKey": "XXXXXXXXXXXXXX669143473b1af", |
|
| 109 | 108 |
|
| 110 | 109 |
"test_yn": "" |
| 111 | 110 |
} |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab3.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab3.jsp
... | ... | @@ -1,331 +1,687 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
- |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 문자온 사이트 및 API를 통해 전송된 문자 발송내역을 조회할 수 있습니다.</li> |
|
| 5 |
- <li>- 문자 발송내역은 날짜별로 조회되며, 최근 3개월까지만 조회 가능합니다.</li> |
|
| 6 |
- <li>- 발신번호별 문자 발송내역 조회 기능은 제공되지 않습니다.</li> |
|
| 7 |
- </ul> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 8 | 3 |
|
| 9 |
- <div class="re_cont"> |
|
| 10 |
- <!--Request--> |
|
| 11 |
- <div class="req_title">Request</div> |
|
| 12 |
- <div class="box"> |
|
| 13 |
- <div class="text"> |
|
| 14 |
- <h4>Request</h4> |
|
| 15 |
- <table> |
|
| 16 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 17 |
- <colgroup> |
|
| 18 |
- <col style="width:20%;"> |
|
| 19 |
- <col style="width:80%;"> |
|
| 20 |
- </colgroup> |
|
| 21 |
- <tr> |
|
| 22 |
- <th>Http Method</th> |
|
| 23 |
- <td>POST</td> |
|
| 24 |
- </tr> |
|
| 25 |
- <tr> |
|
| 26 |
- <th>프로토콜</th> |
|
| 27 |
- <td>HTTP/1.1</td> |
|
| 28 |
- </tr> |
|
| 29 |
- <tr> |
|
| 30 |
- <th>HOST</th> |
|
| 31 |
- <td>api.munjaon.co.kr</td> |
|
| 32 |
- </tr> |
|
| 33 |
- <tr> |
|
| 34 |
- <th>Service Port</th> |
|
| 35 |
- <td>443</td> |
|
| 36 |
- </tr> |
|
| 37 |
- </table> |
|
| 38 |
- </div> |
|
| 39 |
- </div> |
|
| 40 |
- <div class="type_table"> |
|
| 41 |
- <table> |
|
| 42 |
- <caption>전송결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 43 |
- <colgroup> |
|
| 44 |
- <col style="width:20%;"> |
|
| 45 |
- <col style="width:45%;"> |
|
| 46 |
- <col style="width:25%"> |
|
| 47 |
- <col style="width:10%"> |
|
| 48 |
- </colgroup> |
|
| 49 |
- <thead> |
|
| 50 |
- <tr> |
|
| 51 |
- <th>키</th> |
|
| 52 |
- <th>설명</th> |
|
| 53 |
- <th>타입</th> |
|
| 54 |
- <th>필수</th> |
|
| 55 |
- </tr> |
|
| 56 |
- </thead> |
|
| 57 |
- <tbody> |
|
| 58 |
- <tr> |
|
| 59 |
- <td><span class="font_b">mberId</span></td> |
|
| 60 |
- <td>사용자 ID</td> |
|
| 61 |
- <td>String</td> |
|
| 62 |
- <td><span class="select_o">O</span></td> |
|
| 63 |
- </tr> |
|
| 64 |
- <tr> |
|
| 65 |
- <td><span class="font_b">accessKey</span></td> |
|
| 66 |
- <td>인증용 API Key</td> |
|
| 67 |
- <td>String</td> |
|
| 68 |
- <td><span class="select_o">O</span></td> |
|
| 69 |
- </tr> |
|
| 70 |
- <tr> |
|
| 71 |
- <td><span class="font_b">senderKey</span></td> |
|
| 72 |
- <td>발신 프로필 Key</td> |
|
| 73 |
- <td>String</td> |
|
| 74 |
- <td><span class="select_o">O</span></td> |
|
| 75 |
- </tr> |
|
| 76 |
- <tr> |
|
| 77 |
- <td><span class="font_b">templateCode</span></td> |
|
| 78 |
- <td>템플릿 코드</td> |
|
| 79 |
- <td>String</td> |
|
| 80 |
- <td><span class="select_o">O</span></td> |
|
| 81 |
- </tr> |
|
| 82 |
- </tbody> |
|
| 83 |
- </table> |
|
| 84 |
- <div class="table_info"> |
|
| 85 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 86 |
- </div> |
|
| 87 |
- </div> |
|
| 88 |
- <div class="box"> |
|
| 89 |
- <div class="title">[Example]</div> |
|
| 90 |
- <div class="code_view"> |
|
| 91 |
- <p>{</p> |
|
| 92 |
- <div class="indent"> |
|
| 93 |
- <p><span>"mberId"</span>:"홍길동"</p> |
|
| 94 |
- <p>,<span>"accessKey"</span>:"414050694b953XXXXXXXXXXXXXX"</p> |
|
| 95 |
- <p>,<span>"senderKey"</span>:"669143473b1af459628b8bdXXXXXXXXXXXXXX"</p> |
|
| 96 |
- <p>,<span>"templateCode"</span>:"bizp_202503141052XXXXXXXXXXXXXX"</p> |
|
| 97 |
- </div> |
|
| 98 |
- <p class="l_code">}</p> |
|
| 99 |
- </div> |
|
| 100 |
- </div> |
|
| 101 |
- <!--// Request--> |
|
| 102 |
- <!-- Response--> |
|
| 103 |
- <div class="res_title">Response</div> |
|
| 104 |
- <div class="type_table"> |
|
| 105 |
- <table> |
|
| 106 |
- <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 107 |
- <colgroup> |
|
| 108 |
- <col style="width:20%;"> |
|
| 109 |
- <col style="width:60%;"> |
|
| 110 |
- <col style="width:20%;"> |
|
| 111 |
- </colgroup> |
|
| 112 |
- <thead> |
|
| 113 |
- <tr> |
|
| 114 |
- <th>키</th> |
|
| 115 |
- <th>설명</th> |
|
| 116 |
- <th>타입</th> |
|
| 117 |
- </tr> |
|
| 118 |
- </thead> |
|
| 119 |
- <tbody> |
|
| 120 |
- <tr> |
|
| 121 |
- <td><span class="font_b">resultCode</span></td> |
|
| 122 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 123 |
- <td>String</td> |
|
| 124 |
- </tr> |
|
| 125 |
- <tr> |
|
| 126 |
- <td><span class="font_b">data</span></td> |
|
| 127 |
- <td>템플릿 정보 리스트</td> |
|
| 128 |
- <td>Array</td> |
|
| 129 |
- </tr> |
|
| 130 |
- <tr><td><span class="font_b">[data].templateCode</span></td><td>템플릿 코드</td><td>String</td></tr> |
|
| 131 |
- <tr><td><span class="font_b">[data].templateName</span></td><td>템플릿 이름</td><td>String</td></tr> |
|
| 132 |
- <tr><td><span class="font_b">[data].templateMessageType</span></td><td>템플릿 메시지 유형 (BA:기본형(default), EX:부가정보형, AD:광고추가형, MI:복합형)</td><td>String</td></tr> |
|
| 133 |
- <tr><td><span class="font_b">[data].templateEmphasizeType</span></td><td>템플릿 강조 유형 (NONE: 선택안함, TEXT: 강조표기형, IMAGE: 이미지형, ITEM_LIST: 아이템리스트형)</td><td>String</td></tr> |
|
| 134 |
- <tr><td><span class="font_b">[data].templateContent</span></td><td>템플릿 내용</td><td>String</td></tr> |
|
| 135 |
- <tr><td><span class="font_b">[data].templateExtra</span></td><td>부가정보</td><td>String</td></tr> |
|
| 136 |
- <tr><td><span class="font_b">[data].templateAd</span></td><td>광고성 메시지</td><td>String</td></tr> |
|
| 137 |
- <tr><td><span class="font_b">[data].templateImageName</span></td><td>템플릿 이미지 파일명</td><td>String</td></tr> |
|
| 138 |
- <tr><td><span class="font_b">[data].templateImageUrl</span></td><td>템플릿 이미지 링크</td><td>String</td></tr> |
|
| 139 |
- <tr><td><span class="font_b">[data].templateTitle</span></td><td>템플릿 내용 중 강조 표기할 핵심 정보</td><td>String</td></tr> |
|
| 140 |
- <tr><td><span class="font_b">[data].templateSubtitle</span></td><td>강조 표기 보조 문구</td><td>String</td></tr> |
|
| 141 |
- <tr><td><span class="font_b">[data].templateHeader</span></td><td>헤더</td><td>String</td></tr> |
|
| 142 |
- |
|
| 143 |
- <tr><td><span class="font_b">[data].categoryCode</span></td><td>템플릿 카테고리 코드</td><td>String</td></tr> |
|
| 144 |
- <tr><td><span class="font_b">[data].securityFlag</span></td><td>보안 템플릿 여부 (true:설정)</td><td>Boolean</td></tr> |
|
| 145 |
- <tr><td><span class="font_b">[data].inspectionStatus</span></td><td>검수 상태 (REG: 등록, REQ: 검수요청, REJ: 반려, APR: 승인)</td><td>String</td></tr> |
|
| 146 |
- <tr><td><span class="font_b">[data].createdAt</span></td><td>생성일</td><td>String</td></tr> |
|
| 147 |
- <tr><td><span class="font_b">[data].modifiedAt</span></td><td>수정일</td><td>String</td></tr> |
|
| 148 |
- <tr><td><span class="font_b">[data].status</span></td><td>템플릿 상태(D:중지, A:정상, R:대기(발송전))</td><td>String</td></tr> |
|
| 149 |
- <tr><td><span class="font_b">[data].block</span></td><td>템플릿 차단 여부 (true:차단, false: 해제)</td><td>Boolean</td></tr> |
|
| 150 |
- <tr><td><span class="font_b">[data].dormant</span></td><td>템플릿 휴면 여부 (true:휴면, false: 해제)</td><td>Boolean</td></tr> |
|
| 151 |
- |
|
| 152 |
- <tr><td><span class="font_b">[data].templateItemHighlight</span></td><td>아이템 하이라이트</td><td>Object</td></tr> |
|
| 153 |
- <tr><td><span class="font_b">[data].templateItemHighlight.title</span></td><td>타이틀</td><td>String</td></tr> |
|
| 154 |
- <tr><td><span class="font_b">[data].templateItemHighlight.description</span></td><td>상세 설명</td><td>String</td></tr> |
|
| 155 |
- <tr><td><span class="font_b">[data].templateItemHighlight.imageUrl</span></td><td>썸네일 이미지 주소</td><td>String</td></tr> |
|
| 156 |
- |
|
| 157 |
- <tr><td><span class="font_b">[data].templateItem</span></td><td>아이템 정보</td><td>Object</td></tr> |
|
| 158 |
- <tr><td><span class="font_b">[data].templateItem.list[]</span></td><td>아이템 리스트</td><td>Array</td></tr> |
|
| 159 |
- <tr><td><span class="font_b">[data].templateItem.list[].title</span></td><td>타이틀</td><td>String</td></tr> |
|
| 160 |
- <tr><td><span class="font_b">[data].templateItem.list[].description</span></td><td>디스크립션</td><td>String</td></tr> |
|
| 161 |
- |
|
| 162 |
- <tr><td><span class="font_b">[data].templateItem.summary</span></td><td>아이템 요약 정보</td><td>Object</td></tr> |
|
| 163 |
- <tr><td><span class="font_b">[data].templateItem.summary.title</span></td><td>타이틀</td><td>String</td></tr> |
|
| 164 |
- <tr><td><span class="font_b">[data].templateItem.summary.description</span></td><td>디스크립션</td><td>String</td></tr> |
|
| 165 |
- |
|
| 166 |
- <!-- buttons --> |
|
| 167 |
- <tr><td><span class="font_b">[data].buttons[]</span></td><td>버튼 정보</td><td>Array</td></tr> |
|
| 168 |
- <tr><td><span class="font_b">[data].buttons[].name</span></td><td>버튼명</td><td>String</td></tr> |
|
| 169 |
- <tr><td><span class="font_b">[data].buttons[].linkType</span></td><td>버튼 링크타입 (DS:배송조회, WL:웹링크, AL:앱링크, BK:봇키워드, MD: 메시지전달, AC: 채널추가, BC: 상담톡전환, BT: 봇전환, P1: 이미지 보안전송 플러그인, P2: 개인정보이용 플러그인, P3: 원클릭 결제 플러그인)</td><td>String</td></tr> |
|
| 170 |
- <tr><td><span class="font_b">[data].buttons[].linkAnd</span></td><td>Android 앱 링크 주소</td><td>String</td></tr> |
|
| 171 |
- <tr><td><span class="font_b">[data].buttons[].linkIos</span></td><td>IOS 앱 링크 주소</td><td>String</td></tr> |
|
| 172 |
- <tr><td><span class="font_b">[data].buttons[].linkMo</span></td><td>모바일 웹 링크 주소</td><td>String</td></tr> |
|
| 173 |
- <tr><td><span class="font_b">[data].buttons[].linkPc</span></td><td>PC 웹 링크 주소</td><td>String</td></tr> |
|
| 174 |
- <tr><td><span class="font_b">[data].buttons[].pluginId</span></td><td>플러그인 ID</td><td>String</td></tr> |
|
| 175 |
- |
|
| 176 |
- <!-- quickReplies --> |
|
| 177 |
- <tr><td><span class="font_b">[data].quickReplies[]</span></td><td>바로연결 정보</td><td>Array</td></tr> |
|
| 178 |
- <tr><td><span class="font_b">[data].quickReplies[].name</span></td><td>바로연결명</td><td>String</td></tr> |
|
| 179 |
- <tr><td><span class="font_b">[data].quickReplies[].linkType</span></td><td>바로연결 링크타입 (WL:웹링크, AL:앱링크, BK:봇키워드, MD: 메시지전달, BC: 상담톡전환, BT: 봇전환)</td><td>String</td></tr> |
|
| 180 |
- <tr><td><span class="font_b">[data].quickReplies[].linkAnd</span></td><td>Android 앱 링크 주소</td><td>String</td></tr> |
|
| 181 |
- <tr><td><span class="font_b">[data].quickReplies[].linkIos</span></td><td>IOS 앱 링크 주소</td><td>String</td></tr> |
|
| 182 |
- <tr><td><span class="font_b">[data].quickReplies[].linkMo</span></td><td>모바일 웹 링크 주소</td><td>String</td></tr> |
|
| 183 |
- <tr><td><span class="font_b">[data].quickReplies[].linkPc</span></td><td>PC 웹 링크 주소</td><td>String</td></tr> |
|
| 184 |
- |
|
| 185 |
- <!-- comments --> |
|
| 186 |
- <tr><td><span class="font_b">[data].comments[]</span></td><td>댓글 목록</td><td>Array</td></tr> |
|
| 187 |
- <tr><td><span class="font_b">[data].comments[].content</span></td><td>댓글 본문</td><td>String</td></tr> |
|
| 188 |
- <tr><td><span class="font_b">[data].comments[].createdAt</span></td><td>댓글 생성일</td><td>String</td></tr> |
|
| 189 |
- <tr><td><span class="font_b">[data].comments[].status</span></td><td>댓글 상태 (REQ:등록, INQ:문의, APR:승인, REJ:반려, REP:답변)</td><td>String</td></tr> |
|
| 190 |
- <tr><td><span class="font_b">[data].comments[].userName</span></td><td>댓글 작성자</td><td>String</td></tr> |
|
| 191 |
- <tr><td><span class="font_b">[data].comments[].attachment</span></td><td>첨부파일</td><td>Array</td></tr> |
|
| 192 |
- |
|
| 193 |
- <!-- attachment 내부 --> |
|
| 194 |
- <tr><td><span class="font_b">[data].comments[].attachment[]</span></td><td>첨부파일</td><td>Array</td></tr> |
|
| 195 |
- <tr><td><span class="font_b">[data].comments[].attachment[].originalFileName</span></td><td>업로드한 파일 이름</td><td>String</td></tr> |
|
| 196 |
- <tr><td><span class="font_b">[data].comments[].attachment[].filePath</span></td><td>파일 다운로드 경로</td><td>String</td></tr> |
|
| 197 |
- |
|
| 4 |
+<ul class="info"> |
|
| 5 |
+ <li>- 문자온 사이트 및 API를 통해 전송된 문자 발송내역을 조회할 수 있습니다.</li> |
|
| 6 |
+ <li>- 문자 발송내역은 날짜별로 조회되며, 최근 3개월까지만 조회 가능합니다.</li> |
|
| 7 |
+ <li>- 발신번호별 문자 발송내역 조회 기능은 제공되지 않습니다.</li> |
|
| 8 |
+</ul> |
|
| 198 | 9 |
|
| 199 |
- </tbody> |
|
| 200 |
- </table> |
|
| 201 |
- <div class="table_info"> |
|
| 202 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 203 |
- </div> |
|
| 204 |
- </div> |
|
| 205 |
- <div class="box"> |
|
| 206 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 207 |
- <div class="code_view"> |
|
| 208 |
- <p>{</p> |
|
| 209 |
- <div class="indent"> |
|
| 210 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 211 |
- <p>,<span>"data"</span>:[</p> |
|
| 212 |
- <p>{</p> |
|
| 213 |
- <div class="indent_t1"> |
|
| 214 |
- <p><span>"templateCode"</span>: "bizp_20250314105XXXXXXXXXXXXXXX"</p> |
|
| 215 |
- <p>,<span>"templateName"</span>: "템플릿 명"</p> |
|
| 216 |
- <p>,<span>"templateMessageType"</span>: "BA"</p> |
|
| 217 |
- <p>,<span>"templateEmphasizeType"</span>: "TEXT"</p> |
|
| 218 |
- <p>,<span>"templateContent"</span>: "템플릿 내용 예시"</p> |
|
| 219 |
- <p>,<span>"templateExtra"</span>: "부가정보"</p> |
|
| 220 |
- <p>,<span>"templateAd"</span>: "광고성 문구"</p> |
|
| 221 |
- <p>,<span>"templateImageName"</span>: "template.jpg"</p> |
|
| 222 |
- <p>,<span>"templateImageUrl"</span>: "https://cdn.example.com/image.jpg"</p> |
|
| 223 |
- <p>,<span>"templateTitle"</span>: "강조 제목"</p> |
|
| 224 |
- <p>,<span>"templateSubtitle"</span>: "보조 문구"</p> |
|
| 225 |
- <p>,<span>"templateHeader"</span>: "템플릿 헤더"</p> |
|
| 226 |
- <p>,<span>"categoryCode"</span>: "005001"</p> |
|
| 227 |
- <p>,<span>"securityFlag"</span>: true</p> |
|
| 228 |
- <p>,<span>"inspectionStatus"</span>: "REG"</p> |
|
| 229 |
- <p>,<span>"createdAt"</span>: "2025-06-30 10:30:00"</p> |
|
| 230 |
- <p>,<span>"modifiedAt"</span>: "2025-07-01 11:00:00"</p> |
|
| 231 |
- <p>,<span>"status"</span>: "A"</p> |
|
| 232 |
- <p>,<span>"block"</span>: false</p> |
|
| 233 |
- <p>,<span>"dormant"</span>: false</p> |
|
| 234 |
- |
|
| 235 |
- <!-- templateItemHighlight --> |
|
| 236 |
- <p>,<span>"templateItemHighlight"</span>: {</p>
|
|
| 237 |
- <div class="indent_t2"> |
|
| 238 |
- <p><span>"title"</span>: "하이라이트 제목"</p> |
|
| 239 |
- <p>,<span>"description"</span>: "하이라이트 설명"</p> |
|
| 240 |
- <p>,<span>"imageUrl"</span>: "https://cdn.example.com/thumb.jpg"</p> |
|
| 241 |
- </div> |
|
| 242 |
- <p>}</p> |
|
| 243 |
- |
|
| 244 |
- <!-- templateItem --> |
|
| 245 |
- <p>,<span>"templateItem"</span>: {</p>
|
|
| 246 |
- <div class="indent_t2"> |
|
| 247 |
- <p><span>"list"</span>: [</p> |
|
| 248 |
- <div class="indent_t3"> |
|
| 249 |
- <p>{</p> |
|
| 250 |
- <p><span>"title"</span>: "아이템 제목"</p> |
|
| 251 |
- <p>,<span>"description"</span>: "아이템 설명"</p> |
|
| 252 |
- <p>}</p> |
|
| 253 |
- </div> |
|
| 254 |
- <p>],</p> |
|
| 255 |
- <p><span>"summary"</span>: {</p>
|
|
| 256 |
- <div class="indent_t3"> |
|
| 257 |
- <p><span>"title"</span>: "요약 제목"</p> |
|
| 258 |
- <p>,<span>"description"</span>: "요약 설명"</p> |
|
| 259 |
- </div> |
|
| 260 |
- <p>}</p> |
|
| 261 |
- </div> |
|
| 262 |
- <p>}</p> |
|
| 263 |
- |
|
| 264 |
- <!-- buttons --> |
|
| 265 |
- <p>,<span>"buttons"</span>: [</p> |
|
| 266 |
- <div class="indent_t2"> |
|
| 267 |
- <p>{</p> |
|
| 268 |
- <p><span>"name"</span>: "버튼명"</p> |
|
| 269 |
- <p>,<span>"linkType"</span>: "WL"</p> |
|
| 270 |
- <p>,<span>"linkAnd"</span>: "https://aos.example.com"</p> |
|
| 271 |
- <p>,<span>"linkIos"</span>: "https://ios.example.com"</p> |
|
| 272 |
- <p>,<span>"linkMo"</span>: "https://m.example.com"</p> |
|
| 273 |
- <p>,<span>"linkPc"</span>: "https://www.example.com"</p> |
|
| 274 |
- <p>,<span>"pluginId"</span>: "plugin123"</p> |
|
| 275 |
- <p>}</p> |
|
| 276 |
- </div> |
|
| 277 |
- <p>]</p> |
|
| 278 |
- |
|
| 279 |
- <!-- quickReplies --> |
|
| 280 |
- <p>,<span>"quickReplies"</span>: [</p> |
|
| 281 |
- <div class="indent_t2"> |
|
| 282 |
- <p>{</p> |
|
| 283 |
- <p><span>"name"</span>: "빠른응답"</p> |
|
| 284 |
- <p>,<span>"linkType"</span>: "WL"</p> |
|
| 285 |
- <p>,<span>"linkAnd"</span>: "https://aos.quick.com"</p> |
|
| 286 |
- <p>,<span>"linkIos"</span>: "https://ios.quick.com"</p> |
|
| 287 |
- <p>,<span>"linkMo"</span>: "https://m.quick.com"</p> |
|
| 288 |
- <p>,<span>"linkPc"</span>: "https://www.quick.com"</p> |
|
| 289 |
- <p>}</p> |
|
| 290 |
- </div> |
|
| 291 |
- <p>]</p> |
|
| 292 |
- |
|
| 293 |
- <!-- comments --> |
|
| 294 |
- <p>,<span>"comments"</span>: [</p> |
|
| 295 |
- <div class="indent_t2"> |
|
| 296 |
- <p>{</p> |
|
| 297 |
- <p><span>"content"</span>: "댓글 예시입니다."</p> |
|
| 298 |
- <p>,<span>"createdAt"</span>: "2025-07-01 10:00:00"</p> |
|
| 299 |
- <p>,<span>"status"</span>: "REQ"</p> |
|
| 300 |
- <p>,<span>"userName"</span>: "관리자"</p> |
|
| 301 |
- <p>,<span>"attachment"</span>: [</p> |
|
| 302 |
- <div class="indent_t3"> |
|
| 303 |
- <p>{</p> |
|
| 304 |
- <p><span>"originalFileName"</span>: "example.pdf"</p> |
|
| 305 |
- <p>,<span>"filePath"</span>: "/download/example.pdf"</p> |
|
| 306 |
- <p>}</p> |
|
| 307 |
- </div> |
|
| 308 |
- <p>]</p> |
|
| 309 |
- <p>}</p> |
|
| 310 |
- </div> |
|
| 311 |
- <p>]</p> |
|
| 312 |
- </div> |
|
| 313 |
- <p class="l_code_t2">}</p> |
|
| 314 |
- <p>]</p> |
|
| 315 |
- </div> |
|
| 316 |
- <p class="l_code">}</p> |
|
| 317 |
- </div> |
|
| 318 |
- </div> |
|
| 319 |
- <div class="box"> |
|
| 320 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 321 |
- <div class="code_view"> |
|
| 322 |
- <p>{</p> |
|
| 323 |
- <div class="indent"> |
|
| 324 |
- <p><span>"resultCode"</span>:"4099"</p> |
|
| 325 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 326 |
- </div> |
|
| 327 |
- <p class="l_code">}</p> |
|
| 328 |
- </div> |
|
| 329 |
- </div> |
|
| 330 |
- <!--// Response--> |
|
| 331 |
- </div> |
|
| 10 |
+<div class="re_cont"> |
|
| 11 |
+ <!--Request--> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port |
|
| 18 |
+ 정보 테이블</caption> |
|
| 19 |
+ <colgroup> |
|
| 20 |
+ <col style="width: 20%;"> |
|
| 21 |
+ <col style="width: 80%;"> |
|
| 22 |
+ </colgroup> |
|
| 23 |
+ <tr> |
|
| 24 |
+ <th>Http Method</th> |
|
| 25 |
+ <td>POST</td> |
|
| 26 |
+ </tr> |
|
| 27 |
+ <tr> |
|
| 28 |
+ <th>프로토콜</th> |
|
| 29 |
+ <td>HTTP/1.1</td> |
|
| 30 |
+ </tr> |
|
| 31 |
+ <tr> |
|
| 32 |
+ <th>HOST</th> |
|
| 33 |
+ <td>api.munjaon.co.kr</td> |
|
| 34 |
+ </tr> |
|
| 35 |
+ <tr> |
|
| 36 |
+ <th>Service Port</th> |
|
| 37 |
+ <td>443</td> |
|
| 38 |
+ </tr> |
|
| 39 |
+ </table> |
|
| 40 |
+ </div> |
|
| 41 |
+ </div> |
|
| 42 |
+ <div class="type_table"> |
|
| 43 |
+ <table> |
|
| 44 |
+ <caption>전송결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 45 |
+ <colgroup> |
|
| 46 |
+ <col style="width: 20%;"> |
|
| 47 |
+ <col style="width: 45%;"> |
|
| 48 |
+ <col style="width: 25%"> |
|
| 49 |
+ <col style="width: 10%"> |
|
| 50 |
+ </colgroup> |
|
| 51 |
+ <thead> |
|
| 52 |
+ <tr> |
|
| 53 |
+ <th>키</th> |
|
| 54 |
+ <th>설명</th> |
|
| 55 |
+ <th>타입</th> |
|
| 56 |
+ <th>필수</th> |
|
| 57 |
+ </tr> |
|
| 58 |
+ </thead> |
|
| 59 |
+ <tbody> |
|
| 60 |
+ <tr> |
|
| 61 |
+ <td><span class="font_b">mberId</span></td> |
|
| 62 |
+ <td>사용자 ID</td> |
|
| 63 |
+ <td>String</td> |
|
| 64 |
+ <td><span class="select_o">O</span></td> |
|
| 65 |
+ </tr> |
|
| 66 |
+ <tr> |
|
| 67 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 68 |
+ <td>인증용 API Key</td> |
|
| 69 |
+ <td>String</td> |
|
| 70 |
+ <td><span class="select_o">O</span></td> |
|
| 71 |
+ </tr> |
|
| 72 |
+ <tr> |
|
| 73 |
+ <td><span class="font_b">senderKey</span></td> |
|
| 74 |
+ <td>발신 프로필 Key</td> |
|
| 75 |
+ <td>String</td> |
|
| 76 |
+ <td><span class="select_o">O</span></td> |
|
| 77 |
+ </tr> |
|
| 78 |
+ <tr> |
|
| 79 |
+ <td><span class="font_b">templateCode</span></td> |
|
| 80 |
+ <td>템플릿 코드</td> |
|
| 81 |
+ <td>String</td> |
|
| 82 |
+ <td><span class="select_o">O</span></td> |
|
| 83 |
+ </tr> |
|
| 84 |
+ </tbody> |
|
| 85 |
+ </table> |
|
| 86 |
+ <div class="table_info"> |
|
| 87 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 88 |
+ </div> |
|
| 89 |
+ </div> |
|
| 90 |
+ <div class="box"> |
|
| 91 |
+ <div class="title">[Example]</div> |
|
| 92 |
+ <div class="code_view"> |
|
| 93 |
+ <p>{</p> |
|
| 94 |
+ <div class="indent"> |
|
| 95 |
+ <p> |
|
| 96 |
+ <span>"mberId"</span>:"홍길동" |
|
| 97 |
+ </p> |
|
| 98 |
+ <p> |
|
| 99 |
+ ,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953" |
|
| 100 |
+ </p> |
|
| 101 |
+ <p> |
|
| 102 |
+ ,<span>"senderKey"</span>:"XXXXXXXXXXXXXX669143473b1af" |
|
| 103 |
+ </p> |
|
| 104 |
+ <p> |
|
| 105 |
+ ,<span>"templateCode"</span>:"bizp_202503141052XXXXXXXXXXXXXX" |
|
| 106 |
+ </p> |
|
| 107 |
+ </div> |
|
| 108 |
+ <p class="l_code">}</p> |
|
| 109 |
+ </div> |
|
| 110 |
+ </div> |
|
| 111 |
+ <!--// Request--> |
|
| 112 |
+ <!-- Response--> |
|
| 113 |
+ <div class="res_title">Response</div> |
|
| 114 |
+ <div class="type_table"> |
|
| 115 |
+ <table> |
|
| 116 |
+ <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 117 |
+ <colgroup> |
|
| 118 |
+ <col style="width: 20%;"> |
|
| 119 |
+ <col style="width: 60%;"> |
|
| 120 |
+ <col style="width: 20%;"> |
|
| 121 |
+ </colgroup> |
|
| 122 |
+ <thead> |
|
| 123 |
+ <tr> |
|
| 124 |
+ <th>키</th> |
|
| 125 |
+ <th>설명</th> |
|
| 126 |
+ <th>타입</th> |
|
| 127 |
+ </tr> |
|
| 128 |
+ </thead> |
|
| 129 |
+ <tbody> |
|
| 130 |
+ <tr> |
|
| 131 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 132 |
+ <td>성공 여부("0" 아니면 실패)</td>
|
|
| 133 |
+ <td>String</td> |
|
| 134 |
+ </tr> |
|
| 135 |
+ <tr> |
|
| 136 |
+ <td><span class="font_b">data</span></td> |
|
| 137 |
+ <td>템플릿 정보 리스트</td> |
|
| 138 |
+ <td>Array</td> |
|
| 139 |
+ </tr> |
|
| 140 |
+ <tr> |
|
| 141 |
+ <td><span class="font_b">[data].templateCode</span></td> |
|
| 142 |
+ <td>템플릿 코드</td> |
|
| 143 |
+ <td>String</td> |
|
| 144 |
+ </tr> |
|
| 145 |
+ <tr> |
|
| 146 |
+ <td><span class="font_b">[data].templateName</span></td> |
|
| 147 |
+ <td>템플릿 이름</td> |
|
| 148 |
+ <td>String</td> |
|
| 149 |
+ </tr> |
|
| 150 |
+ <tr> |
|
| 151 |
+ <td><span class="font_b">[data].templateMessageType</span></td> |
|
| 152 |
+ <td>템플릿 메시지 유형 <br />(BA:기본형(default), EX:부가정보형, AD:광고추가형, MI:복합형)</td> |
|
| 153 |
+ <td>String</td> |
|
| 154 |
+ </tr> |
|
| 155 |
+ <tr> |
|
| 156 |
+ <td><span class="font_b">[data].templateEmphasizeType</span></td> |
|
| 157 |
+ <td>템플릿 강조 유형 <br />(NONE: 선택안함, TEXT: 강조표기형, IMAGE: 이미지형, |
|
| 158 |
+ ITEM_LIST: 아이템리스트형)</td> |
|
| 159 |
+ <td>String</td> |
|
| 160 |
+ </tr> |
|
| 161 |
+ <tr> |
|
| 162 |
+ <td><span class="font_b">[data].templateContent</span></td> |
|
| 163 |
+ <td>템플릿 내용</td> |
|
| 164 |
+ <td>String</td> |
|
| 165 |
+ </tr> |
|
| 166 |
+ <tr> |
|
| 167 |
+ <td><span class="font_b">[data].templateExtra</span></td> |
|
| 168 |
+ <td>부가정보</td> |
|
| 169 |
+ <td>String</td> |
|
| 170 |
+ </tr> |
|
| 171 |
+ <tr> |
|
| 172 |
+ <td><span class="font_b">[data].templateAd</span></td> |
|
| 173 |
+ <td>광고성 메시지</td> |
|
| 174 |
+ <td>String</td> |
|
| 175 |
+ </tr> |
|
| 176 |
+ <tr> |
|
| 177 |
+ <td><span class="font_b">[data].templateImageName</span></td> |
|
| 178 |
+ <td>템플릿 이미지 파일명</td> |
|
| 179 |
+ <td>String</td> |
|
| 180 |
+ </tr> |
|
| 181 |
+ <tr> |
|
| 182 |
+ <td><span class="font_b">[data].templateImageUrl</span></td> |
|
| 183 |
+ <td>템플릿 이미지 링크</td> |
|
| 184 |
+ <td>String</td> |
|
| 185 |
+ </tr> |
|
| 186 |
+ <tr> |
|
| 187 |
+ <td><span class="font_b">[data].templateTitle</span></td> |
|
| 188 |
+ <td>템플릿 내용 중 강조 표기할 핵심 정보</td> |
|
| 189 |
+ <td>String</td> |
|
| 190 |
+ </tr> |
|
| 191 |
+ <tr> |
|
| 192 |
+ <td><span class="font_b">[data].templateSubtitle</span></td> |
|
| 193 |
+ <td>강조 표기 보조 문구</td> |
|
| 194 |
+ <td>String</td> |
|
| 195 |
+ </tr> |
|
| 196 |
+ <tr> |
|
| 197 |
+ <td><span class="font_b">[data].templateHeader</span></td> |
|
| 198 |
+ <td>헤더</td> |
|
| 199 |
+ <td>String</td> |
|
| 200 |
+ </tr> |
|
| 201 |
+ |
|
| 202 |
+ <tr> |
|
| 203 |
+ <td><span class="font_b">[data].categoryCode</span></td> |
|
| 204 |
+ <td>템플릿 카테고리 코드</td> |
|
| 205 |
+ <td>String</td> |
|
| 206 |
+ </tr> |
|
| 207 |
+ <tr> |
|
| 208 |
+ <td><span class="font_b">[data].securityFlag</span></td> |
|
| 209 |
+ <td>보안 템플릿 여부 (true:설정)</td> |
|
| 210 |
+ <td>Boolean</td> |
|
| 211 |
+ </tr> |
|
| 212 |
+ <tr> |
|
| 213 |
+ <td><span class="font_b">[data].inspectionStatus</span></td> |
|
| 214 |
+ <td>검수 상태 (REG: 등록, REQ: 검수요청, REJ: 반려, APR: 승인)</td> |
|
| 215 |
+ <td>String</td> |
|
| 216 |
+ </tr> |
|
| 217 |
+ <tr> |
|
| 218 |
+ <td><span class="font_b">[data].createdAt</span></td> |
|
| 219 |
+ <td>생성일</td> |
|
| 220 |
+ <td>String</td> |
|
| 221 |
+ </tr> |
|
| 222 |
+ <tr> |
|
| 223 |
+ <td><span class="font_b">[data].modifiedAt</span></td> |
|
| 224 |
+ <td>수정일</td> |
|
| 225 |
+ <td>String</td> |
|
| 226 |
+ </tr> |
|
| 227 |
+ <tr> |
|
| 228 |
+ <td><span class="font_b">[data].status</span></td> |
|
| 229 |
+ <td>템플릿 상태(D:중지, A:정상, R:대기(발송전))</td> |
|
| 230 |
+ <td>String</td> |
|
| 231 |
+ </tr> |
|
| 232 |
+ <tr> |
|
| 233 |
+ <td><span class="font_b">[data].block</span></td> |
|
| 234 |
+ <td>템플릿 차단 여부 (true:차단, false: 해제)</td> |
|
| 235 |
+ <td>Boolean</td> |
|
| 236 |
+ </tr> |
|
| 237 |
+ <tr> |
|
| 238 |
+ <td><span class="font_b">[data].dormant</span></td> |
|
| 239 |
+ <td>템플릿 휴면 여부 (true:휴면, false: 해제)</td> |
|
| 240 |
+ <td>Boolean</td> |
|
| 241 |
+ </tr> |
|
| 242 |
+ |
|
| 243 |
+ <tr> |
|
| 244 |
+ <td><span class="font_b">[data].templateItemHighlight</span></td> |
|
| 245 |
+ <td>아이템 하이라이트</td> |
|
| 246 |
+ <td>Object</td> |
|
| 247 |
+ </tr> |
|
| 248 |
+ <tr> |
|
| 249 |
+ <td><span class="font_b">[data].templateItemHighlight.title</span></td> |
|
| 250 |
+ <td>타이틀</td> |
|
| 251 |
+ <td>String</td> |
|
| 252 |
+ </tr> |
|
| 253 |
+ <tr> |
|
| 254 |
+ <td><span class="font_b">[data].templateItemHighlight.description</span></td> |
|
| 255 |
+ <td>상세 설명</td> |
|
| 256 |
+ <td>String</td> |
|
| 257 |
+ </tr> |
|
| 258 |
+ <tr> |
|
| 259 |
+ <td><span class="font_b">[data].templateItemHighlight.imageUrl</span></td> |
|
| 260 |
+ <td>썸네일 이미지 주소</td> |
|
| 261 |
+ <td>String</td> |
|
| 262 |
+ </tr> |
|
| 263 |
+ |
|
| 264 |
+ <tr> |
|
| 265 |
+ <td><span class="font_b">[data].templateItem</span></td> |
|
| 266 |
+ <td>아이템 정보</td> |
|
| 267 |
+ <td>Object</td> |
|
| 268 |
+ </tr> |
|
| 269 |
+ <tr> |
|
| 270 |
+ <td><span class="font_b">[data].templateItem.list[]</span></td> |
|
| 271 |
+ <td>아이템 리스트</td> |
|
| 272 |
+ <td>Array</td> |
|
| 273 |
+ </tr> |
|
| 274 |
+ <tr> |
|
| 275 |
+ <td><span class="font_b">[data].templateItem.list[].title</span></td> |
|
| 276 |
+ <td>타이틀</td> |
|
| 277 |
+ <td>String</td> |
|
| 278 |
+ </tr> |
|
| 279 |
+ <tr> |
|
| 280 |
+ <td><span class="font_b">[data].templateItem.list[].description</span></td> |
|
| 281 |
+ <td>디스크립션</td> |
|
| 282 |
+ <td>String</td> |
|
| 283 |
+ </tr> |
|
| 284 |
+ |
|
| 285 |
+ <tr> |
|
| 286 |
+ <td><span class="font_b">[data].templateItem.summary</span></td> |
|
| 287 |
+ <td>아이템 요약 정보</td> |
|
| 288 |
+ <td>Object</td> |
|
| 289 |
+ </tr> |
|
| 290 |
+ <tr> |
|
| 291 |
+ <td><span class="font_b">[data].templateItem.summary.title</span></td> |
|
| 292 |
+ <td>타이틀</td> |
|
| 293 |
+ <td>String</td> |
|
| 294 |
+ </tr> |
|
| 295 |
+ <tr> |
|
| 296 |
+ <td><span class="font_b">[data].templateItem.summary.description</span></td> |
|
| 297 |
+ <td>디스크립션</td> |
|
| 298 |
+ <td>String</td> |
|
| 299 |
+ </tr> |
|
| 300 |
+ |
|
| 301 |
+ <!-- buttons --> |
|
| 302 |
+ <tr> |
|
| 303 |
+ <td><span class="font_b">[data].buttons[]</span></td> |
|
| 304 |
+ <td>버튼 정보</td> |
|
| 305 |
+ <td>Array</td> |
|
| 306 |
+ </tr> |
|
| 307 |
+ <tr> |
|
| 308 |
+ <td><span class="font_b">[data].buttons[].name</span></td> |
|
| 309 |
+ <td>버튼명</td> |
|
| 310 |
+ <td>String</td> |
|
| 311 |
+ </tr> |
|
| 312 |
+ <tr> |
|
| 313 |
+ <td><span class="font_b">[data].buttons[].linkType</span></td> |
|
| 314 |
+ <td>버튼 링크타입 (DS:배송조회, WL:웹링크, AL:앱링크, BK:봇키워드, MD: 메시지전달, AC: |
|
| 315 |
+ 채널추가, BC: 상담톡전환, BT: 봇전환, P1: 이미지 보안전송 플러그인, P2: 개인정보이용 플러그인, P3: |
|
| 316 |
+ 원클릭 결제 플러그인)</td> |
|
| 317 |
+ <td>String</td> |
|
| 318 |
+ </tr> |
|
| 319 |
+ <tr> |
|
| 320 |
+ <td><span class="font_b">[data].buttons[].linkAnd</span></td> |
|
| 321 |
+ <td>Android 앱 링크 주소</td> |
|
| 322 |
+ <td>String</td> |
|
| 323 |
+ </tr> |
|
| 324 |
+ <tr> |
|
| 325 |
+ <td><span class="font_b">[data].buttons[].linkIos</span></td> |
|
| 326 |
+ <td>IOS 앱 링크 주소</td> |
|
| 327 |
+ <td>String</td> |
|
| 328 |
+ </tr> |
|
| 329 |
+ <tr> |
|
| 330 |
+ <td><span class="font_b">[data].buttons[].linkMo</span></td> |
|
| 331 |
+ <td>모바일 웹 링크 주소</td> |
|
| 332 |
+ <td>String</td> |
|
| 333 |
+ </tr> |
|
| 334 |
+ <tr> |
|
| 335 |
+ <td><span class="font_b">[data].buttons[].linkPc</span></td> |
|
| 336 |
+ <td>PC 웹 링크 주소</td> |
|
| 337 |
+ <td>String</td> |
|
| 338 |
+ </tr> |
|
| 339 |
+ <tr> |
|
| 340 |
+ <td><span class="font_b">[data].buttons[].pluginId</span></td> |
|
| 341 |
+ <td>플러그인 ID</td> |
|
| 342 |
+ <td>String</td> |
|
| 343 |
+ </tr> |
|
| 344 |
+ |
|
| 345 |
+ <!-- quickReplies --> |
|
| 346 |
+ <tr> |
|
| 347 |
+ <td><span class="font_b">[data].quickReplies[]</span></td> |
|
| 348 |
+ <td>바로연결 정보</td> |
|
| 349 |
+ <td>Array</td> |
|
| 350 |
+ </tr> |
|
| 351 |
+ <tr> |
|
| 352 |
+ <td><span class="font_b">[data].quickReplies[].name</span></td> |
|
| 353 |
+ <td>바로연결명</td> |
|
| 354 |
+ <td>String</td> |
|
| 355 |
+ </tr> |
|
| 356 |
+ <tr> |
|
| 357 |
+ <td><span class="font_b">[data].quickReplies[].linkType</span></td> |
|
| 358 |
+ <td>바로연결 링크타입 (WL:웹링크, AL:앱링크, BK:봇키워드, MD: 메시지전달, BC: 상담톡전환, |
|
| 359 |
+ BT: 봇전환)</td> |
|
| 360 |
+ <td>String</td> |
|
| 361 |
+ </tr> |
|
| 362 |
+ <tr> |
|
| 363 |
+ <td><span class="font_b">[data].quickReplies[].linkAnd</span></td> |
|
| 364 |
+ <td>Android 앱 링크 주소</td> |
|
| 365 |
+ <td>String</td> |
|
| 366 |
+ </tr> |
|
| 367 |
+ <tr> |
|
| 368 |
+ <td><span class="font_b">[data].quickReplies[].linkIos</span></td> |
|
| 369 |
+ <td>IOS 앱 링크 주소</td> |
|
| 370 |
+ <td>String</td> |
|
| 371 |
+ </tr> |
|
| 372 |
+ <tr> |
|
| 373 |
+ <td><span class="font_b">[data].quickReplies[].linkMo</span></td> |
|
| 374 |
+ <td>모바일 웹 링크 주소</td> |
|
| 375 |
+ <td>String</td> |
|
| 376 |
+ </tr> |
|
| 377 |
+ <tr> |
|
| 378 |
+ <td><span class="font_b">[data].quickReplies[].linkPc</span></td> |
|
| 379 |
+ <td>PC 웹 링크 주소</td> |
|
| 380 |
+ <td>String</td> |
|
| 381 |
+ </tr> |
|
| 382 |
+ |
|
| 383 |
+ <!-- comments --> |
|
| 384 |
+ <tr> |
|
| 385 |
+ <td><span class="font_b">[data].comments[]</span></td> |
|
| 386 |
+ <td>댓글 목록</td> |
|
| 387 |
+ <td>Array</td> |
|
| 388 |
+ </tr> |
|
| 389 |
+ <tr> |
|
| 390 |
+ <td><span class="font_b">[data].comments[].content</span></td> |
|
| 391 |
+ <td>댓글 본문</td> |
|
| 392 |
+ <td>String</td> |
|
| 393 |
+ </tr> |
|
| 394 |
+ <tr> |
|
| 395 |
+ <td><span class="font_b">[data].comments[].createdAt</span></td> |
|
| 396 |
+ <td>댓글 생성일</td> |
|
| 397 |
+ <td>String</td> |
|
| 398 |
+ </tr> |
|
| 399 |
+ <tr> |
|
| 400 |
+ <td><span class="font_b">[data].comments[].status</span></td> |
|
| 401 |
+ <td>댓글 상태 (REQ:등록, INQ:문의, APR:승인, REJ:반려, REP:답변)</td> |
|
| 402 |
+ <td>String</td> |
|
| 403 |
+ </tr> |
|
| 404 |
+ <tr> |
|
| 405 |
+ <td><span class="font_b">[data].comments[].userName</span></td> |
|
| 406 |
+ <td>댓글 작성자</td> |
|
| 407 |
+ <td>String</td> |
|
| 408 |
+ </tr> |
|
| 409 |
+ <tr> |
|
| 410 |
+ <td><span class="font_b">[data].comments[].attachment</span></td> |
|
| 411 |
+ <td>첨부파일</td> |
|
| 412 |
+ <td>Array</td> |
|
| 413 |
+ </tr> |
|
| 414 |
+ |
|
| 415 |
+ <!-- attachment 내부 --> |
|
| 416 |
+ <tr> |
|
| 417 |
+ <td><span class="font_b">[data].comments[].attachment[]</span></td> |
|
| 418 |
+ <td>첨부파일</td> |
|
| 419 |
+ <td>Array</td> |
|
| 420 |
+ </tr> |
|
| 421 |
+ <tr> |
|
| 422 |
+ <td><span class="font_b">[data].comments[].attachment[].originalFileName</span></td> |
|
| 423 |
+ <td>업로드한 파일 이름</td> |
|
| 424 |
+ <td>String</td> |
|
| 425 |
+ </tr> |
|
| 426 |
+ <tr> |
|
| 427 |
+ <td><span class="font_b">[data].comments[].attachment[].filePath</span></td> |
|
| 428 |
+ <td>파일 다운로드 경로</td> |
|
| 429 |
+ <td>String</td> |
|
| 430 |
+ </tr> |
|
| 431 |
+ |
|
| 432 |
+ |
|
| 433 |
+ </tbody> |
|
| 434 |
+ </table> |
|
| 435 |
+ <div class="table_info"> |
|
| 436 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 437 |
+ </div> |
|
| 438 |
+ </div> |
|
| 439 |
+ <div class="box"> |
|
| 440 |
+ <div class="title_t1"> |
|
| 441 |
+ <span class="ex">[Example]</span><span class="ex_success">O 성공 |
|
| 442 |
+ 예시</span> |
|
| 443 |
+ </div> |
|
| 444 |
+ <div class="code_view"> |
|
| 445 |
+ <p>{</p> |
|
| 446 |
+ <div class="indent"> |
|
| 447 |
+ <p> |
|
| 448 |
+ <span>"resultCode"</span>:"0" |
|
| 449 |
+ </p> |
|
| 450 |
+ <p> |
|
| 451 |
+ ,<span>"data"</span>:[ |
|
| 452 |
+ </p> |
|
| 453 |
+ <p>{</p> |
|
| 454 |
+ <div class="indent_t1"> |
|
| 455 |
+ <p> |
|
| 456 |
+ <span>"templateCode"</span>: "bizp_20250314105XXXXXXXXXXXXXXX" |
|
| 457 |
+ </p> |
|
| 458 |
+ <p> |
|
| 459 |
+ ,<span>"templateName"</span>: "템플릿 명" |
|
| 460 |
+ </p> |
|
| 461 |
+ <p> |
|
| 462 |
+ ,<span>"templateMessageType"</span>: "BA" |
|
| 463 |
+ </p> |
|
| 464 |
+ <p> |
|
| 465 |
+ ,<span>"templateEmphasizeType"</span>: "TEXT" |
|
| 466 |
+ </p> |
|
| 467 |
+ <p> |
|
| 468 |
+ ,<span>"templateContent"</span>: "템플릿 내용 예시" |
|
| 469 |
+ </p> |
|
| 470 |
+ <p> |
|
| 471 |
+ ,<span>"templateExtra"</span>: "부가정보" |
|
| 472 |
+ </p> |
|
| 473 |
+ <p> |
|
| 474 |
+ ,<span>"templateAd"</span>: "광고성 문구" |
|
| 475 |
+ </p> |
|
| 476 |
+ <p> |
|
| 477 |
+ ,<span>"templateImageName"</span>: "template.jpg" |
|
| 478 |
+ </p> |
|
| 479 |
+ <p> |
|
| 480 |
+ ,<span>"templateImageUrl"</span>: |
|
| 481 |
+ "https://cdn.example.com/image.jpg" |
|
| 482 |
+ </p> |
|
| 483 |
+ <p> |
|
| 484 |
+ ,<span>"templateTitle"</span>: "강조 제목" |
|
| 485 |
+ </p> |
|
| 486 |
+ <p> |
|
| 487 |
+ ,<span>"templateSubtitle"</span>: "보조 문구" |
|
| 488 |
+ </p> |
|
| 489 |
+ <p> |
|
| 490 |
+ ,<span>"templateHeader"</span>: "템플릿 헤더" |
|
| 491 |
+ </p> |
|
| 492 |
+ <p> |
|
| 493 |
+ ,<span>"categoryCode"</span>: "005001" |
|
| 494 |
+ </p> |
|
| 495 |
+ <p> |
|
| 496 |
+ ,<span>"securityFlag"</span>: true |
|
| 497 |
+ </p> |
|
| 498 |
+ <p> |
|
| 499 |
+ ,<span>"inspectionStatus"</span>: "REG" |
|
| 500 |
+ </p> |
|
| 501 |
+ <p> |
|
| 502 |
+ ,<span>"createdAt"</span>: "2025-06-30 10:30:00" |
|
| 503 |
+ </p> |
|
| 504 |
+ <p> |
|
| 505 |
+ ,<span>"modifiedAt"</span>: "2025-07-01 11:00:00" |
|
| 506 |
+ </p> |
|
| 507 |
+ <p> |
|
| 508 |
+ ,<span>"status"</span>: "A" |
|
| 509 |
+ </p> |
|
| 510 |
+ <p> |
|
| 511 |
+ ,<span>"block"</span>: false |
|
| 512 |
+ </p> |
|
| 513 |
+ <p> |
|
| 514 |
+ ,<span>"dormant"</span>: false |
|
| 515 |
+ </p> |
|
| 516 |
+ |
|
| 517 |
+ <!-- templateItemHighlight --> |
|
| 518 |
+ <p> |
|
| 519 |
+ ,<span>"templateItemHighlight"</span>: {
|
|
| 520 |
+ </p> |
|
| 521 |
+ <div class="indent_t2"> |
|
| 522 |
+ <p> |
|
| 523 |
+ <span>"title"</span>: "하이라이트 제목" |
|
| 524 |
+ </p> |
|
| 525 |
+ <p> |
|
| 526 |
+ ,<span>"description"</span>: "하이라이트 설명" |
|
| 527 |
+ </p> |
|
| 528 |
+ <p> |
|
| 529 |
+ ,<span>"imageUrl"</span>: "https://cdn.example.com/thumb.jpg" |
|
| 530 |
+ </p> |
|
| 531 |
+ </div> |
|
| 532 |
+ <p>}</p> |
|
| 533 |
+ |
|
| 534 |
+ <!-- templateItem --> |
|
| 535 |
+ <p> |
|
| 536 |
+ ,<span>"templateItem"</span>: {
|
|
| 537 |
+ </p> |
|
| 538 |
+ <div class="indent_t2"> |
|
| 539 |
+ <p> |
|
| 540 |
+ <span>"list"</span>: [ |
|
| 541 |
+ </p> |
|
| 542 |
+ <div class="indent_t3"> |
|
| 543 |
+ <p>{</p> |
|
| 544 |
+ <p> |
|
| 545 |
+ <span>"title"</span>: "아이템 제목" |
|
| 546 |
+ </p> |
|
| 547 |
+ <p> |
|
| 548 |
+ ,<span>"description"</span>: "아이템 설명" |
|
| 549 |
+ </p> |
|
| 550 |
+ <p>}</p> |
|
| 551 |
+ </div> |
|
| 552 |
+ <p>],</p> |
|
| 553 |
+ <p> |
|
| 554 |
+ <span>"summary"</span>: {
|
|
| 555 |
+ </p> |
|
| 556 |
+ <div class="indent_t3"> |
|
| 557 |
+ <p> |
|
| 558 |
+ <span>"title"</span>: "요약 제목" |
|
| 559 |
+ </p> |
|
| 560 |
+ <p> |
|
| 561 |
+ ,<span>"description"</span>: "요약 설명" |
|
| 562 |
+ </p> |
|
| 563 |
+ </div> |
|
| 564 |
+ <p>}</p> |
|
| 565 |
+ </div> |
|
| 566 |
+ <p>}</p> |
|
| 567 |
+ |
|
| 568 |
+ <!-- buttons --> |
|
| 569 |
+ <p> |
|
| 570 |
+ ,<span>"buttons"</span>: [ |
|
| 571 |
+ </p> |
|
| 572 |
+ <div class="indent_t2"> |
|
| 573 |
+ <p>{</p> |
|
| 574 |
+ <p> |
|
| 575 |
+ <span>"name"</span>: "버튼명" |
|
| 576 |
+ </p> |
|
| 577 |
+ <p> |
|
| 578 |
+ ,<span>"linkType"</span>: "WL" |
|
| 579 |
+ </p> |
|
| 580 |
+ <p> |
|
| 581 |
+ ,<span>"linkAnd"</span>: "https://aos.example.com" |
|
| 582 |
+ </p> |
|
| 583 |
+ <p> |
|
| 584 |
+ ,<span>"linkIos"</span>: "https://ios.example.com" |
|
| 585 |
+ </p> |
|
| 586 |
+ <p> |
|
| 587 |
+ ,<span>"linkMo"</span>: "https://m.example.com" |
|
| 588 |
+ </p> |
|
| 589 |
+ <p> |
|
| 590 |
+ ,<span>"linkPc"</span>: "https://www.example.com" |
|
| 591 |
+ </p> |
|
| 592 |
+ <p> |
|
| 593 |
+ ,<span>"pluginId"</span>: "plugin123" |
|
| 594 |
+ </p> |
|
| 595 |
+ <p>}</p> |
|
| 596 |
+ </div> |
|
| 597 |
+ <p>]</p> |
|
| 598 |
+ |
|
| 599 |
+ <!-- quickReplies --> |
|
| 600 |
+ <p> |
|
| 601 |
+ ,<span>"quickReplies"</span>: [ |
|
| 602 |
+ </p> |
|
| 603 |
+ <div class="indent_t2"> |
|
| 604 |
+ <p>{</p> |
|
| 605 |
+ <p> |
|
| 606 |
+ <span>"name"</span>: "빠른응답" |
|
| 607 |
+ </p> |
|
| 608 |
+ <p> |
|
| 609 |
+ ,<span>"linkType"</span>: "WL" |
|
| 610 |
+ </p> |
|
| 611 |
+ <p> |
|
| 612 |
+ ,<span>"linkAnd"</span>: "https://aos.quick.com" |
|
| 613 |
+ </p> |
|
| 614 |
+ <p> |
|
| 615 |
+ ,<span>"linkIos"</span>: "https://ios.quick.com" |
|
| 616 |
+ </p> |
|
| 617 |
+ <p> |
|
| 618 |
+ ,<span>"linkMo"</span>: "https://m.quick.com" |
|
| 619 |
+ </p> |
|
| 620 |
+ <p> |
|
| 621 |
+ ,<span>"linkPc"</span>: "https://www.quick.com" |
|
| 622 |
+ </p> |
|
| 623 |
+ <p>}</p> |
|
| 624 |
+ </div> |
|
| 625 |
+ <p>]</p> |
|
| 626 |
+ |
|
| 627 |
+ <!-- comments --> |
|
| 628 |
+ <p> |
|
| 629 |
+ ,<span>"comments"</span>: [ |
|
| 630 |
+ </p> |
|
| 631 |
+ <div class="indent_t2"> |
|
| 632 |
+ <p>{</p> |
|
| 633 |
+ <p> |
|
| 634 |
+ <span>"content"</span>: "댓글 예시입니다." |
|
| 635 |
+ </p> |
|
| 636 |
+ <p> |
|
| 637 |
+ ,<span>"createdAt"</span>: "2025-07-01 10:00:00" |
|
| 638 |
+ </p> |
|
| 639 |
+ <p> |
|
| 640 |
+ ,<span>"status"</span>: "REQ" |
|
| 641 |
+ </p> |
|
| 642 |
+ <p> |
|
| 643 |
+ ,<span>"userName"</span>: "관리자" |
|
| 644 |
+ </p> |
|
| 645 |
+ <p> |
|
| 646 |
+ ,<span>"attachment"</span>: [ |
|
| 647 |
+ </p> |
|
| 648 |
+ <div class="indent_t3"> |
|
| 649 |
+ <p>{</p> |
|
| 650 |
+ <p> |
|
| 651 |
+ <span>"originalFileName"</span>: "example.pdf" |
|
| 652 |
+ </p> |
|
| 653 |
+ <p> |
|
| 654 |
+ ,<span>"filePath"</span>: "/download/example.pdf" |
|
| 655 |
+ </p> |
|
| 656 |
+ <p>}</p> |
|
| 657 |
+ </div> |
|
| 658 |
+ <p>]</p> |
|
| 659 |
+ <p>}</p> |
|
| 660 |
+ </div> |
|
| 661 |
+ <p>]</p> |
|
| 662 |
+ </div> |
|
| 663 |
+ <p class="l_code_t2">}</p> |
|
| 664 |
+ <p>]</p> |
|
| 665 |
+ </div> |
|
| 666 |
+ <p class="l_code">}</p> |
|
| 667 |
+ </div> |
|
| 668 |
+ </div> |
|
| 669 |
+ <div class="box"> |
|
| 670 |
+ <div class="title_t1"> |
|
| 671 |
+ <span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span> |
|
| 672 |
+ </div> |
|
| 673 |
+ <div class="code_view"> |
|
| 674 |
+ <p>{</p> |
|
| 675 |
+ <div class="indent"> |
|
| 676 |
+ <p> |
|
| 677 |
+ <span>"resultCode"</span>:"4099" |
|
| 678 |
+ </p> |
|
| 679 |
+ <p> |
|
| 680 |
+ ,<span>"data"</span>:"기타 시스템 오류" |
|
| 681 |
+ </p> |
|
| 682 |
+ </div> |
|
| 683 |
+ <p class="l_code">}</p> |
|
| 684 |
+ </div> |
|
| 685 |
+ </div> |
|
| 686 |
+ <!--// Response--> |
|
| 687 |
+</div> |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab4.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab4.jsp
... | ... | @@ -86,12 +86,6 @@ |
| 86 | 86 |
<td><span class="select_o">O</span></td> |
| 87 | 87 |
</tr> |
| 88 | 88 |
<tr> |
| 89 |
- <td><span class="font_b">subMsgSendYn</span></td> |
|
| 90 |
- <td>대체문자 발송 여부 (Y: 발송, N: 미발송)</td> |
|
| 91 |
- <td>String</td> |
|
| 92 |
- <td><span class="select_x">X</span></td> |
|
| 93 |
- </tr> |
|
| 94 |
- <tr> |
|
| 95 | 89 |
<td><span class="font_b">callFrom</span></td> |
| 96 | 90 |
<td>발신자 번호</td> |
| 97 | 91 |
<td>String</td> |
... | ... | @@ -114,6 +108,12 @@ |
| 114 | 108 |
<td>치환용 템플릿 내용</td> |
| 115 | 109 |
<td>String</td> |
| 116 | 110 |
<td><span class="select_o">O</span></td> |
| 111 |
+ </tr> |
|
| 112 |
+ <tr> |
|
| 113 |
+ <td><span class="font_b">subMsgSendYn</span></td> |
|
| 114 |
+ <td>대체문자 발송 여부 (Y: 발송, N: 미발송)</td> |
|
| 115 |
+ <td>String</td> |
|
| 116 |
+ <td><span class="select_x">X</span></td> |
|
| 117 | 117 |
</tr> |
| 118 | 118 |
<tr> |
| 119 | 119 |
<td><span class="font_b">subMsgTxt_[i]</span></td> |
... | ... | @@ -142,35 +142,35 @@ |
| 142 | 142 |
<code class="language-json"> |
| 143 | 143 |
{
|
| 144 | 144 |
|
| 145 |
- "mberId": "dudgusw", |
|
| 145 |
+ "mberId": "홍길동", |
|
| 146 | 146 |
|
| 147 |
- "accessKey": "3429312e6a2c732188d4cc7d15d8a1baa01d8d91", |
|
| 147 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 148 | 148 |
|
| 149 |
- "senderKey": "669143473b1af459628b8bdf2f48da090c8895de", |
|
| 149 |
+ "senderKey": "XXXXXXXXXXXXXX669143473b1af", |
|
| 150 | 150 |
|
| 151 |
- "templateCode": "bizp_2025031410525347794704159", |
|
| 152 |
- |
|
| 153 |
- "subMsgSendYn": "Y", |
|
| 151 |
+ "templateCode": "bizp_2025031410525XXXXXXXXXXXXX", |
|
| 154 | 152 |
|
| 155 | 153 |
"callFrom": "010-9341-4986", |
| 156 | 154 |
|
| 157 |
- "callTo_1": "01083584250", |
|
| 155 |
+ "callTo_1": "01000000000", |
|
| 158 | 156 |
|
| 159 | 157 |
"callTo_2": "01011111111", |
| 160 | 158 |
|
| 161 |
- "templateTitle_1": "테스트 이호영2222", |
|
| 159 |
+ "templateTitle_1": "타이틀 테스트2222", |
|
| 162 | 160 |
|
| 163 |
- "templateTitle_2": "테스트 이호영2111", |
|
| 161 |
+ "templateTitle_2": "타이틀 테스트2111", |
|
| 164 | 162 |
|
| 165 |
- "templateContent_1": "테스트 이호영\\n타이틀 버튼 치환 테스트입니다.", |
|
| 163 |
+ "templateContent_1": "테스트 홍길동\\n템플릿 내용", |
|
| 166 | 164 |
|
| 167 |
- "templateContent_2": "테스트 이호영2\\n타이틀 버튼 치환 테스트입니다.", |
|
| 165 |
+ "templateContent_2": "테스트 홍길동2\\n템플릿 내용", |
|
| 166 |
+ |
|
| 167 |
+ "subMsgSendYn": "Y", |
|
| 168 | 168 |
|
| 169 | 169 |
"subMsgTxt_1": "대체문자 발송", |
| 170 | 170 |
|
| 171 | 171 |
"subMsgTxt_2": "대체문자 발송2", |
| 172 | 172 |
|
| 173 |
- "test_yn": "YS" |
|
| 173 |
+ "test_yn": "" |
|
| 174 | 174 |
} |
| 175 | 175 |
</code> |
| 176 | 176 |
</pre> |
... | ... | @@ -275,7 +275,7 @@ |
| 275 | 275 |
|
| 276 | 276 |
"msgType": "AT", |
| 277 | 277 |
|
| 278 |
- "test_yn": "YS" |
|
| 278 |
+ "test_yn": "" |
|
| 279 | 279 |
|
| 280 | 280 |
}, |
| 281 | 281 |
|
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab5.jsp
... | ... | @@ -1,195 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - <ul class="info"> | |
| 4 | - <li>- 보11유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> | |
| 5 | - <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> | |
| 6 | - </ul> | |
| 7 | - | |
| 8 | - <div class="re_cont"> | |
| 9 | - <!--Request--> | |
| 10 | - <div class="req_title">Request</div> | |
| 11 | - <div class="box"> | |
| 12 | - <div class="text"> | |
| 13 | - <h4>Request</h4> | |
| 14 | - <table> | |
| 15 | - <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> | |
| 16 | - <colgroup> | |
| 17 | - <col style="width:20%;"> | |
| 18 | - <col style="width:80%;"> | |
| 19 | - </colgroup> | |
| 20 | - <tr> | |
| 21 | - <th>Http Method</th> | |
| 22 | - <td>POST</td> | |
| 23 | - </tr> | |
| 24 | - <tr> | |
| 25 | - <th>프로토콜</th> | |
| 26 | - <td>HTTP/1.1</td> | |
| 27 | - </tr> | |
| 28 | - <tr> | |
| 29 | - <th>HOST</th> | |
| 30 | - <td>api.munjaon.co.kr</td> | |
| 31 | - </tr> | |
| 32 | - <tr> | |
| 33 | - <th>Service Port</th> | |
| 34 | - <td>443</td> | |
| 35 | - </tr> | |
| 36 | - </table> | |
| 37 | - </div> | |
| 38 | - </div> | |
| 39 | - <div class="type_table"> | |
| 40 | - <table> | |
| 41 | - <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> | |
| 42 | - <colgroup> | |
| 43 | - <col style="width:20%;"> | |
| 44 | - <col style="width:45%;"> | |
| 45 | - <col style="width:25%"> | |
| 46 | - <col style="width:10%"> | |
| 47 | - </colgroup> | |
| 48 | - <thead> | |
| 49 | - <tr> | |
| 50 | - <th>키</th> | |
| 51 | - <th>설명</th> | |
| 52 | - <th>타입</th> | |
| 53 | - <th>필수</th> | |
| 54 | - </tr> | |
| 55 | - </thead> | |
| 56 | - <tbody> | |
| 57 | - <tr> | |
| 58 | - <td><span class="font_b">mberId</span></td> | |
| 59 | - <td>사용자 ID</td> | |
| 60 | - <td>String</td> | |
| 61 | - <td><span class="select_o">O</span></td> | |
| 62 | - </tr> | |
| 63 | - <tr> | |
| 64 | - <td><span class="font_b">accessKey</span></td> | |
| 65 | - <td>인증용 API Key</td> | |
| 66 | - <td>String</td> | |
| 67 | - <td><span class="select_o">O</span></td> | |
| 68 | - </tr> | |
| 69 | - </tbody> | |
| 70 | - </table> | |
| 71 | - <div class="table_info"> | |
| 72 | - <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> | |
| 73 | - </div> | |
| 74 | - </div> | |
| 75 | - <div class="box"> | |
| 76 | - <div class="title">[Example]</div> | |
| 77 | - <div class="code_view"> | |
| 78 | - <p>{</p> | |
| 79 | - <div class="indent"> | |
| 80 | - <p><span>"mberId"</span>:"String"</p> | |
| 81 | - <p>,<span>"accessKey"</span>:"String"</p> | |
| 82 | - </div> | |
| 83 | - <p class="l_code">}</p> | |
| 84 | - </div> | |
| 85 | - </div> | |
| 86 | - <!--// Request--> | |
| 87 | - <!-- Response--> | |
| 88 | - <div class="res_title">Response</div> | |
| 89 | - <div class="type_table"> | |
| 90 | - <table> | |
| 91 | - <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 92 | - <colgroup> | |
| 93 | - <col style="width:20%;"> | |
| 94 | - <col style="width:60%;"> | |
| 95 | - <col style="width:20%;"> | |
| 96 | - </colgroup> | |
| 97 | - <thead> | |
| 98 | - <tr> | |
| 99 | - <th>키</th> | |
| 100 | - <th>설명</th> | |
| 101 | - <th>타입</th> | |
| 102 | - </tr> | |
| 103 | - </thead> | |
| 104 | - <tbody> | |
| 105 | - <tr> | |
| 106 | - <td><span class="font_b">resultCode</span></td> | |
| 107 | - <td>성공 여부("0" 아니면 실패)</td> | |
| 108 | - <td>String</td> | |
| 109 | - </tr> | |
| 110 | - <tr> | |
| 111 | - <td><span class="font_b">data</span></td> | |
| 112 | - <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 113 | - <td>Object</td> | |
| 114 | - </tr> | |
| 115 | - <tr> | |
| 116 | - <td><span class="font_b">[data].longPrice</span></td> | |
| 117 | - <td>장문 단가</td> | |
| 118 | - <td>String</td> | |
| 119 | - </tr> | |
| 120 | - <tr> | |
| 121 | - <td><span class="font_b">[data].longSendPsbltEa</span></td> | |
| 122 | - <td>장문 발송 가능 건수</td> | |
| 123 | - <td>String</td> | |
| 124 | - </tr> | |
| 125 | - <tr> | |
| 126 | - <td><span class="font_b">[data].mberMoney</span></td> | |
| 127 | - <td>현재 보유 금액</td> | |
| 128 | - <td>String</td> | |
| 129 | - </tr> | |
| 130 | - <tr> | |
| 131 | - <td><span class="font_b">[data].message</span></td> | |
| 132 | - <td>문자</td> | |
| 133 | - <td>String</td> | |
| 134 | - </tr> | |
| 135 | - <tr> | |
| 136 | - <td><span class="font_b">[data].picturePrice</span></td> | |
| 137 | - <td>그림문자 단가</td> | |
| 138 | - <td>String</td> | |
| 139 | - </tr> | |
| 140 | - <tr> | |
| 141 | - <td><span class="font_b">[data].pictureSendPsbltEa</span></td> | |
| 142 | - <td>그림문자 발송 가능 건수</td> | |
| 143 | - <td>String</td> | |
| 144 | - </tr> | |
| 145 | - <tr> | |
| 146 | - <td><span class="font_b">[data].shortPrice</span></td> | |
| 147 | - <td>단문 단가</td> | |
| 148 | - <td>String</td> | |
| 149 | - </tr> | |
| 150 | - <tr> | |
| 151 | - <td><span class="font_b">[data].shortSendPsbltEa</span></td> | |
| 152 | - <td>단문 발송 가능 건수</td> | |
| 153 | - <td>String</td> | |
| 154 | - </tr> | |
| 155 | - </tbody> | |
| 156 | - </table> | |
| 157 | - <div class="table_info"> | |
| 158 | - <p>※ JSON 객체로 응답합니다.</p> | |
| 159 | - </div> | |
| 160 | - </div> | |
| 161 | - <div class="box"> | |
| 162 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 163 | - <div class="code_view"> | |
| 164 | - <p>{</p> | |
| 165 | - <div class="indent"> | |
| 166 | - <p><span>"resultCode"</span>:"0"</p> | |
| 167 | - <p>,<span>"data"</span>{</p> | |
| 168 | - <div class="indent_t1"> | |
| 169 | - <p><span>"longPrice"</span>:"50"</p> | |
| 170 | - <p>,<span>"longSendPsbltEa"</span>:"19651"</p> | |
| 171 | - <p>,<span>"mberMoney"</span>:"982586.7"</p> | |
| 172 | - <p>,<span>"message"</span>:null</p> | |
| 173 | - <p>,<span>"picturePrice"</span>:"90"</p> | |
| 174 | - <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> | |
| 175 | - <p>,<span>"shortPrice"</span>:"18"</p> | |
| 176 | - <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> | |
| 177 | - </div> | |
| 178 | - <p>}</p> | |
| 179 | - </div> | |
| 180 | - <p class="l_code">}</p> | |
| 181 | - </div> | |
| 182 | - </div> | |
| 183 | - <div class="box"> | |
| 184 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 185 | - <div class="code_view"> | |
| 186 | - <p>{</p> | |
| 187 | - <div class="indent"> | |
| 188 | - <p><span>"resultCode"</span>:"5099"</p> | |
| 189 | - <p>,<span>"data"</span>:"기타 시스템 오류"</p> | |
| 190 | - </div> | |
| 191 | - <p class="l_code">}</p> | |
| 192 | - </div> | |
| 193 | - </div> | |
| 194 | - <!--// Response--> | |
| 195 | - </div> |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab6.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab6.jsp
... | ... | @@ -1,365 +1,433 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
- |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 문자온 사이트 및 API를 통해 전송된 발송내역을 조회할 수 있습니다.</li> |
|
| 5 |
- <li>- 문자 발송내역은 날짜별로 조회되며, 최근 3개월까지만 조회 가능합니다.</li> |
|
| 6 |
- <li>- 발신번호별 문자 발송내역 조회 기능은 제공되지 않습니다.</li> |
|
| 7 |
- </ul> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 8 | 3 |
|
| 9 |
- <div class="re_cont"> |
|
| 10 |
- <!--Request--> |
|
| 11 |
- <div class="req_title">Request</div> |
|
| 12 |
- <div class="box"> |
|
| 13 |
- <div class="text"> |
|
| 14 |
- <h4>Request</h4> |
|
| 15 |
- <table> |
|
| 16 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 17 |
- <colgroup> |
|
| 18 |
- <col style="width:20%;"> |
|
| 19 |
- <col style="width:80%;"> |
|
| 20 |
- </colgroup> |
|
| 21 |
- <tr> |
|
| 22 |
- <th>Http Method</th> |
|
| 23 |
- <td>POST</td> |
|
| 24 |
- </tr> |
|
| 25 |
- <tr> |
|
| 26 |
- <th>프로토콜</th> |
|
| 27 |
- <td>HTTP/1.1</td> |
|
| 28 |
- </tr> |
|
| 29 |
- <tr> |
|
| 30 |
- <th>HOST</th> |
|
| 31 |
- <td>api.munjaon.co.kr</td> |
|
| 32 |
- </tr> |
|
| 33 |
- <tr> |
|
| 34 |
- <th>Service Port</th> |
|
| 35 |
- <td>443</td> |
|
| 36 |
- </tr> |
|
| 37 |
- <tr> |
|
| 38 |
- <th>Endpoint</th> |
|
| 39 |
- <td>/api/inqry/hstry</td> |
|
| 40 |
- </tr> |
|
| 41 |
- </table> |
|
| 42 |
- </div> |
|
| 43 |
- </div> |
|
| 44 |
- <div class="type_table"> |
|
| 45 |
- <table> |
|
| 46 |
- <caption>전송결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 47 |
- <colgroup> |
|
| 48 |
- <col style="width:20%;"> |
|
| 49 |
- <col style="width:45%;"> |
|
| 50 |
- <col style="width:25%"> |
|
| 51 |
- <col style="width:10%"> |
|
| 52 |
- </colgroup> |
|
| 53 |
- <thead> |
|
| 54 |
- <tr> |
|
| 55 |
- <th>키</th> |
|
| 56 |
- <th>설명</th> |
|
| 57 |
- <th>타입</th> |
|
| 58 |
- <th>필수</th> |
|
| 59 |
- </tr> |
|
| 60 |
- </thead> |
|
| 61 |
- <tbody> |
|
| 62 |
- <tr> |
|
| 63 |
- <td><span class="font_b">mberId</span></td> |
|
| 64 |
- <td>사용자 ID</td> |
|
| 65 |
- <td>String</td> |
|
| 66 |
- <td><span class="select_o">O</span></td> |
|
| 67 |
- </tr> |
|
| 68 |
- <tr> |
|
| 69 |
- <td><span class="font_b">accessKey</span></td> |
|
| 70 |
- <td>인증용 API Key</td> |
|
| 71 |
- <td>String</td> |
|
| 72 |
- <td><span class="select_o">O</span></td> |
|
| 73 |
- </tr> |
|
| 74 |
- <tr> |
|
| 75 |
- <td><span class="font_b">page</span></td> |
|
| 76 |
- <td>페이지 번호</td> |
|
| 77 |
- <td>String</td> |
|
| 78 |
- <td><span class="select_x">X</span></td> |
|
| 79 |
- </tr> |
|
| 80 |
- <tr> |
|
| 81 |
- <td><span class="font_b">pageSize</span></td> |
|
| 82 |
- <td>페이지당 출력 개수</td> |
|
| 83 |
- <td>String</td> |
|
| 84 |
- <td><span class="select_x">X</span></td> |
|
| 85 |
- </tr> |
|
| 86 |
- <tr> |
|
| 87 |
- <td><span class="font_b">startDate</span></td> |
|
| 88 |
- <td>시작 일자</td> |
|
| 89 |
- <td>String</td> |
|
| 90 |
- <td><span class="select_x">X</span></td> |
|
| 91 |
- </tr> |
|
| 92 |
- <tr> |
|
| 93 |
- <td><span class="font_b">endDate</span></td> |
|
| 94 |
- <td>마감 일자</td> |
|
| 95 |
- <td>String</td> |
|
| 96 |
- <td><span class="select_x">X</span></td> |
|
| 97 |
- </tr> |
|
| 98 |
- <tr> |
|
| 99 |
- <td><span class="font_b">test_yn</span></td> |
|
| 100 |
- <td>테스트 데이터 여부</td> |
|
| 101 |
- <td>String</td> |
|
| 102 |
- <td><span class="select_x">X</span></td> |
|
| 103 |
- </tr> |
|
| 104 |
- </tbody> |
|
| 105 |
- </table> |
|
| 106 |
- <div class="table_info"> |
|
| 107 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 108 |
- </div> |
|
| 109 |
- </div> |
|
| 110 |
- <div class="box"> |
|
| 111 |
- <div class="title">[Example]</div> |
|
| 112 |
- <div class="code_view"> |
|
| 113 |
- <p>{</p> |
|
| 114 |
- <div class="indent"> |
|
| 115 |
- <p><span>"mberId"</span>:"홍길동"</p> |
|
| 116 |
- <p>,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953"</p> |
|
| 117 |
- <p>,<span>"page"</span>:""</p> |
|
| 118 |
- <p>,<span>"pageSize"</span>:""</p> |
|
| 119 |
- <p>,<span>"startDate"</span>:""</p> |
|
| 120 |
- <p>,<span>"endDate"</span>:""</p> |
|
| 121 |
- <p>,<span>"test_yn"</span>:""</p> |
|
| 122 |
- </div> |
|
| 123 |
- <p class="l_code">}</p> |
|
| 124 |
- </div> |
|
| 125 |
- </div> |
|
| 126 |
- <!--// Request--> |
|
| 127 |
- <!-- Response--> |
|
| 128 |
- <div class="res_title">Response</div> |
|
| 129 |
- <div class="type_table"> |
|
| 130 |
- <table> |
|
| 131 |
- <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 132 |
- <colgroup> |
|
| 133 |
- <col style="width:20%;"> |
|
| 134 |
- <col style="width:60%;"> |
|
| 135 |
- <col style="width:20%;"> |
|
| 136 |
- </colgroup> |
|
| 137 |
- <thead> |
|
| 138 |
- <tr> |
|
| 139 |
- <th>키</th> |
|
| 140 |
- <th>설명</th> |
|
| 141 |
- <th>타입</th> |
|
| 142 |
- </tr> |
|
| 143 |
- </thead> |
|
| 144 |
- <tbody> |
|
| 145 |
- <tr> |
|
| 146 |
- <td><span class="font_b">resultCode</span></td> |
|
| 147 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 148 |
- <td>String</td> |
|
| 149 |
- </tr> |
|
| 150 |
- <tr> |
|
| 151 |
- <td><span class="font_b">data</span></td> |
|
| 152 |
- <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 153 |
- <td>Object</td> |
|
| 154 |
- </tr> |
|
| 155 |
- <tr> |
|
| 156 |
- <td><span class="font_b">[data].message</span></td> |
|
| 157 |
- <td>문자</td> |
|
| 158 |
- <td>String</td> |
|
| 159 |
- </tr> |
|
| 160 |
- <tr> |
|
| 161 |
- <td><span class="font_b">[data].next_yn</span></td> |
|
| 162 |
- <td>다음 페이지 여부</td> |
|
| 163 |
- <td>String</td> |
|
| 164 |
- </tr> |
|
| 165 |
- <tr> |
|
| 166 |
- <td><span class="font_b">[data].objectList</span></td> |
|
| 167 |
- <td>결과값 목록</td> |
|
| 168 |
- <td>Object List</td> |
|
| 169 |
- </tr> |
|
| 170 |
- <tr> |
|
| 171 |
- <td><span class="font_b">[data].msgGroupId</span></td> |
|
| 172 |
- <td>메시지 그룹 ID</td> |
|
| 173 |
- <td>String</td> |
|
| 174 |
- </tr> |
|
| 175 |
- <tr> |
|
| 176 |
- <td><span class="font_b">[data].msgId</span></td> |
|
| 177 |
- <td>메시지 ID</td> |
|
| 178 |
- <td>String</td> |
|
| 179 |
- </tr> |
|
| 180 |
- <tr> |
|
| 181 |
- <td><span class="font_b">[data].msgTypeName</span></td> |
|
| 182 |
- <td>문자 구분명(단문, 장문, 그림)</td> |
|
| 183 |
- <td>String</td> |
|
| 184 |
- </tr> |
|
| 185 |
- <tr> |
|
| 186 |
- <td><span class="font_b">[data].msgType</span></td> |
|
| 187 |
- <td>메시지 타입(4 : 단문, 6 : 장문)</td> |
|
| 188 |
- <td>String</td> |
|
| 189 |
- </tr> |
|
| 190 |
- <tr> |
|
| 191 |
- <td><span class="font_b">[data].callFrom</span></td> |
|
| 192 |
- <td>발신자 번호</td> |
|
| 193 |
- <td>String</td> |
|
| 194 |
- </tr> |
|
| 195 |
- <tr> |
|
| 196 |
- <td><span class="font_b">[data].callTo</span></td> |
|
| 197 |
- <td>수신자 번호</td> |
|
| 198 |
- <td>String</td> |
|
| 199 |
- </tr> |
|
| 200 |
- <tr> |
|
| 201 |
- <td><span class="font_b">[data].msgGroupCnt</span></td> |
|
| 202 |
- <td>문자 발송 건수</td> |
|
| 203 |
- <td>String</td> |
|
| 204 |
- </tr> |
|
| 205 |
- <tr> |
|
| 206 |
- <td><span class="font_b">[data].sCnt</span></td> |
|
| 207 |
- <td>성공 건수</td> |
|
| 208 |
- <td>String</td> |
|
| 209 |
- </tr> |
|
| 210 |
- <tr> |
|
| 211 |
- <td><span class="font_b">[data].fCnt</span></td> |
|
| 212 |
- <td>실패 건수</td> |
|
| 213 |
- <td>String</td> |
|
| 214 |
- </tr> |
|
| 215 |
- <tr> |
|
| 216 |
- <td><span class="font_b">[data].wCnt</span></td> |
|
| 217 |
- <td>대기 건수</td> |
|
| 218 |
- <td>String</td> |
|
| 219 |
- </tr> |
|
| 220 |
- <tr> |
|
| 221 |
- <td><span class="font_b">[data].msgResult</span></td> |
|
| 222 |
- <td>발송 결과(성공 : S, 실패 : F)</td> |
|
| 223 |
- <td>String</td> |
|
| 224 |
- </tr> |
|
| 225 |
- <tr> |
|
| 226 |
- <td><span class="font_b">[data].smsTxt</span></td> |
|
| 227 |
- <td>문자 내용</td> |
|
| 228 |
- <td>String</td> |
|
| 229 |
- </tr> |
|
| 230 |
- <tr> |
|
| 231 |
- <td><span class="font_b">[data].subject</span></td> |
|
| 232 |
- <td>제목</td> |
|
| 233 |
- <td>String</td> |
|
| 234 |
- </tr> |
|
| 235 |
- <tr> |
|
| 236 |
- <td><span class="font_b">[data].reqdate</span></td> |
|
| 237 |
- <td>발송 일자</td> |
|
| 238 |
- <td>String</td> |
|
| 239 |
- </tr> |
|
| 240 |
- <tr> |
|
| 241 |
- <td><span class="font_b">[data].curState</span></td> |
|
| 242 |
- <td>전송 처리 결과값</td> |
|
| 243 |
- <td>String</td> |
|
| 244 |
- </tr> |
|
| 245 |
- <tr> |
|
| 246 |
- <td><span class="font_b">[data].userId</span></td> |
|
| 247 |
- <td>사용자 ID</td> |
|
| 248 |
- <td>String</td> |
|
| 249 |
- </tr> |
|
| 250 |
- <tr> |
|
| 251 |
- <td><span class="font_b">[data].regdate</span></td> |
|
| 252 |
- <td>등록 일자</td> |
|
| 253 |
- <td>String</td> |
|
| 254 |
- </tr> |
|
| 255 |
- <tr> |
|
| 256 |
- <td><span class="font_b">[data].reserveCYn</span></td> |
|
| 257 |
- <td>예약 취소 여부</td> |
|
| 258 |
- <td>String</td> |
|
| 259 |
- </tr> |
|
| 260 |
- <tr> |
|
| 261 |
- <td><span class="font_b">[data].ttlCnt</span></td> |
|
| 262 |
- <td>전체 요청 수</td> |
|
| 263 |
- <td>String</td> |
|
| 264 |
- </tr> |
|
| 265 |
- <tr> |
|
| 266 |
- <td><span class="font_b">[data].remainMsgCnt</span></td> |
|
| 267 |
- <td>남은 문자 건수</td> |
|
| 268 |
- <td>String</td> |
|
| 269 |
- </tr> |
|
| 270 |
- <tr> |
|
| 271 |
- <td><span class="font_b">[data].totMsgCnt</span></td> |
|
| 272 |
- <td>전체 문자 개수</td> |
|
| 273 |
- <td>String</td> |
|
| 274 |
- </tr> |
|
| 275 |
- </tbody> |
|
| 276 |
- </table> |
|
| 277 |
- <div class="table_info"> |
|
| 278 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 279 |
- </div> |
|
| 280 |
- </div> |
|
| 281 |
- <div class="box"> |
|
| 282 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 283 |
- <div class="code_view"> |
|
| 284 |
- <p>{</p> |
|
| 285 |
- <div class="indent"> |
|
| 286 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 287 |
- <p>,<span>"data"</span>:[</p> |
|
| 288 |
- <p>{</p> |
|
| 289 |
- <div class="indent_t1"> |
|
| 290 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 291 |
- <p>,<span>"message"</span>: null</p> |
|
| 292 |
- <p>,<span>"next_yn"</span>:"n"</p> |
|
| 293 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000000000"</p> |
|
| 294 |
- <p>,<span>"objectList"</span>:[</p> |
|
| 295 |
- <p>{</p> |
|
| 296 |
- <div class="indent_t2"> |
|
| 297 |
- <p><span>"msgTypeName"</span>:"단문(SMS)"</p> |
|
| 298 |
- <p>,<span>"msgType"</span>:"4"</p> |
|
| 299 |
- <p>,<span>"callFrom"</span>:"01011112222"</p> |
|
| 300 |
- <p>,<span>"callTo"</span>:"01011112223"</p> |
|
| 301 |
- <p>,<span>"msgGroupCnt"</span>:"2"</p> |
|
| 302 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000013340"</p> |
|
| 303 |
- <p>,<span>"msgId"</span>:"MSGID_0000000000001"</p> |
|
| 304 |
- <p>,<span>"scnt"</span>:"2"</p> |
|
| 305 |
- <p>,<span>"fcnt"</span>:"0"</p> |
|
| 306 |
- <p>,<span>"wcnt"</span>:"0"</p> |
|
| 307 |
- <p>,<span>"msgResult"</span>:"S"</p> |
|
| 308 |
- <p>,<span>"smsTxt"</span>:"문자 내용 단문 예제"</p> |
|
| 309 |
- <p>,<span>"subject"</span>:null</p> |
|
| 310 |
- <p>,<span>"reqdate"</span>:"2023-06-13 17:48:07"</p> |
|
| 311 |
- <p>,<span>"curState"</span>:"3"</p> |
|
| 312 |
- <p>,<span>"userId"</span>:"testuser"</p> |
|
| 313 |
- <p>,<span>"regdate"</span>:"2023-06-13 17:48:07"</p> |
|
| 314 |
- <p>,<span>"reserveCYn"</span>:"N"</p> |
|
| 315 |
- <p>,<span>"ttlCnt"</span>:"1"</p> |
|
| 316 |
- <p>,<span>"remainMsgCnt"</span>:"40"</p> |
|
| 317 |
- <p>,<span>"totMsgCnt"</span>:"70"</p> |
|
| 318 |
- </div> |
|
| 319 |
- <p>}</p> |
|
| 320 |
- <p>,{</p> |
|
| 321 |
- <div class="indent_t2"> |
|
| 322 |
- <p><span>"msgTypeName"</span>:"장문(LMS)"</p> |
|
| 323 |
- <p>,<span>"msgType"</span>:"6"</p> |
|
| 324 |
- <p>,<span>"callFrom"</span>:"01011112222"</p> |
|
| 325 |
- <p>,<span>"callTo"</span>:"01011112223"</p> |
|
| 326 |
- <p>,<span>"msgGroupCnt"</span>:"1"</p> |
|
| 327 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000013341"</p> |
|
| 328 |
- <p>,<span>"msgId"</span>:"MSGID_0000000000002"</p> |
|
| 329 |
- <p>,<span>"scnt"</span>:"1"</p> |
|
| 330 |
- <p>,<span>"fcnt"</span>:"0"</p> |
|
| 331 |
- <p>,<span>"wcnt"</span>:"0"</p> |
|
| 332 |
- <p>,<span>"msgResult"</span>:"S"</p> |
|
| 333 |
- <p>,<span>"smsTxt"</span>:"문자 내용 장문 예제"</p> |
|
| 334 |
- <p>,<span>subject"</span>:null</p> |
|
| 335 |
- <p>,<span>reqdate"</span>:"2023-06-02 11:46:50"</p> |
|
| 336 |
- <p>,<span>"curState"</span>:"3"</p> |
|
| 337 |
- <p>,<span>"userId"</span>:"testuser"</p> |
|
| 338 |
- <p>,<span>"regdate"</span>:"2023-06-02 11:46:49"</p> |
|
| 339 |
- <p>,<span>"reserveCYn"</span>:"N"</p> |
|
| 340 |
- <p>,<span>"ttlCnt"</span>:"1"</p> |
|
| 341 |
- <p>,<span>"remainMsgCnt"</span>:"40"</p> |
|
| 342 |
- <p>,<span>"totMsgCnt"</span>:"70"</p> |
|
| 343 |
- <p>}</p> |
|
| 344 |
- </div> |
|
| 345 |
- <p>]</p> |
|
| 346 |
- </div> |
|
| 347 |
- <p class="l_code_t2">}</p> |
|
| 348 |
- <p>]</p> |
|
| 349 |
- </div> |
|
| 350 |
- <p class="l_code">}</p> |
|
| 351 |
- </div> |
|
| 352 |
- </div> |
|
| 353 |
- <div class="box"> |
|
| 354 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 355 |
- <div class="code_view"> |
|
| 356 |
- <p>{</p> |
|
| 357 |
- <div class="indent"> |
|
| 358 |
- <p><span>"resultCode"</span>:"3099"</p> |
|
| 359 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 360 |
- </div> |
|
| 361 |
- <p class="l_code">}</p> |
|
| 362 |
- </div> |
|
| 363 |
- </div> |
|
| 364 |
- <!--// Response--> |
|
| 365 |
- </div> |
|
| 4 |
+<ul class="info"> |
|
| 5 |
+ <li>- 문자온 사이트 및 API를 통해 전송된 발송내역을 조회할 수 있습니다.</li> |
|
| 6 |
+ <li>- 문자 발송내역은 날짜별로 조회되며, 최근 3개월까지만 조회 가능합니다.</li> |
|
| 7 |
+ <li>- 발신번호별 문자 발송내역 조회 기능은 제공되지 않습니다.</li> |
|
| 8 |
+</ul> |
|
| 9 |
+ |
|
| 10 |
+<div class="re_cont"> |
|
| 11 |
+ <!--Request--> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 18 |
+ <colgroup> |
|
| 19 |
+ <col style="width:20%;"> |
|
| 20 |
+ <col style="width:80%;"> |
|
| 21 |
+ </colgroup> |
|
| 22 |
+ <tr> |
|
| 23 |
+ <th>Http Method</th> |
|
| 24 |
+ <td>POST</td> |
|
| 25 |
+ </tr> |
|
| 26 |
+ <tr> |
|
| 27 |
+ <th>프로토콜</th> |
|
| 28 |
+ <td>HTTPS/1.1</td> |
|
| 29 |
+ </tr> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <th>HOST</th> |
|
| 32 |
+ <td>api.munjaon.co.kr</td> |
|
| 33 |
+ </tr> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th>Service Port</th> |
|
| 36 |
+ <td>443</td> |
|
| 37 |
+ </tr> |
|
| 38 |
+ <tr> |
|
| 39 |
+ <th>Endpoint</th> |
|
| 40 |
+ <td>/api/inqry/hstry</td> |
|
| 41 |
+ </tr> |
|
| 42 |
+ </table> |
|
| 43 |
+ </div> |
|
| 44 |
+ </div> |
|
| 45 |
+ |
|
| 46 |
+ <div class="type_table"> |
|
| 47 |
+ <table> |
|
| 48 |
+ <caption>전송결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 49 |
+ <colgroup> |
|
| 50 |
+ <col style="width:20%;"> |
|
| 51 |
+ <col style="width:45%;"> |
|
| 52 |
+ <col style="width:25%"> |
|
| 53 |
+ <col style="width:10%"> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <thead> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>키</th> |
|
| 58 |
+ <th>설명</th> |
|
| 59 |
+ <th>타입</th> |
|
| 60 |
+ <th>필수</th> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </thead> |
|
| 63 |
+ <tbody> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td><span class="font_b">mberId</span></td> |
|
| 66 |
+ <td>사용자 ID</td> |
|
| 67 |
+ <td>String</td> |
|
| 68 |
+ <td><span class="select_o">O</span></td> |
|
| 69 |
+ </tr> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 72 |
+ <td>인증용 API Key</td> |
|
| 73 |
+ <td>String</td> |
|
| 74 |
+ <td><span class="select_o">O</span></td> |
|
| 75 |
+ </tr> |
|
| 76 |
+ <tr> |
|
| 77 |
+ <td><span class="font_b">page</span></td> |
|
| 78 |
+ <td>페이지 번호(미입력 시 1)</td> |
|
| 79 |
+ <td>String</td> |
|
| 80 |
+ <td><span class="select_x">X</span></td> |
|
| 81 |
+ </tr> |
|
| 82 |
+ <tr> |
|
| 83 |
+ <td><span class="font_b">pageSize</span></td> |
|
| 84 |
+ <td>페이지당 출력 개수(미입력 시 기본값 적용)</td> |
|
| 85 |
+ <td>String</td> |
|
| 86 |
+ <td><span class="select_x">X</span></td> |
|
| 87 |
+ </tr> |
|
| 88 |
+ <tr> |
|
| 89 |
+ <td><span class="font_b">startDate</span></td> |
|
| 90 |
+ <td>시작 일자(yyyyMMdd)</td> |
|
| 91 |
+ <td>String</td> |
|
| 92 |
+ <td><span class="select_x">X</span></td> |
|
| 93 |
+ </tr> |
|
| 94 |
+ <tr> |
|
| 95 |
+ <td><span class="font_b">endDate</span></td> |
|
| 96 |
+ <td>마감 일자(yyyyMMdd)</td> |
|
| 97 |
+ <td>String</td> |
|
| 98 |
+ <td><span class="select_x">X</span></td> |
|
| 99 |
+ </tr> |
|
| 100 |
+ <tr> |
|
| 101 |
+ <td><span class="font_b">test_yn</span></td> |
|
| 102 |
+ <td>테스트 데이터 여부</td> |
|
| 103 |
+ <td>String</td> |
|
| 104 |
+ <td><span class="select_x">X</span></td> |
|
| 105 |
+ </tr> |
|
| 106 |
+ </tbody> |
|
| 107 |
+ </table> |
|
| 108 |
+ <div class="table_info"> |
|
| 109 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 110 |
+ <p>※ Content-Type: application/json</p> |
|
| 111 |
+ </div> |
|
| 112 |
+ </div> |
|
| 113 |
+ |
|
| 114 |
+ <div class="box"> |
|
| 115 |
+ <div class="title">[Example]</div> |
|
| 116 |
+ <div class="code_view"> |
|
| 117 |
+ <pre> |
|
| 118 |
+ <code class="language-json"> |
|
| 119 |
+{
|
|
| 120 |
+ |
|
| 121 |
+ "mberId": "홍길동", |
|
| 122 |
+ |
|
| 123 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 124 |
+ |
|
| 125 |
+ "page": "", |
|
| 126 |
+ |
|
| 127 |
+ "pageSize": "", |
|
| 128 |
+ |
|
| 129 |
+ "startDate": "", |
|
| 130 |
+ |
|
| 131 |
+ "endDate": "", |
|
| 132 |
+ |
|
| 133 |
+ "test_yn": "" |
|
| 134 |
+} |
|
| 135 |
+ </code> |
|
| 136 |
+ </pre> |
|
| 137 |
+ </div> |
|
| 138 |
+ </div> |
|
| 139 |
+ <!--// Request--> |
|
| 140 |
+ |
|
| 141 |
+ <!-- Response--> |
|
| 142 |
+ <div class="res_title">Response</div> |
|
| 143 |
+ <div class="type_table"> |
|
| 144 |
+ <table> |
|
| 145 |
+ <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 146 |
+ <colgroup> |
|
| 147 |
+ <col style="width:20%;"> |
|
| 148 |
+ <col style="width:60%;"> |
|
| 149 |
+ <col style="width:20%;"> |
|
| 150 |
+ </colgroup> |
|
| 151 |
+ <thead> |
|
| 152 |
+ <tr> |
|
| 153 |
+ <th>키</th> |
|
| 154 |
+ <th>설명</th> |
|
| 155 |
+ <th>타입</th> |
|
| 156 |
+ </tr> |
|
| 157 |
+ </thead> |
|
| 158 |
+ <tbody> |
|
| 159 |
+ <tr> |
|
| 160 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 161 |
+ <td>성공 여부("0" 아니면 실패)</td>
|
|
| 162 |
+ <td>String</td> |
|
| 163 |
+ </tr> |
|
| 164 |
+ <tr> |
|
| 165 |
+ <td><span class="font_b">data</span></td> |
|
| 166 |
+ <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 167 |
+ <td>Object | String</td> |
|
| 168 |
+ </tr> |
|
| 169 |
+ <tr> |
|
| 170 |
+ <td><span class="font_b">[data].message</span></td> |
|
| 171 |
+ <td>메시지(필요 시)</td> |
|
| 172 |
+ <td>String</td> |
|
| 173 |
+ </tr> |
|
| 174 |
+ <tr> |
|
| 175 |
+ <td><span class="font_b">[data].next_yn</span></td> |
|
| 176 |
+ <td>다음 페이지 여부(Y/N)</td> |
|
| 177 |
+ <td>String</td> |
|
| 178 |
+ </tr> |
|
| 179 |
+ <tr> |
|
| 180 |
+ <td><span class="font_b">[data].objectList</span></td> |
|
| 181 |
+ <td>결과값 목록</td> |
|
| 182 |
+ <td>Array<Object></td> |
|
| 183 |
+ </tr> |
|
| 184 |
+ <tr> |
|
| 185 |
+ <td><span class="font_b">[data].objectList[i].msgGroupId</span></td> |
|
| 186 |
+ <td>메시지 그룹 ID</td> |
|
| 187 |
+ <td>String</td> |
|
| 188 |
+ </tr> |
|
| 189 |
+ <tr> |
|
| 190 |
+ <td><span class="font_b">[data].objectList[i].msgId</span></td> |
|
| 191 |
+ <td>메시지 ID</td> |
|
| 192 |
+ <td>String</td> |
|
| 193 |
+ </tr> |
|
| 194 |
+ <tr> |
|
| 195 |
+ <td><span class="font_b">[data].objectList[i].msgTypeName</span></td> |
|
| 196 |
+ <td>문자 구분명(단문, 장문, 그림)</td> |
|
| 197 |
+ <td>String</td> |
|
| 198 |
+ </tr> |
|
| 199 |
+ <tr> |
|
| 200 |
+ <td><span class="font_b">[data].objectList[i].msgType</span></td> |
|
| 201 |
+ <td>메시지 타입(4: 단문, 5: 장문, 6: 그림)</td> |
|
| 202 |
+ <td>String | Number</td> |
|
| 203 |
+ </tr> |
|
| 204 |
+ <tr> |
|
| 205 |
+ <td><span class="font_b">[data].objectList[i].callFrom</span></td> |
|
| 206 |
+ <td>발신자 번호</td> |
|
| 207 |
+ <td>String</td> |
|
| 208 |
+ </tr> |
|
| 209 |
+ <tr> |
|
| 210 |
+ <td><span class="font_b">[data].objectList[i].callTo</span></td> |
|
| 211 |
+ <td>수신자 번호</td> |
|
| 212 |
+ <td>String</td> |
|
| 213 |
+ </tr> |
|
| 214 |
+ <tr> |
|
| 215 |
+ <td><span class="font_b">[data].objectList[i].msgGroupCnt</span></td> |
|
| 216 |
+ <td>발송 건수</td> |
|
| 217 |
+ <td>String | Number</td> |
|
| 218 |
+ </tr> |
|
| 219 |
+ <tr> |
|
| 220 |
+ <td><span class="font_b">[data].objectList[i].scnt</span></td> |
|
| 221 |
+ <td>성공 건수</td> |
|
| 222 |
+ <td>String | Number</td> |
|
| 223 |
+ </tr> |
|
| 224 |
+ <tr> |
|
| 225 |
+ <td><span class="font_b">[data].objectList[i].fcnt</span></td> |
|
| 226 |
+ <td>실패 건수</td> |
|
| 227 |
+ <td>String | Number</td> |
|
| 228 |
+ </tr> |
|
| 229 |
+ <tr> |
|
| 230 |
+ <td><span class="font_b">[data].objectList[i].wcnt</span></td> |
|
| 231 |
+ <td>대기 건수</td> |
|
| 232 |
+ <td>String | Number</td> |
|
| 233 |
+ </tr> |
|
| 234 |
+ <tr> |
|
| 235 |
+ <td><span class="font_b">[data].objectList[i].msgResult</span></td> |
|
| 236 |
+ <td>발송 결과(성공: S, 실패: F)</td> |
|
| 237 |
+ <td>String</td> |
|
| 238 |
+ </tr> |
|
| 239 |
+ <tr> |
|
| 240 |
+ <td><span class="font_b">[data].objectList[i].smsTxt</span></td> |
|
| 241 |
+ <td>문자 내용</td> |
|
| 242 |
+ <td>String</td> |
|
| 243 |
+ </tr> |
|
| 244 |
+ <tr> |
|
| 245 |
+ <td><span class="font_b">[data].objectList[i].subject</span></td> |
|
| 246 |
+ <td>제목</td> |
|
| 247 |
+ <td>String | null</td> |
|
| 248 |
+ </tr> |
|
| 249 |
+ <tr> |
|
| 250 |
+ <td><span class="font_b">[data].objectList[i].reqdate</span></td> |
|
| 251 |
+ <td>발송 일자(YYYY-MM-DD HH:mm:ss)</td> |
|
| 252 |
+ <td>String</td> |
|
| 253 |
+ </tr> |
|
| 254 |
+ <tr> |
|
| 255 |
+ <td><span class="font_b">[data].objectList[i].curState</span></td> |
|
| 256 |
+ <td>전송 처리 결과값</td> |
|
| 257 |
+ <td>String | Number</td> |
|
| 258 |
+ </tr> |
|
| 259 |
+ <tr> |
|
| 260 |
+ <td><span class="font_b">[data].objectList[i].userId</span></td> |
|
| 261 |
+ <td>사용자 ID</td> |
|
| 262 |
+ <td>String</td> |
|
| 263 |
+ </tr> |
|
| 264 |
+ <tr> |
|
| 265 |
+ <td><span class="font_b">[data].objectList[i].regdate</span></td> |
|
| 266 |
+ <td>등록 일자(YYYY-MM-DD HH:mm:ss)</td> |
|
| 267 |
+ <td>String</td> |
|
| 268 |
+ </tr> |
|
| 269 |
+ <tr> |
|
| 270 |
+ <td><span class="font_b">[data].objectList[i].reserveCYn</span></td> |
|
| 271 |
+ <td>예약 취소 여부(Y/N)</td> |
|
| 272 |
+ <td>String</td> |
|
| 273 |
+ </tr> |
|
| 274 |
+ <tr> |
|
| 275 |
+ <td><span class="font_b">[data].ttlCnt</span></td> |
|
| 276 |
+ <td>전체 요청 수</td> |
|
| 277 |
+ <td>String | Number</td> |
|
| 278 |
+ </tr> |
|
| 279 |
+ <tr> |
|
| 280 |
+ <td><span class="font_b">[data].remainMsgCnt</span></td> |
|
| 281 |
+ <td>남은 문자 건수</td> |
|
| 282 |
+ <td>String | Number</td> |
|
| 283 |
+ </tr> |
|
| 284 |
+ <tr> |
|
| 285 |
+ <td><span class="font_b">[data].totMsgCnt</span></td> |
|
| 286 |
+ <td>전체 문자 개수</td> |
|
| 287 |
+ <td>String | Number</td> |
|
| 288 |
+ </tr> |
|
| 289 |
+ </tbody> |
|
| 290 |
+ </table> |
|
| 291 |
+ <div class="table_info"> |
|
| 292 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 293 |
+ </div> |
|
| 294 |
+ </div> |
|
| 295 |
+ |
|
| 296 |
+ <div class="box"> |
|
| 297 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 298 |
+ <div class="code_view"> |
|
| 299 |
+ <pre> |
|
| 300 |
+ <code class="language-json"> |
|
| 301 |
+{
|
|
| 302 |
+ "resultCode": "0", |
|
| 303 |
+ |
|
| 304 |
+ "data": {
|
|
| 305 |
+ |
|
| 306 |
+ "resultCode": "0", |
|
| 307 |
+ |
|
| 308 |
+ "message": null, |
|
| 309 |
+ |
|
| 310 |
+ "next_yn": "n", |
|
| 311 |
+ |
|
| 312 |
+ "msgGroupId": "MSGGID_0000000000000", |
|
| 313 |
+ |
|
| 314 |
+ "objectList": [ |
|
| 315 |
+ |
|
| 316 |
+ {
|
|
| 317 |
+ |
|
| 318 |
+ "msgTypeName": "단문(SMS)", |
|
| 319 |
+ |
|
| 320 |
+ "msgType": "4", |
|
| 321 |
+ |
|
| 322 |
+ "callFrom": "01011112222", |
|
| 323 |
+ |
|
| 324 |
+ "callTo": "01011112223", |
|
| 325 |
+ |
|
| 326 |
+ "msgGroupCnt": "2", |
|
| 327 |
+ |
|
| 328 |
+ "msgGroupId": "MSGGID_0000000013340", |
|
| 329 |
+ |
|
| 330 |
+ "msgId": "MSGID_0000000000001", |
|
| 331 |
+ |
|
| 332 |
+ "scnt": "2", |
|
| 333 |
+ |
|
| 334 |
+ "fcnt": "0", |
|
| 335 |
+ |
|
| 336 |
+ "wcnt": "0", |
|
| 337 |
+ |
|
| 338 |
+ "msgResult": "S", |
|
| 339 |
+ |
|
| 340 |
+ "smsTxt": "문자 내용 단문 예제", |
|
| 341 |
+ |
|
| 342 |
+ "subject": null, |
|
| 343 |
+ |
|
| 344 |
+ "reqdate": "2023-06-13 17:48:07", |
|
| 345 |
+ |
|
| 346 |
+ "curState": "3", |
|
| 347 |
+ |
|
| 348 |
+ "userId": "testuser", |
|
| 349 |
+ |
|
| 350 |
+ "regdate": "2023-06-13 17:48:07", |
|
| 351 |
+ |
|
| 352 |
+ "reserveCYn": "N", |
|
| 353 |
+ |
|
| 354 |
+ "ttlCnt": "1", |
|
| 355 |
+ |
|
| 356 |
+ "remainMsgCnt": "40", |
|
| 357 |
+ |
|
| 358 |
+ "totMsgCnt": "70" |
|
| 359 |
+ |
|
| 360 |
+ }, |
|
| 361 |
+ |
|
| 362 |
+ {
|
|
| 363 |
+ |
|
| 364 |
+ "msgTypeName": "장문(LMS)", |
|
| 365 |
+ |
|
| 366 |
+ "msgType": "5", |
|
| 367 |
+ |
|
| 368 |
+ "callFrom": "01011112222", |
|
| 369 |
+ |
|
| 370 |
+ "callTo": "01011112223", |
|
| 371 |
+ |
|
| 372 |
+ "msgGroupCnt": "1", |
|
| 373 |
+ |
|
| 374 |
+ "msgGroupId": "MSGGID_0000000013341", |
|
| 375 |
+ |
|
| 376 |
+ "msgId": "MSGID_0000000000002", |
|
| 377 |
+ |
|
| 378 |
+ "scnt": "1", |
|
| 379 |
+ |
|
| 380 |
+ "fcnt": "0", |
|
| 381 |
+ |
|
| 382 |
+ "wcnt": "0", |
|
| 383 |
+ |
|
| 384 |
+ "msgResult": "S", |
|
| 385 |
+ |
|
| 386 |
+ "smsTxt": "문자 내용 장문 예제", |
|
| 387 |
+ |
|
| 388 |
+ "subject": null, |
|
| 389 |
+ |
|
| 390 |
+ "reqdate": "2023-06-02 11:46:50", |
|
| 391 |
+ |
|
| 392 |
+ "curState": "3", |
|
| 393 |
+ |
|
| 394 |
+ "userId": "testuser", |
|
| 395 |
+ |
|
| 396 |
+ "regdate": "2023-06-02 11:46:49", |
|
| 397 |
+ |
|
| 398 |
+ "reserveCYn": "N", |
|
| 399 |
+ |
|
| 400 |
+ "ttlCnt": "1", |
|
| 401 |
+ |
|
| 402 |
+ "remainMsgCnt": "40", |
|
| 403 |
+ |
|
| 404 |
+ "totMsgCnt": "70" |
|
| 405 |
+ |
|
| 406 |
+ } |
|
| 407 |
+ |
|
| 408 |
+ ] |
|
| 409 |
+ |
|
| 410 |
+ } |
|
| 411 |
+} |
|
| 412 |
+ </code> |
|
| 413 |
+ </pre> |
|
| 414 |
+ </div> |
|
| 415 |
+ </div> |
|
| 416 |
+ |
|
| 417 |
+ <div class="box"> |
|
| 418 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 419 |
+ <div class="code_view"> |
|
| 420 |
+ <pre> |
|
| 421 |
+ <code class="language-json"> |
|
| 422 |
+{
|
|
| 423 |
+ |
|
| 424 |
+ "resultCode": "3099", |
|
| 425 |
+ |
|
| 426 |
+ "data": "기타 시스템 오류" |
|
| 427 |
+} |
|
| 428 |
+ </code> |
|
| 429 |
+ </pre> |
|
| 430 |
+ </div> |
|
| 431 |
+ </div> |
|
| 432 |
+ <!--// Response--> |
|
| 433 |
+</div> |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab7.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab7.jsp
... | ... | @@ -1,195 +1,342 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
- |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> |
|
| 5 |
- <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> |
|
| 6 |
- </ul> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 7 | 3 |
|
| 8 |
- <div class="re_cont"> |
|
| 9 |
- <!--Request--> |
|
| 10 |
- <div class="req_title">Request</div> |
|
| 11 |
- <div class="box"> |
|
| 12 |
- <div class="text"> |
|
| 13 |
- <h4>Request</h4> |
|
| 14 |
- <table> |
|
| 15 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 16 |
- <colgroup> |
|
| 17 |
- <col style="width:20%;"> |
|
| 18 |
- <col style="width:80%;"> |
|
| 19 |
- </colgroup> |
|
| 20 |
- <tr> |
|
| 21 |
- <th>Http Method</th> |
|
| 22 |
- <td>POST</td> |
|
| 23 |
- </tr> |
|
| 24 |
- <tr> |
|
| 25 |
- <th>프로토콜</th> |
|
| 26 |
- <td>HTTP/1.1</td> |
|
| 27 |
- </tr> |
|
| 28 |
- <tr> |
|
| 29 |
- <th>HOST</th> |
|
| 30 |
- <td>api.munjaon.co.kr</td> |
|
| 31 |
- </tr> |
|
| 32 |
- <tr> |
|
| 33 |
- <th>Service Port</th> |
|
| 34 |
- <td>443</td> |
|
| 35 |
- </tr> |
|
| 36 |
- </table> |
|
| 37 |
- </div> |
|
| 38 |
- </div> |
|
| 39 |
- <div class="type_table"> |
|
| 40 |
- <table> |
|
| 41 |
- <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 42 |
- <colgroup> |
|
| 43 |
- <col style="width:20%;"> |
|
| 44 |
- <col style="width:45%;"> |
|
| 45 |
- <col style="width:25%"> |
|
| 46 |
- <col style="width:10%"> |
|
| 47 |
- </colgroup> |
|
| 48 |
- <thead> |
|
| 49 |
- <tr> |
|
| 50 |
- <th>키</th> |
|
| 51 |
- <th>설명</th> |
|
| 52 |
- <th>타입</th> |
|
| 53 |
- <th>필수</th> |
|
| 54 |
- </tr> |
|
| 55 |
- </thead> |
|
| 56 |
- <tbody> |
|
| 57 |
- <tr> |
|
| 58 |
- <td><span class="font_b">mberId</span></td> |
|
| 59 |
- <td>사용자 ID</td> |
|
| 60 |
- <td>String</td> |
|
| 61 |
- <td><span class="select_o">O</span></td> |
|
| 62 |
- </tr> |
|
| 63 |
- <tr> |
|
| 64 |
- <td><span class="font_b">accessKey</span></td> |
|
| 65 |
- <td>인증용 API Key</td> |
|
| 66 |
- <td>String</td> |
|
| 67 |
- <td><span class="select_o">O</span></td> |
|
| 68 |
- </tr> |
|
| 69 |
- </tbody> |
|
| 70 |
- </table> |
|
| 71 |
- <div class="table_info"> |
|
| 72 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 73 |
- </div> |
|
| 74 |
- </div> |
|
| 75 |
- <div class="box"> |
|
| 76 |
- <div class="title">[Example]</div> |
|
| 77 |
- <div class="code_view"> |
|
| 78 |
- <p>{</p> |
|
| 79 |
- <div class="indent"> |
|
| 80 |
- <p><span>"mberId"</span>:"String"</p> |
|
| 81 |
- <p>,<span>"accessKey"</span>:"String"</p> |
|
| 82 |
- </div> |
|
| 83 |
- <p class="l_code">}</p> |
|
| 84 |
- </div> |
|
| 85 |
- </div> |
|
| 86 |
- <!--// Request--> |
|
| 87 |
- <!-- Response--> |
|
| 88 |
- <div class="res_title">Response</div> |
|
| 89 |
- <div class="type_table"> |
|
| 90 |
- <table> |
|
| 91 |
- <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 92 |
- <colgroup> |
|
| 93 |
- <col style="width:20%;"> |
|
| 94 |
- <col style="width:60%;"> |
|
| 95 |
- <col style="width:20%;"> |
|
| 96 |
- </colgroup> |
|
| 97 |
- <thead> |
|
| 98 |
- <tr> |
|
| 99 |
- <th>키</th> |
|
| 100 |
- <th>설명</th> |
|
| 101 |
- <th>타입</th> |
|
| 102 |
- </tr> |
|
| 103 |
- </thead> |
|
| 104 |
- <tbody> |
|
| 105 |
- <tr> |
|
| 106 |
- <td><span class="font_b">resultCode</span></td> |
|
| 107 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 108 |
- <td>String</td> |
|
| 109 |
- </tr> |
|
| 110 |
- <tr> |
|
| 111 |
- <td><span class="font_b">data</span></td> |
|
| 112 |
- <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 113 |
- <td>Object</td> |
|
| 114 |
- </tr> |
|
| 115 |
- <tr> |
|
| 116 |
- <td><span class="font_b">[data].longPrice</span></td> |
|
| 117 |
- <td>장문 단가</td> |
|
| 118 |
- <td>String</td> |
|
| 119 |
- </tr> |
|
| 120 |
- <tr> |
|
| 121 |
- <td><span class="font_b">[data].longSendPsbltEa</span></td> |
|
| 122 |
- <td>장문 발송 가능 건수</td> |
|
| 123 |
- <td>String</td> |
|
| 124 |
- </tr> |
|
| 125 |
- <tr> |
|
| 126 |
- <td><span class="font_b">[data].mberMoney</span></td> |
|
| 127 |
- <td>현재 보유 금액</td> |
|
| 128 |
- <td>String</td> |
|
| 129 |
- </tr> |
|
| 130 |
- <tr> |
|
| 131 |
- <td><span class="font_b">[data].message</span></td> |
|
| 132 |
- <td>문자</td> |
|
| 133 |
- <td>String</td> |
|
| 134 |
- </tr> |
|
| 135 |
- <tr> |
|
| 136 |
- <td><span class="font_b">[data].picturePrice</span></td> |
|
| 137 |
- <td>그림문자 단가</td> |
|
| 138 |
- <td>String</td> |
|
| 139 |
- </tr> |
|
| 140 |
- <tr> |
|
| 141 |
- <td><span class="font_b">[data].pictureSendPsbltEa</span></td> |
|
| 142 |
- <td>그림문자 발송 가능 건수</td> |
|
| 143 |
- <td>String</td> |
|
| 144 |
- </tr> |
|
| 145 |
- <tr> |
|
| 146 |
- <td><span class="font_b">[data].shortPrice</span></td> |
|
| 147 |
- <td>단문 단가</td> |
|
| 148 |
- <td>String</td> |
|
| 149 |
- </tr> |
|
| 150 |
- <tr> |
|
| 151 |
- <td><span class="font_b">[data].shortSendPsbltEa</span></td> |
|
| 152 |
- <td>단문 발송 가능 건수</td> |
|
| 153 |
- <td>String</td> |
|
| 154 |
- </tr> |
|
| 155 |
- </tbody> |
|
| 156 |
- </table> |
|
| 157 |
- <div class="table_info"> |
|
| 158 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 159 |
- </div> |
|
| 160 |
- </div> |
|
| 161 |
- <div class="box"> |
|
| 162 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 163 |
- <div class="code_view"> |
|
| 164 |
- <p>{</p> |
|
| 165 |
- <div class="indent"> |
|
| 166 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 167 |
- <p>,<span>"data"</span>{</p> |
|
| 168 |
- <div class="indent_t1"> |
|
| 169 |
- <p><span>"longPrice"</span>:"50"</p> |
|
| 170 |
- <p>,<span>"longSendPsbltEa"</span>:"19651"</p> |
|
| 171 |
- <p>,<span>"mberMoney"</span>:"982586.7"</p> |
|
| 172 |
- <p>,<span>"message"</span>:null</p> |
|
| 173 |
- <p>,<span>"picturePrice"</span>:"90"</p> |
|
| 174 |
- <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> |
|
| 175 |
- <p>,<span>"shortPrice"</span>:"18"</p> |
|
| 176 |
- <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> |
|
| 177 |
- </div> |
|
| 178 |
- <p>}</p> |
|
| 179 |
- </div> |
|
| 180 |
- <p class="l_code">}</p> |
|
| 181 |
- </div> |
|
| 182 |
- </div> |
|
| 183 |
- <div class="box"> |
|
| 184 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 185 |
- <div class="code_view"> |
|
| 186 |
- <p>{</p> |
|
| 187 |
- <div class="indent"> |
|
| 188 |
- <p><span>"resultCode"</span>:"5099"</p> |
|
| 189 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 190 |
- </div> |
|
| 191 |
- <p class="l_code">}</p> |
|
| 192 |
- </div> |
|
| 193 |
- </div> |
|
| 194 |
- <!--// Response--> |
|
| 195 |
- </div> |
|
| 4 |
+ |
|
| 5 |
+<ul class="info"> |
|
| 6 |
+ <li>- API를 통해서 메시지 그룹 ID 기준의 상세 이력(개별 건) 목록을 조회할 수 있습니다.</li> |
|
| 7 |
+</ul> |
|
| 8 |
+<div class="re_cont"> |
|
| 9 |
+ <!-- Request --> |
|
| 10 |
+ <div class="req_title">Request</div> |
|
| 11 |
+ <div class="box"> |
|
| 12 |
+ <div class="text"> |
|
| 13 |
+ <h4>Request</h4> |
|
| 14 |
+ <table> |
|
| 15 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port, Endpoint 정보 테이블</caption> |
|
| 16 |
+ <colgroup> |
|
| 17 |
+ <col style="width:20%;"> |
|
| 18 |
+ <col style="width:80%;"> |
|
| 19 |
+ </colgroup> |
|
| 20 |
+ <tr> |
|
| 21 |
+ <th>Http Method</th> |
|
| 22 |
+ <td>POST</td> |
|
| 23 |
+ </tr> |
|
| 24 |
+ <tr> |
|
| 25 |
+ <th>프로토콜</th> |
|
| 26 |
+ <td>HTTPS/1.1</td> |
|
| 27 |
+ </tr> |
|
| 28 |
+ <tr> |
|
| 29 |
+ <th>HOST</th> |
|
| 30 |
+ <td>api.munjaon.co.kr</td> |
|
| 31 |
+ </tr> |
|
| 32 |
+ <tr> |
|
| 33 |
+ <th>Service Port</th> |
|
| 34 |
+ <td>443</td> |
|
| 35 |
+ </tr> |
|
| 36 |
+ <tr> |
|
| 37 |
+ <th>Endpoint</th> |
|
| 38 |
+ <td>/api/inqry/hstryDetail</td> |
|
| 39 |
+ </tr> |
|
| 40 |
+ </table> |
|
| 41 |
+ </div> |
|
| 42 |
+ </div> |
|
| 43 |
+ |
|
| 44 |
+ <div class="type_table"> |
|
| 45 |
+ <table> |
|
| 46 |
+ <caption>히스토리 상세 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 47 |
+ <colgroup> |
|
| 48 |
+ <col style="width:20%;"> |
|
| 49 |
+ <col style="width:45%;"> |
|
| 50 |
+ <col style="width:25%"> |
|
| 51 |
+ <col style="width:10%"> |
|
| 52 |
+ </colgroup> |
|
| 53 |
+ <thead> |
|
| 54 |
+ <tr> |
|
| 55 |
+ <th>키</th> |
|
| 56 |
+ <th>설명</th> |
|
| 57 |
+ <th>타입</th> |
|
| 58 |
+ <th>필수</th> |
|
| 59 |
+ </tr> |
|
| 60 |
+ </thead> |
|
| 61 |
+ <tbody> |
|
| 62 |
+ <tr> |
|
| 63 |
+ <td><span class="font_b">mberId</span></td> |
|
| 64 |
+ <td>사용자 ID</td> |
|
| 65 |
+ <td>String</td> |
|
| 66 |
+ <td><span class="select_o">O</span></td> |
|
| 67 |
+ </tr> |
|
| 68 |
+ <tr> |
|
| 69 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 70 |
+ <td>인증용 API Key</td> |
|
| 71 |
+ <td>String</td> |
|
| 72 |
+ <td><span class="select_o">O</span></td> |
|
| 73 |
+ </tr> |
|
| 74 |
+ <tr> |
|
| 75 |
+ <td><span class="font_b">msgGroupId</span></td> |
|
| 76 |
+ <td>메시지 그룹 ID</td> |
|
| 77 |
+ <td>String</td> |
|
| 78 |
+ <td><span class="select_o">O</span></td> |
|
| 79 |
+ </tr> |
|
| 80 |
+ </tbody> |
|
| 81 |
+ </table> |
|
| 82 |
+ <div class="table_info"> |
|
| 83 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 84 |
+ <p>※ Content-Type: application/json</p> |
|
| 85 |
+ </div> |
|
| 86 |
+ </div> |
|
| 87 |
+ |
|
| 88 |
+ <div class="box"> |
|
| 89 |
+ <div class="title">[Example]</div> |
|
| 90 |
+ <div class="code_view"> |
|
| 91 |
+ <pre> |
|
| 92 |
+ <code class="language-json"> |
|
| 93 |
+{
|
|
| 94 |
+ |
|
| 95 |
+ "mberId": "홍길동", |
|
| 96 |
+ |
|
| 97 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 98 |
+ |
|
| 99 |
+ "msgGroupId": "MSGGID_XXXXXXX0000063" |
|
| 100 |
+} |
|
| 101 |
+ </code> |
|
| 102 |
+ </pre> |
|
| 103 |
+ </div> |
|
| 104 |
+ </div> |
|
| 105 |
+ <!-- // Request --> |
|
| 106 |
+ |
|
| 107 |
+ <!-- Response --> |
|
| 108 |
+ <div class="res_title">Response</div> |
|
| 109 |
+ <div class="type_table"> |
|
| 110 |
+ <table> |
|
| 111 |
+ <caption>히스토리 상세 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 112 |
+ <colgroup> |
|
| 113 |
+ <col style="width:20%;"> |
|
| 114 |
+ <col style="width:60%;"> |
|
| 115 |
+ <col style="width:20%;"> |
|
| 116 |
+ </colgroup> |
|
| 117 |
+ <thead> |
|
| 118 |
+ <tr> |
|
| 119 |
+ <th>키</th> |
|
| 120 |
+ <th>설명</th> |
|
| 121 |
+ <th>타입</th> |
|
| 122 |
+ </tr> |
|
| 123 |
+ </thead> |
|
| 124 |
+ <tbody> |
|
| 125 |
+ <tr> |
|
| 126 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 127 |
+ <td>성공 여부("0" 이외는 실패)</td>
|
|
| 128 |
+ <td>String</td> |
|
| 129 |
+ </tr> |
|
| 130 |
+ <tr> |
|
| 131 |
+ <td><span class="font_b">data</span></td> |
|
| 132 |
+ <td>조회 결과 객체</td> |
|
| 133 |
+ <td>Object</td> |
|
| 134 |
+ </tr> |
|
| 135 |
+ <tr> |
|
| 136 |
+ <td><span class="font_b">[data].resultCode</span></td> |
|
| 137 |
+ <td>내부 처리 결과(0: 성공)</td> |
|
| 138 |
+ <td>Number | String</td> |
|
| 139 |
+ </tr> |
|
| 140 |
+ <tr> |
|
| 141 |
+ <td><span class="font_b">[data].objectList</span></td> |
|
| 142 |
+ <td>개별 메시지 상세 목록</td> |
|
| 143 |
+ <td>Array<Object></td> |
|
| 144 |
+ </tr> |
|
| 145 |
+ <tr> |
|
| 146 |
+ <td><span class="font_b">[data].objectList[i].msgGroupId</span></td> |
|
| 147 |
+ <td>메시지 그룹 ID</td> |
|
| 148 |
+ <td>String</td> |
|
| 149 |
+ </tr> |
|
| 150 |
+ <tr> |
|
| 151 |
+ <td><span class="font_b">[data].objectList[i].msgId</span></td> |
|
| 152 |
+ <td>개별 메시지 ID</td> |
|
| 153 |
+ <td>String</td> |
|
| 154 |
+ </tr> |
|
| 155 |
+ <tr> |
|
| 156 |
+ <td><span class="font_b">[data].objectList[i].totMsgCnt</span></td> |
|
| 157 |
+ <td>총 발송 건수(그룹 기준)</td> |
|
| 158 |
+ <td>String</td> |
|
| 159 |
+ </tr> |
|
| 160 |
+ <tr> |
|
| 161 |
+ <td><span class="font_b">[data].objectList[i].msgType</span></td> |
|
| 162 |
+ <td>메시지 타입 코드(예: 8=AT)</td> |
|
| 163 |
+ <td>Number</td> |
|
| 164 |
+ </tr> |
|
| 165 |
+ <tr> |
|
| 166 |
+ <td><span class="font_b">[data].objectList[i].msgTypeName</span></td> |
|
| 167 |
+ <td>메시지 타입명</td> |
|
| 168 |
+ <td>String</td> |
|
| 169 |
+ </tr> |
|
| 170 |
+ <tr> |
|
| 171 |
+ <td><span class="font_b">[data].objectList[i].msgResult</span></td> |
|
| 172 |
+ <td>결과(F: 실패, S: 성공 등)</td> |
|
| 173 |
+ <td>String</td> |
|
| 174 |
+ </tr> |
|
| 175 |
+ <tr> |
|
| 176 |
+ <td><span class="font_b">[data].objectList[i].msgGroupCnt</span></td> |
|
| 177 |
+ <td>발송 건수</td> |
|
| 178 |
+ <td>Number</td> |
|
| 179 |
+ </tr> |
|
| 180 |
+ <tr> |
|
| 181 |
+ <td><span class="font_b">[data].objectList[i].smsTxt</span></td> |
|
| 182 |
+ <td>메시지 내용</td> |
|
| 183 |
+ <td>String</td> |
|
| 184 |
+ </tr> |
|
| 185 |
+ <tr> |
|
| 186 |
+ <td><span class="font_b">[data].objectList[i].callFrom</span></td> |
|
| 187 |
+ <td>발신 번호</td> |
|
| 188 |
+ <td>String</td> |
|
| 189 |
+ </tr> |
|
| 190 |
+ <tr> |
|
| 191 |
+ <td><span class="font_b">[data].objectList[i].callTo</span></td> |
|
| 192 |
+ <td>수신 번호</td> |
|
| 193 |
+ <td>String</td> |
|
| 194 |
+ </tr> |
|
| 195 |
+ <tr> |
|
| 196 |
+ <td><span class="font_b">[data].objectList[i].curState</span></td> |
|
| 197 |
+ <td>현재 상태 코드</td> |
|
| 198 |
+ <td>Number</td> |
|
| 199 |
+ </tr> |
|
| 200 |
+ <tr> |
|
| 201 |
+ <td><span class="font_b">[data].objectList[i].remainMsgCnt</span></td> |
|
| 202 |
+ <td>잔여 처리 건수</td> |
|
| 203 |
+ <td>Number</td> |
|
| 204 |
+ </tr> |
|
| 205 |
+ <tr> |
|
| 206 |
+ <td><span class="font_b">[data].objectList[i].reqdate</span></td> |
|
| 207 |
+ <td>요청 일시(YYYY-MM-DD HH:mm:ss)</td> |
|
| 208 |
+ <td>String</td> |
|
| 209 |
+ </tr> |
|
| 210 |
+ <tr> |
|
| 211 |
+ <td><span class="font_b">[data].objectList[i].regdate</span></td> |
|
| 212 |
+ <td>등록 일시(YYYY-MM-DD HH:mm:ss)</td> |
|
| 213 |
+ <td>String</td> |
|
| 214 |
+ </tr> |
|
| 215 |
+ <tr> |
|
| 216 |
+ <td><span class="font_b">[data].objectList[i].reserveCYn</span></td> |
|
| 217 |
+ <td>예약 취소 여부(Y/N)</td> |
|
| 218 |
+ <td>String</td> |
|
| 219 |
+ </tr> |
|
| 220 |
+ <tr> |
|
| 221 |
+ <td><span class="font_b">localDateTime</span></td> |
|
| 222 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 223 |
+ <td>String</td> |
|
| 224 |
+ </tr> |
|
| 225 |
+ </tbody> |
|
| 226 |
+ </table> |
|
| 227 |
+ <div class="table_info"> |
|
| 228 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 229 |
+ </div> |
|
| 230 |
+ </div> |
|
| 231 |
+ |
|
| 232 |
+ <div class="box"> |
|
| 233 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 234 |
+ <div class="code_view"> |
|
| 235 |
+ <pre> |
|
| 236 |
+ <code class="language-json"> |
|
| 237 |
+{
|
|
| 238 |
+ "resultCode": "0", |
|
| 239 |
+ |
|
| 240 |
+ "data": {
|
|
| 241 |
+ |
|
| 242 |
+ "resultCode": 0, |
|
| 243 |
+ |
|
| 244 |
+ "objectList": [ |
|
| 245 |
+ |
|
| 246 |
+ {
|
|
| 247 |
+ |
|
| 248 |
+ "msgGroupId": "MSGGID_XXXXXXX0000063", |
|
| 249 |
+ |
|
| 250 |
+ "msgId": "MSGCID_XXXXXXX00001180", |
|
| 251 |
+ |
|
| 252 |
+ "totMsgCnt": "9", |
|
| 253 |
+ |
|
| 254 |
+ "msgType": 8, |
|
| 255 |
+ |
|
| 256 |
+ "msgTypeName": "알림톡(AT)", |
|
| 257 |
+ |
|
| 258 |
+ "msgResult": "F", |
|
| 259 |
+ |
|
| 260 |
+ "msgGroupCnt": 1, |
|
| 261 |
+ |
|
| 262 |
+ "smsTxt": "test", |
|
| 263 |
+ |
|
| 264 |
+ "callFrom": "01093414986", |
|
| 265 |
+ |
|
| 266 |
+ "callTo": "01059941669", |
|
| 267 |
+ |
|
| 268 |
+ "curState": 3, |
|
| 269 |
+ |
|
| 270 |
+ "remainMsgCnt": 0, |
|
| 271 |
+ |
|
| 272 |
+ "reqdate": "2025-09-05 11:45:45", |
|
| 273 |
+ |
|
| 274 |
+ "regdate": "2025-09-05 11:45:45", |
|
| 275 |
+ |
|
| 276 |
+ "reserveCYn": "N" |
|
| 277 |
+ |
|
| 278 |
+ }, |
|
| 279 |
+ |
|
| 280 |
+ {
|
|
| 281 |
+ |
|
| 282 |
+ "msgGroupId": "MSGGID_XXXXXXX0000063", |
|
| 283 |
+ |
|
| 284 |
+ "msgId": "MSGCID_XXXXXXX000001175", |
|
| 285 |
+ |
|
| 286 |
+ "totMsgCnt": "9", |
|
| 287 |
+ |
|
| 288 |
+ "msgType": 9, |
|
| 289 |
+ |
|
| 290 |
+ "msgTypeName": "친구톡(AT)", |
|
| 291 |
+ |
|
| 292 |
+ "msgResult": "F", |
|
| 293 |
+ |
|
| 294 |
+ "msgGroupCnt": 1, |
|
| 295 |
+ |
|
| 296 |
+ "smsTxt": "test", |
|
| 297 |
+ |
|
| 298 |
+ "callFrom": "01093414986", |
|
| 299 |
+ |
|
| 300 |
+ "callTo": "01098969885", |
|
| 301 |
+ |
|
| 302 |
+ "curState": 3, |
|
| 303 |
+ |
|
| 304 |
+ "remainMsgCnt": 0, |
|
| 305 |
+ |
|
| 306 |
+ "reqdate": "2025-09-05 11:45:45", |
|
| 307 |
+ |
|
| 308 |
+ "regdate": "2025-09-05 11:45:45", |
|
| 309 |
+ |
|
| 310 |
+ "reserveCYn": "N" |
|
| 311 |
+ |
|
| 312 |
+ }, |
|
| 313 |
+ |
|
| 314 |
+ ] |
|
| 315 |
+ |
|
| 316 |
+ }, |
|
| 317 |
+ |
|
| 318 |
+ "localDateTime": "2025-09-16T10:47:20.4014362" |
|
| 319 |
+ |
|
| 320 |
+} |
|
| 321 |
+ </code> |
|
| 322 |
+ </pre> |
|
| 323 |
+ </div> |
|
| 324 |
+ </div> |
|
| 325 |
+ |
|
| 326 |
+ <div class="box"> |
|
| 327 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 328 |
+ <div class="code_view"> |
|
| 329 |
+ <pre><code class="language-json"> |
|
| 330 |
+{
|
|
| 331 |
+ |
|
| 332 |
+ "resultCode": "4099", |
|
| 333 |
+ |
|
| 334 |
+ "data": "기타 시스템 오류" |
|
| 335 |
+ |
|
| 336 |
+} |
|
| 337 |
+ </code></pre> |
|
| 338 |
+ </div> |
|
| 339 |
+ </div> |
|
| 340 |
+ <!-- // Response --> |
|
| 341 |
+ </div> |
|
| 342 |
+ <!--// Response--> |
--- src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab8.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab8.jsp
... | ... | @@ -1,195 +1,303 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
- |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> |
|
| 5 |
- <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> |
|
| 6 |
- </ul> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 7 | 3 |
|
| 8 |
- <div class="re_cont"> |
|
| 9 |
- <!--Request--> |
|
| 10 |
- <div class="req_title">Request</div> |
|
| 11 |
- <div class="box"> |
|
| 12 |
- <div class="text"> |
|
| 13 |
- <h4>Request</h4> |
|
| 14 |
- <table> |
|
| 15 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 16 |
- <colgroup> |
|
| 17 |
- <col style="width:20%;"> |
|
| 18 |
- <col style="width:80%;"> |
|
| 19 |
- </colgroup> |
|
| 20 |
- <tr> |
|
| 21 |
- <th>Http Method</th> |
|
| 22 |
- <td>POST</td> |
|
| 23 |
- </tr> |
|
| 24 |
- <tr> |
|
| 25 |
- <th>프로토콜</th> |
|
| 26 |
- <td>HTTP/1.1</td> |
|
| 27 |
- </tr> |
|
| 28 |
- <tr> |
|
| 29 |
- <th>HOST</th> |
|
| 30 |
- <td>api.munjaon.co.kr</td> |
|
| 31 |
- </tr> |
|
| 32 |
- <tr> |
|
| 33 |
- <th>Service Port</th> |
|
| 34 |
- <td>443</td> |
|
| 35 |
- </tr> |
|
| 36 |
- </table> |
|
| 37 |
- </div> |
|
| 38 |
- </div> |
|
| 39 |
- <div class="type_table"> |
|
| 40 |
- <table> |
|
| 41 |
- <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 42 |
- <colgroup> |
|
| 43 |
- <col style="width:20%;"> |
|
| 44 |
- <col style="width:45%;"> |
|
| 45 |
- <col style="width:25%"> |
|
| 46 |
- <col style="width:10%"> |
|
| 47 |
- </colgroup> |
|
| 48 |
- <thead> |
|
| 49 |
- <tr> |
|
| 50 |
- <th>키</th> |
|
| 51 |
- <th>설명</th> |
|
| 52 |
- <th>타입</th> |
|
| 53 |
- <th>필수</th> |
|
| 54 |
- </tr> |
|
| 55 |
- </thead> |
|
| 56 |
- <tbody> |
|
| 57 |
- <tr> |
|
| 58 |
- <td><span class="font_b">mberId</span></td> |
|
| 59 |
- <td>사용자 ID</td> |
|
| 60 |
- <td>String</td> |
|
| 61 |
- <td><span class="select_o">O</span></td> |
|
| 62 |
- </tr> |
|
| 63 |
- <tr> |
|
| 64 |
- <td><span class="font_b">accessKey</span></td> |
|
| 65 |
- <td>인증용 API Key</td> |
|
| 66 |
- <td>String</td> |
|
| 67 |
- <td><span class="select_o">O</span></td> |
|
| 68 |
- </tr> |
|
| 69 |
- </tbody> |
|
| 70 |
- </table> |
|
| 71 |
- <div class="table_info"> |
|
| 72 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 73 |
- </div> |
|
| 74 |
- </div> |
|
| 75 |
- <div class="box"> |
|
| 76 |
- <div class="title">[Example]</div> |
|
| 77 |
- <div class="code_view"> |
|
| 78 |
- <p>{</p> |
|
| 79 |
- <div class="indent"> |
|
| 80 |
- <p><span>"mberId"</span>:"String"</p> |
|
| 81 |
- <p>,<span>"accessKey"</span>:"String"</p> |
|
| 82 |
- </div> |
|
| 83 |
- <p class="l_code">}</p> |
|
| 84 |
- </div> |
|
| 85 |
- </div> |
|
| 86 |
- <!--// Request--> |
|
| 87 |
- <!-- Response--> |
|
| 88 |
- <div class="res_title">Response</div> |
|
| 89 |
- <div class="type_table"> |
|
| 90 |
- <table> |
|
| 91 |
- <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 92 |
- <colgroup> |
|
| 93 |
- <col style="width:20%;"> |
|
| 94 |
- <col style="width:60%;"> |
|
| 95 |
- <col style="width:20%;"> |
|
| 96 |
- </colgroup> |
|
| 97 |
- <thead> |
|
| 98 |
- <tr> |
|
| 99 |
- <th>키</th> |
|
| 100 |
- <th>설명</th> |
|
| 101 |
- <th>타입</th> |
|
| 102 |
- </tr> |
|
| 103 |
- </thead> |
|
| 104 |
- <tbody> |
|
| 105 |
- <tr> |
|
| 106 |
- <td><span class="font_b">resultCode</span></td> |
|
| 107 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 108 |
- <td>String</td> |
|
| 109 |
- </tr> |
|
| 110 |
- <tr> |
|
| 111 |
- <td><span class="font_b">data</span></td> |
|
| 112 |
- <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 113 |
- <td>Object</td> |
|
| 114 |
- </tr> |
|
| 115 |
- <tr> |
|
| 116 |
- <td><span class="font_b">[data].longPrice</span></td> |
|
| 117 |
- <td>장문 단가</td> |
|
| 118 |
- <td>String</td> |
|
| 119 |
- </tr> |
|
| 120 |
- <tr> |
|
| 121 |
- <td><span class="font_b">[data].longSendPsbltEa</span></td> |
|
| 122 |
- <td>장문 발송 가능 건수</td> |
|
| 123 |
- <td>String</td> |
|
| 124 |
- </tr> |
|
| 125 |
- <tr> |
|
| 126 |
- <td><span class="font_b">[data].mberMoney</span></td> |
|
| 127 |
- <td>현재 보유 금액</td> |
|
| 128 |
- <td>String</td> |
|
| 129 |
- </tr> |
|
| 130 |
- <tr> |
|
| 131 |
- <td><span class="font_b">[data].message</span></td> |
|
| 132 |
- <td>문자</td> |
|
| 133 |
- <td>String</td> |
|
| 134 |
- </tr> |
|
| 135 |
- <tr> |
|
| 136 |
- <td><span class="font_b">[data].picturePrice</span></td> |
|
| 137 |
- <td>그림문자 단가</td> |
|
| 138 |
- <td>String</td> |
|
| 139 |
- </tr> |
|
| 140 |
- <tr> |
|
| 141 |
- <td><span class="font_b">[data].pictureSendPsbltEa</span></td> |
|
| 142 |
- <td>그림문자 발송 가능 건수</td> |
|
| 143 |
- <td>String</td> |
|
| 144 |
- </tr> |
|
| 145 |
- <tr> |
|
| 146 |
- <td><span class="font_b">[data].shortPrice</span></td> |
|
| 147 |
- <td>단문 단가</td> |
|
| 148 |
- <td>String</td> |
|
| 149 |
- </tr> |
|
| 150 |
- <tr> |
|
| 151 |
- <td><span class="font_b">[data].shortSendPsbltEa</span></td> |
|
| 152 |
- <td>단문 발송 가능 건수</td> |
|
| 153 |
- <td>String</td> |
|
| 154 |
- </tr> |
|
| 155 |
- </tbody> |
|
| 156 |
- </table> |
|
| 157 |
- <div class="table_info"> |
|
| 158 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 159 |
- </div> |
|
| 160 |
- </div> |
|
| 161 |
- <div class="box"> |
|
| 162 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 163 |
- <div class="code_view"> |
|
| 164 |
- <p>{</p> |
|
| 165 |
- <div class="indent"> |
|
| 166 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 167 |
- <p>,<span>"data"</span>{</p> |
|
| 168 |
- <div class="indent_t1"> |
|
| 169 |
- <p><span>"longPrice"</span>:"50"</p> |
|
| 170 |
- <p>,<span>"longSendPsbltEa"</span>:"19651"</p> |
|
| 171 |
- <p>,<span>"mberMoney"</span>:"982586.7"</p> |
|
| 172 |
- <p>,<span>"message"</span>:null</p> |
|
| 173 |
- <p>,<span>"picturePrice"</span>:"90"</p> |
|
| 174 |
- <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> |
|
| 175 |
- <p>,<span>"shortPrice"</span>:"18"</p> |
|
| 176 |
- <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> |
|
| 177 |
- </div> |
|
| 178 |
- <p>}</p> |
|
| 179 |
- </div> |
|
| 180 |
- <p class="l_code">}</p> |
|
| 181 |
- </div> |
|
| 182 |
- </div> |
|
| 183 |
- <div class="box"> |
|
| 184 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 185 |
- <div class="code_view"> |
|
| 186 |
- <p>{</p> |
|
| 187 |
- <div class="indent"> |
|
| 188 |
- <p><span>"resultCode"</span>:"5099"</p> |
|
| 189 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 190 |
- </div> |
|
| 191 |
- <p class="l_code">}</p> |
|
| 192 |
- </div> |
|
| 193 |
- </div> |
|
| 194 |
- <!--// Response--> |
|
| 195 |
- </div> |
|
| 4 |
+ |
|
| 5 |
+<ul class="info"> |
|
| 6 |
+ <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS), 알림톡(AT), 친구톡(FT)별로 각각 확인할 수 있습니다.</li> |
|
| 7 |
+<!-- <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫 결제 이벤트"는 적용되지 않습니다.</li> --> |
|
| 8 |
+</ul> |
|
| 9 |
+ |
|
| 10 |
+<div class="re_cont"> |
|
| 11 |
+ <!-- Request --> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port, Endpoint 정보 테이블</caption> |
|
| 18 |
+ <colgroup> |
|
| 19 |
+ <col style="width:20%;"> |
|
| 20 |
+ <col style="width:80%;"> |
|
| 21 |
+ </colgroup> |
|
| 22 |
+ <tr> |
|
| 23 |
+ <th>Http Method</th> |
|
| 24 |
+ <td>POST</td> |
|
| 25 |
+ </tr> |
|
| 26 |
+ <tr> |
|
| 27 |
+ <th>프로토콜</th> |
|
| 28 |
+ <td>HTTPS/1.1</td> |
|
| 29 |
+ </tr> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <th>HOST</th> |
|
| 32 |
+ <td>api.munjaon.co.kr</td> |
|
| 33 |
+ </tr> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th>Service Port</th> |
|
| 36 |
+ <td>443</td> |
|
| 37 |
+ </tr> |
|
| 38 |
+ <tr> |
|
| 39 |
+ <th>Endpoint</th> |
|
| 40 |
+ <td>/api/inqry/price</td> |
|
| 41 |
+ </tr> |
|
| 42 |
+ </table> |
|
| 43 |
+ </div> |
|
| 44 |
+ </div> |
|
| 45 |
+ |
|
| 46 |
+ <div class="type_table"> |
|
| 47 |
+ <table> |
|
| 48 |
+ <caption>가격/가능건수 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 49 |
+ <colgroup> |
|
| 50 |
+ <col style="width:20%;"> |
|
| 51 |
+ <col style="width:45%;"> |
|
| 52 |
+ <col style="width:25%"> |
|
| 53 |
+ <col style="width:10%"> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <thead> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>키</th> |
|
| 58 |
+ <th>설명</th> |
|
| 59 |
+ <th>타입</th> |
|
| 60 |
+ <th>필수</th> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </thead> |
|
| 63 |
+ <tbody> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td><span class="font_b">mberId</span></td> |
|
| 66 |
+ <td>사용자 ID</td> |
|
| 67 |
+ <td>String</td> |
|
| 68 |
+ <td><span class="select_o">O</span></td> |
|
| 69 |
+ </tr> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 72 |
+ <td>인증용 API Key</td> |
|
| 73 |
+ <td>String</td> |
|
| 74 |
+ <td><span class="select_o">O</span></td> |
|
| 75 |
+ </tr> |
|
| 76 |
+ </tbody> |
|
| 77 |
+ </table> |
|
| 78 |
+ <div class="table_info"> |
|
| 79 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 80 |
+ <p>※ Content-Type: application/json</p> |
|
| 81 |
+ </div> |
|
| 82 |
+ </div> |
|
| 83 |
+ |
|
| 84 |
+ <div class="box"> |
|
| 85 |
+ <div class="title">[Example]</div> |
|
| 86 |
+ <div class="code_view"> |
|
| 87 |
+ <pre> |
|
| 88 |
+ <code class="language-json"> |
|
| 89 |
+{
|
|
| 90 |
+ |
|
| 91 |
+ "mberId": "홍길동", |
|
| 92 |
+ |
|
| 93 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953" |
|
| 94 |
+} |
|
| 95 |
+ </code> |
|
| 96 |
+ </pre> |
|
| 97 |
+ </div> |
|
| 98 |
+ </div> |
|
| 99 |
+ <!-- // Request --> |
|
| 100 |
+ |
|
| 101 |
+ <!-- Response --> |
|
| 102 |
+ <div class="res_title">Response</div> |
|
| 103 |
+ <div class="type_table"> |
|
| 104 |
+ <table> |
|
| 105 |
+ <caption>가격/가능건수 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 106 |
+ <colgroup> |
|
| 107 |
+ <col style="width:20%;"> |
|
| 108 |
+ <col style="width:60%;"> |
|
| 109 |
+ <col style="width:20%;"> |
|
| 110 |
+ </colgroup> |
|
| 111 |
+ <thead> |
|
| 112 |
+ <tr> |
|
| 113 |
+ <th>키</th> |
|
| 114 |
+ <th>설명</th> |
|
| 115 |
+ <th>타입</th> |
|
| 116 |
+ </tr> |
|
| 117 |
+ </thead> |
|
| 118 |
+ <tbody> |
|
| 119 |
+ <tr> |
|
| 120 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 121 |
+ <td>성공 여부("0" 이외는 실패)</td>
|
|
| 122 |
+ <td>String</td> |
|
| 123 |
+ </tr> |
|
| 124 |
+ <tr> |
|
| 125 |
+ <td><span class="font_b">data</span></td> |
|
| 126 |
+ <td>조회 결과 객체(성공 시 가격/가능건수 정보)</td> |
|
| 127 |
+ <td>Object | String</td> |
|
| 128 |
+ </tr> |
|
| 129 |
+ <tr> |
|
| 130 |
+ <td><span class="font_b">[data].resultCode</span></td> |
|
| 131 |
+ <td>내부 처리 결과("0": 성공)</td>
|
|
| 132 |
+ <td>String</td> |
|
| 133 |
+ </tr> |
|
| 134 |
+ <tr> |
|
| 135 |
+ <td><span class="font_b">[data].message</span></td> |
|
| 136 |
+ <td>메시지(필요 시)</td> |
|
| 137 |
+ <td>String</td> |
|
| 138 |
+ </tr> |
|
| 139 |
+ <tr> |
|
| 140 |
+ <td><span class="font_b">[data].localDateTime</span></td> |
|
| 141 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 142 |
+ <td>String</td> |
|
| 143 |
+ </tr> |
|
| 144 |
+ <tr> |
|
| 145 |
+ <td><span class="font_b">[data].shortPrice</span></td> |
|
| 146 |
+ <td>단문(SMS) 단가</td> |
|
| 147 |
+ <td>Number</td> |
|
| 148 |
+ </tr> |
|
| 149 |
+ <tr> |
|
| 150 |
+ <td><span class="font_b">[data].longPrice</span></td> |
|
| 151 |
+ <td>장문(LMS) 단가</td> |
|
| 152 |
+ <td>Number</td> |
|
| 153 |
+ </tr> |
|
| 154 |
+ <tr> |
|
| 155 |
+ <td><span class="font_b">[data].picturePrice</span></td> |
|
| 156 |
+ <td>사진(MMS) 단가</td> |
|
| 157 |
+ <td>Number</td> |
|
| 158 |
+ </tr> |
|
| 159 |
+ <tr> |
|
| 160 |
+ <td><span class="font_b">[data].kakaoAtPrice</span></td> |
|
| 161 |
+ <td>카카오 알림톡 단가</td> |
|
| 162 |
+ <td>Number</td> |
|
| 163 |
+ </tr> |
|
| 164 |
+ <tr> |
|
| 165 |
+ <td><span class="font_b">[data].kakaoFtPrice</span></td> |
|
| 166 |
+ <td>카카오 친구톡(텍스트) 단가</td> |
|
| 167 |
+ <td>Number</td> |
|
| 168 |
+ </tr> |
|
| 169 |
+ <tr> |
|
| 170 |
+ <td><span class="font_b">[data].kakaoFtImgPrice</span></td> |
|
| 171 |
+ <td>카카오 친구톡(이미지) 단가</td> |
|
| 172 |
+ <td>Number</td> |
|
| 173 |
+ </tr> |
|
| 174 |
+ <tr> |
|
| 175 |
+ <td><span class="font_b">[data].kakaoFtWideImgPrice</span></td> |
|
| 176 |
+ <td>카카오 친구톡(와이드 이미지) 단가</td> |
|
| 177 |
+ <td>Number</td> |
|
| 178 |
+ </tr> |
|
| 179 |
+ <tr> |
|
| 180 |
+ <td><span class="font_b">[data].mberMoney</span></td> |
|
| 181 |
+ <td>회원 보유 금액</td> |
|
| 182 |
+ <td>Number</td> |
|
| 183 |
+ </tr> |
|
| 184 |
+ <tr> |
|
| 185 |
+ <td><span class="font_b">[data].shortSendPsbltEa</span></td> |
|
| 186 |
+ <td>단문 발송 가능 건수</td> |
|
| 187 |
+ <td>Number</td> |
|
| 188 |
+ </tr> |
|
| 189 |
+ <tr> |
|
| 190 |
+ <td><span class="font_b">[data].longSendPsbltEa</span></td> |
|
| 191 |
+ <td>장문 발송 가능 건수</td> |
|
| 192 |
+ <td>Number</td> |
|
| 193 |
+ </tr> |
|
| 194 |
+ <tr> |
|
| 195 |
+ <td><span class="font_b">[data].pictureSendPsbltEa</span></td> |
|
| 196 |
+ <td>사진 발송 가능 건수</td> |
|
| 197 |
+ <td>Number</td> |
|
| 198 |
+ </tr> |
|
| 199 |
+ <tr> |
|
| 200 |
+ <td><span class="font_b">[data].kakaoAtSendPsbltEa</span></td> |
|
| 201 |
+ <td>알림톡 발송 가능 건수</td> |
|
| 202 |
+ <td>Number</td> |
|
| 203 |
+ </tr> |
|
| 204 |
+ <tr> |
|
| 205 |
+ <td><span class="font_b">[data].kakaoFtSendPsbltEa</span></td> |
|
| 206 |
+ <td>친구톡(텍스트) 발송 가능 건수</td> |
|
| 207 |
+ <td>Number</td> |
|
| 208 |
+ </tr> |
|
| 209 |
+ <tr> |
|
| 210 |
+ <td><span class="font_b">[data].kakaoFtImgSendPsbltEa</span></td> |
|
| 211 |
+ <td>친구톡(이미지) 발송 가능 건수</td> |
|
| 212 |
+ <td>Number</td> |
|
| 213 |
+ </tr> |
|
| 214 |
+ <tr> |
|
| 215 |
+ <td><span class="font_b">[data].kakaoFtWideImgSendPsbltEa</span></td> |
|
| 216 |
+ <td>친구톡(와이드 이미지) 발송 가능 건수</td> |
|
| 217 |
+ <td>Number</td> |
|
| 218 |
+ </tr> |
|
| 219 |
+ <tr> |
|
| 220 |
+ <td><span class="font_b">localDateTime</span></td> |
|
| 221 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 222 |
+ <td>String</td> |
|
| 223 |
+ </tr> |
|
| 224 |
+ </tbody> |
|
| 225 |
+ </table> |
|
| 226 |
+ <div class="table_info"> |
|
| 227 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 228 |
+ </div> |
|
| 229 |
+ </div> |
|
| 230 |
+ |
|
| 231 |
+ <div class="box"> |
|
| 232 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 233 |
+ <div class="code_view"> |
|
| 234 |
+ <pre> |
|
| 235 |
+ <code class="language-json"> |
|
| 236 |
+{
|
|
| 237 |
+ "resultCode": "0", |
|
| 238 |
+ |
|
| 239 |
+ "data": {
|
|
| 240 |
+ |
|
| 241 |
+ "resultCode": "0", |
|
| 242 |
+ |
|
| 243 |
+ "message": "", |
|
| 244 |
+ |
|
| 245 |
+ "localDateTime": "2025-09-16T11:06:40.2556646", |
|
| 246 |
+ |
|
| 247 |
+ "shortPrice": 18.0, |
|
| 248 |
+ |
|
| 249 |
+ "longPrice": 50.0, |
|
| 250 |
+ |
|
| 251 |
+ "picturePrice": 90.0, |
|
| 252 |
+ |
|
| 253 |
+ "kakaoAtPrice": 6.9, |
|
| 254 |
+ |
|
| 255 |
+ "kakaoFtPrice": 13.8, |
|
| 256 |
+ |
|
| 257 |
+ "kakaoFtImgPrice": 19.9, |
|
| 258 |
+ |
|
| 259 |
+ "kakaoFtWideImgPrice": 22.9, |
|
| 260 |
+ |
|
| 261 |
+ "mberMoney": 6549661.26, |
|
| 262 |
+ |
|
| 263 |
+ "shortSendPsbltEa": 363870, |
|
| 264 |
+ |
|
| 265 |
+ "longSendPsbltEa": 130993, |
|
| 266 |
+ |
|
| 267 |
+ "pictureSendPsbltEa": 72774, |
|
| 268 |
+ |
|
| 269 |
+ "kakaoAtSendPsbltEa": 949226, |
|
| 270 |
+ |
|
| 271 |
+ "kakaoFtSendPsbltEa": 474613, |
|
| 272 |
+ |
|
| 273 |
+ "kakaoFtImgSendPsbltEa": 329128, |
|
| 274 |
+ |
|
| 275 |
+ "kakaoFtWideImgSendPsbltEa": 286011 |
|
| 276 |
+ |
|
| 277 |
+ }, |
|
| 278 |
+ |
|
| 279 |
+ "localDateTime": "2025-09-16T11:06:40.2556646" |
|
| 280 |
+ |
|
| 281 |
+} |
|
| 282 |
+ </code> |
|
| 283 |
+ </pre> |
|
| 284 |
+ </div> |
|
| 285 |
+ </div> |
|
| 286 |
+ |
|
| 287 |
+ <div class="box"> |
|
| 288 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 289 |
+ <div class="code_view"> |
|
| 290 |
+ <pre><code class="language-json"> |
|
| 291 |
+{
|
|
| 292 |
+ |
|
| 293 |
+ "resultCode": "3099", |
|
| 294 |
+ |
|
| 295 |
+ "data": "기타 시스템 오류" |
|
| 296 |
+ |
|
| 297 |
+} |
|
| 298 |
+ </code></pre> |
|
| 299 |
+ </div> |
|
| 300 |
+ </div> |
|
| 301 |
+ <!-- // Response --> |
|
| 302 |
+ </div> |
|
| 303 |
+ <!--// Response--> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab1.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab1.jsp
... | ... | @@ -7,210 +7,233 @@ |
| 7 | 7 |
<!-- <li>- 발신번호는 문자온 사이트를 통해 사전등록 후 이용하실 수 있습니다.(마이페이지-발신번호 관리 메뉴 이용)</li> --> |
| 8 | 8 |
<!-- <li>- 문자 내용이 "90byte"를 초과하는 경우 장문(LMS)으로 자동 전환됩니다.</li> --> |
| 9 | 9 |
</ul> |
| 10 |
- |
|
| 11 | 10 |
<div class="re_cont"> |
| 12 |
- <!--Request--> |
|
| 13 |
- <div class="req_title">Request</div> |
|
| 14 |
- <div class="box"> |
|
| 15 |
- <div class="text"> |
|
| 16 |
- <h4>Request</h4> |
|
| 17 |
- <table> |
|
| 18 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port |
|
| 19 |
- 정보 테이블</caption> |
|
| 20 |
- <colgroup> |
|
| 21 |
- <col style="width: 20%;"> |
|
| 22 |
- <col style="width: 80%;"> |
|
| 23 |
- </colgroup> |
|
| 24 |
- <tr> |
|
| 25 |
- <th>Http Method</th> |
|
| 26 |
- <td>POST</td> |
|
| 27 |
- </tr> |
|
| 28 |
- <tr> |
|
| 29 |
- <th>프로토콜</th> |
|
| 30 |
- <td>HTTP/1.1</td> |
|
| 31 |
- </tr> |
|
| 32 |
- <tr> |
|
| 33 |
- <th>HOST</th> |
|
| 34 |
- <td>api.munjaon.co.kr</td> |
|
| 35 |
- </tr> |
|
| 36 |
- <tr> |
|
| 37 |
- <th>Service Port</th> |
|
| 38 |
- <td>443</td> |
|
| 39 |
- </tr> |
|
| 40 |
- </table> |
|
| 41 |
- </div> |
|
| 42 |
- </div> |
|
| 43 |
- <div class="type_table"> |
|
| 44 |
- <table> |
|
| 45 |
- <caption>문자발송 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 46 |
- <colgroup> |
|
| 47 |
- <col style="width: 20%;"> |
|
| 48 |
- <col style="width: 45%;"> |
|
| 49 |
- <col style="width: 25%"> |
|
| 50 |
- <col style="width: 10%"> |
|
| 51 |
- </colgroup> |
|
| 52 |
- <thead> |
|
| 53 |
- <tr> |
|
| 54 |
- <th>키</th> |
|
| 55 |
- <th>설명</th> |
|
| 56 |
- <th>타입</th> |
|
| 57 |
- <th>필수</th> |
|
| 58 |
- </tr> |
|
| 59 |
- </thead> |
|
| 60 |
- <tbody> |
|
| 61 |
- <tr> |
|
| 62 |
- <td><span class="font_b">mberId</span></td> |
|
| 63 |
- <td>사용자 ID</td> |
|
| 64 |
- <td>String</td> |
|
| 65 |
- <td><span class="select_o">O</span></td> |
|
| 66 |
- </tr> |
|
| 67 |
- <tr> |
|
| 68 |
- <td><span class="font_b">accessKey</span></td> |
|
| 69 |
- <td>인증용 API Key</td> |
|
| 70 |
- <td>String</td> |
|
| 71 |
- <td><span class="select_o">O</span></td> |
|
| 72 |
- </tr> |
|
| 73 |
- </tbody> |
|
| 74 |
- </table> |
|
| 75 |
- <div class="table_info"> |
|
| 76 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 77 |
- <p>※ 문자 텍스트 용량(byte) : 한글 1자당 2byte, 영문/숫자 1자당 1byte</p> |
|
| 78 |
- </div> |
|
| 79 |
- </div> |
|
| 80 |
- <div class="box"> |
|
| 81 |
- <div class="title">[Example]</div> |
|
| 82 |
- <div class="code_view"> |
|
| 83 |
- <p>{</p> |
|
| 84 |
- <div class="indent"> |
|
| 85 |
- <p> |
|
| 86 |
- <span>"mberId"</span>:"홍길동" |
|
| 87 |
- </p> |
|
| 88 |
- <p> |
|
| 89 |
- ,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953" |
|
| 90 |
- </p> |
|
| 11 |
+ <!-- Request --> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port, Endpoint 정보 테이블</caption> |
|
| 18 |
+ <colgroup> |
|
| 19 |
+ <col style="width:20%;"> |
|
| 20 |
+ <col style="width:80%;"> |
|
| 21 |
+ </colgroup> |
|
| 22 |
+ <tr> |
|
| 23 |
+ <th>Http Method</th> |
|
| 24 |
+ <td>POST</td> |
|
| 25 |
+ </tr> |
|
| 26 |
+ <tr> |
|
| 27 |
+ <th>프로토콜</th> |
|
| 28 |
+ <td>HTTPS/1.1</td> |
|
| 29 |
+ </tr> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <th>HOST</th> |
|
| 32 |
+ <td>api.munjaon.co.kr</td> |
|
| 33 |
+ </tr> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th>Service Port</th> |
|
| 36 |
+ <td>443</td> |
|
| 37 |
+ </tr> |
|
| 38 |
+ <tr> |
|
| 39 |
+ <th>Endpoint</th> |
|
| 40 |
+ <td>/api/kakao/inqry/chnlId</td> |
|
| 41 |
+ </tr> |
|
| 42 |
+ </table> |
|
| 91 | 43 |
</div> |
| 92 |
- <p class="l_code">}</p> |
|
| 93 | 44 |
</div> |
| 94 |
- </div> |
|
| 95 |
- <!--// Request--> |
|
| 96 |
- <!-- Response--> |
|
| 97 |
- <div class="res_title">Response</div> |
|
| 98 |
- <div class="type_table"> |
|
| 99 |
- <table> |
|
| 100 |
- <caption>문자발송 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 101 |
- <colgroup> |
|
| 102 |
- <col style="width: 20%;"> |
|
| 103 |
- <col style="width: 60%;"> |
|
| 104 |
- <col style="width: 20%;"> |
|
| 105 |
- </colgroup> |
|
| 106 |
- <thead> |
|
| 107 |
- <tr> |
|
| 108 |
- <th>키</th> |
|
| 109 |
- <th>설명</th> |
|
| 110 |
- <th>타입</th> |
|
| 111 |
- </tr> |
|
| 112 |
- </thead> |
|
| 113 |
- <tbody> |
|
| 114 |
- <tr> |
|
| 115 |
- <td><span class="font_b">resultCode</span></td> |
|
| 116 |
- <td>성공 여부 ("0" 이면 성공, 그 외는 실패)</td>
|
|
| 117 |
- <td>String</td> |
|
| 118 |
- </tr> |
|
| 119 |
- <tr> |
|
| 120 |
- <td><span class="font_b">data</span></td> |
|
| 121 |
- <td>응답 결과 객체 (성공 시 배열, 실패 시 메시지)</td> |
|
| 122 |
- <td>Array<Object></td> |
|
| 123 |
- </tr> |
|
| 124 |
- <tr> |
|
| 125 |
- <td><span class="font_b">data[].userId</span></td> |
|
| 126 |
- <td>사용자 ID</td> |
|
| 127 |
- <td>String</td> |
|
| 128 |
- </tr> |
|
| 129 |
- <tr> |
|
| 130 |
- <td><span class="font_b">data[].senderKey</span></td> |
|
| 131 |
- <td>발신자 키</td> |
|
| 132 |
- <td>String</td> |
|
| 133 |
- </tr> |
|
| 134 |
- <tr> |
|
| 135 |
- <td><span class="font_b">data[].phoneNumber</span></td> |
|
| 136 |
- <td>수신자 전화번호</td> |
|
| 137 |
- <td>String</td> |
|
| 138 |
- </tr> |
|
| 139 |
- <tr> |
|
| 140 |
- <td><span class="font_b">data[].yellowId</span></td> |
|
| 141 |
- <td>카카오톡 채널 ID</td> |
|
| 142 |
- <td>String</td> |
|
| 143 |
- </tr> |
|
| 144 |
- <tr> |
|
| 145 |
- <td><span class="font_b">data[].firstRegistPnttm</span></td> |
|
| 146 |
- <td>최초 등록 시각 (yyyy‑MM‑dd HH:mm:ss)</td> |
|
| 147 |
- <td>String</td> |
|
| 148 |
- </tr> |
|
| 149 |
- <tr> |
|
| 150 |
- <td><span class="font_b">data[].firstRegisterId</span></td> |
|
| 151 |
- <td>최초 등록자 ID</td> |
|
| 152 |
- <td>String</td> |
|
| 153 |
- </tr> |
|
| 154 |
- </tbody> |
|
| 155 |
- </table> |
|
| 156 | 45 |
|
| 157 |
- <div class="table_info"> |
|
| 158 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 159 |
- </div> |
|
| 160 |
- </div> |
|
| 161 |
- <div class="box"> |
|
| 162 |
- <div class="title_t1"> |
|
| 163 |
- <span class="ex">[Example]</span><span class="ex_success">O 성공 |
|
| 164 |
- 예시</span> |
|
| 165 |
- </div> |
|
| 166 |
- <div class="code_view"> |
|
| 167 |
- <p>{</p> |
|
| 168 |
- <div class="indent"> |
|
| 169 |
- <p> |
|
| 170 |
- <span>"resultCode"</span>:"0" |
|
| 171 |
- </p> |
|
| 172 |
- <p> |
|
| 173 |
- ,<span>"data"</span>{ |
|
| 174 |
- </p> |
|
| 175 |
- <div class="indent_t1"> |
|
| 176 |
- <p> |
|
| 177 |
- ,<span>"senderKey"</span>:"6691434xxxxxxxxxxxxxxxxxxxxxxxxx" |
|
| 178 |
- </p> |
|
| 179 |
- <p> |
|
| 180 |
- ,<span>"phoneNumber"</span>:"010xxxxxxxx" |
|
| 181 |
- </p> |
|
| 182 |
- <p> |
|
| 183 |
- ,<span>"yellowId"</span>:"@ID" |
|
| 184 |
- </p> |
|
| 185 |
- <p> |
|
| 186 |
- ,<span>"firstRegistPnttm"</span>:"2025-10-05 18:08:58" |
|
| 187 |
- </p> |
|
| 188 |
- <p> |
|
| 189 |
- ,<span>"firstRegisterId"</span>:"userId" |
|
| 190 |
- </p> |
|
| 191 |
- </div> |
|
| 192 |
- <p>}</p> |
|
| 46 |
+ <div class="type_table"> |
|
| 47 |
+ <table> |
|
| 48 |
+ <caption>채널ID 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 49 |
+ <colgroup> |
|
| 50 |
+ <col style="width:20%;"> |
|
| 51 |
+ <col style="width:45%;"> |
|
| 52 |
+ <col style="width:25%"> |
|
| 53 |
+ <col style="width:10%"> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <thead> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>키</th> |
|
| 58 |
+ <th>설명</th> |
|
| 59 |
+ <th>타입</th> |
|
| 60 |
+ <th>필수</th> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </thead> |
|
| 63 |
+ <tbody> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td><span class="font_b">mberId</span></td> |
|
| 66 |
+ <td>사용자 ID</td> |
|
| 67 |
+ <td>String</td> |
|
| 68 |
+ <td><span class="select_o">O</span></td> |
|
| 69 |
+ </tr> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 72 |
+ <td>인증용 API Key</td> |
|
| 73 |
+ <td>String</td> |
|
| 74 |
+ <td><span class="select_o">O</span></td> |
|
| 75 |
+ </tr> |
|
| 76 |
+ <tr> |
|
| 77 |
+ <td><span class="font_b">test_yn</span></td> |
|
| 78 |
+ <td>테스트 데이터 여부 (YS: 성공 테스트, YF: 실패 테스트)</td> |
|
| 79 |
+ <td>String</td> |
|
| 80 |
+ <td><span class="select_x">X</span></td> |
|
| 81 |
+ </tr> |
|
| 82 |
+ </tbody> |
|
| 83 |
+ </table> |
|
| 84 |
+ <div class="table_info"> |
|
| 85 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 86 |
+ <p>※ Content-Type: application/json</p> |
|
| 193 | 87 |
</div> |
| 194 |
- <p class="l_code">}</p> |
|
| 195 | 88 |
</div> |
| 196 |
- </div> |
|
| 197 |
- <div class="box"> |
|
| 198 |
- <div class="title_t1"> |
|
| 199 |
- <span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span> |
|
| 200 |
- </div> |
|
| 201 |
- <div class="code_view"> |
|
| 202 |
- <p>{</p> |
|
| 203 |
- <div class="indent"> |
|
| 204 |
- <p> |
|
| 205 |
- <span>"resultCode"</span>:"401" |
|
| 206 |
- </p> |
|
| 207 |
- <p> |
|
| 208 |
- ,<span>"message"</span>:"Unauthorized" |
|
| 209 |
- </p> |
|
| 89 |
+ |
|
| 90 |
+ <div class="box"> |
|
| 91 |
+ <div class="title">[Example]</div> |
|
| 92 |
+ <div class="code_view"> |
|
| 93 |
+ <pre> |
|
| 94 |
+ <code class="language-json"> |
|
| 95 |
+{
|
|
| 96 |
+ |
|
| 97 |
+ "mberId": "홍길동", |
|
| 98 |
+ |
|
| 99 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 100 |
+ |
|
| 101 |
+ "test_yn": "" |
|
| 102 |
+} |
|
| 103 |
+ </code> |
|
| 104 |
+ </pre> |
|
| 210 | 105 |
</div> |
| 211 |
- <p class="l_code">}</p> |
|
| 212 | 106 |
</div> |
| 107 |
+ <!-- // Request --> |
|
| 108 |
+ |
|
| 109 |
+ <!-- Response --> |
|
| 110 |
+ <div class="res_title">Response</div> |
|
| 111 |
+ <div class="type_table"> |
|
| 112 |
+ <table> |
|
| 113 |
+ <caption>채널ID 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 114 |
+ <colgroup> |
|
| 115 |
+ <col style="width:20%;"> |
|
| 116 |
+ <col style="width:60%;"> |
|
| 117 |
+ <col style="width:20%;"> |
|
| 118 |
+ </colgroup> |
|
| 119 |
+ <thead> |
|
| 120 |
+ <tr> |
|
| 121 |
+ <th>키</th> |
|
| 122 |
+ <th>설명</th> |
|
| 123 |
+ <th>타입</th> |
|
| 124 |
+ </tr> |
|
| 125 |
+ </thead> |
|
| 126 |
+ <tbody> |
|
| 127 |
+ <tr> |
|
| 128 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 129 |
+ <td>성공 여부("0" 이외는 실패)</td>
|
|
| 130 |
+ <td>String</td> |
|
| 131 |
+ </tr> |
|
| 132 |
+ <tr> |
|
| 133 |
+ <td><span class="font_b">data</span></td> |
|
| 134 |
+ <td>조회 결과 목록(성공 시 배열, 실패 시 오류 메시지)</td> |
|
| 135 |
+ <td>Array | String</td> |
|
| 136 |
+ </tr> |
|
| 137 |
+ <tr> |
|
| 138 |
+ <td><span class="font_b">[data][i].senderKey</span></td> |
|
| 139 |
+ <td>발신 프로필 SenderKey</td> |
|
| 140 |
+ <td>String</td> |
|
| 141 |
+ </tr> |
|
| 142 |
+ <tr> |
|
| 143 |
+ <td><span class="font_b">[data][i].phoneNumber</span></td> |
|
| 144 |
+ <td>대표 전화번호</td> |
|
| 145 |
+ <td>String</td> |
|
| 146 |
+ </tr> |
|
| 147 |
+ <tr> |
|
| 148 |
+ <td><span class="font_b">[data][i].yellowId</span></td> |
|
| 149 |
+ <td>카카오 채널(옐로아이디)</td> |
|
| 150 |
+ <td>String</td> |
|
| 151 |
+ </tr> |
|
| 152 |
+ <tr> |
|
| 153 |
+ <td><span class="font_b">[data][i].frstRegistPnttm</span></td> |
|
| 154 |
+ <td>최초 등록 일시(YYYY-MM-DD HH:mm:ss)</td> |
|
| 155 |
+ <td>String</td> |
|
| 156 |
+ </tr> |
|
| 157 |
+ <tr> |
|
| 158 |
+ <td><span class="font_b">[data][i].frstRegisterId</span></td> |
|
| 159 |
+ <td>최초 등록자 ID</td> |
|
| 160 |
+ <td>String</td> |
|
| 161 |
+ </tr> |
|
| 162 |
+ <tr> |
|
| 163 |
+ <td><span class="font_b">localDateTime</span></td> |
|
| 164 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 165 |
+ <td>String</td> |
|
| 166 |
+ </tr> |
|
| 167 |
+ </tbody> |
|
| 168 |
+ </table> |
|
| 169 |
+ <div class="table_info"> |
|
| 170 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 171 |
+ </div> |
|
| 172 |
+ </div> |
|
| 173 |
+ |
|
| 174 |
+ <div class="box"> |
|
| 175 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 176 |
+ <div class="code_view"> |
|
| 177 |
+ <pre> |
|
| 178 |
+ <code class="language-json"> |
|
| 179 |
+{
|
|
| 180 |
+ "resultCode": "0", |
|
| 181 |
+ |
|
| 182 |
+ "data": [ |
|
| 183 |
+ |
|
| 184 |
+ {
|
|
| 185 |
+ |
|
| 186 |
+ "senderKey": "test_sender_key_001", |
|
| 187 |
+ |
|
| 188 |
+ "phoneNumber": "02-1234-0000", |
|
| 189 |
+ |
|
| 190 |
+ "yellowId": "@test_channel_001", |
|
| 191 |
+ |
|
| 192 |
+ "frstRegistPnttm": "2025-09-09 12:44:21", |
|
| 193 |
+ |
|
| 194 |
+ "frstRegisterId": "test_id_one" |
|
| 195 |
+ |
|
| 196 |
+ }, |
|
| 197 |
+ |
|
| 198 |
+ {
|
|
| 199 |
+ |
|
| 200 |
+ "senderKey": "test_sender_key_002", |
|
| 201 |
+ |
|
| 202 |
+ "phoneNumber": "02-1234-0001", |
|
| 203 |
+ |
|
| 204 |
+ "yellowId": "@test_channel_002", |
|
| 205 |
+ |
|
| 206 |
+ "frstRegistPnttm": "2025-09-09 12:44:21", |
|
| 207 |
+ |
|
| 208 |
+ "frstRegisterId": "test_id_tow" |
|
| 209 |
+ |
|
| 210 |
+ } |
|
| 211 |
+ |
|
| 212 |
+ ], |
|
| 213 |
+ |
|
| 214 |
+ "localDateTime": "2025-09-09T12:44:21.624464" |
|
| 215 |
+ |
|
| 216 |
+} |
|
| 217 |
+ </code> |
|
| 218 |
+ </pre> |
|
| 219 |
+ </div> |
|
| 220 |
+ </div> |
|
| 221 |
+ |
|
| 222 |
+ <div class="box"> |
|
| 223 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 224 |
+ <div class="code_view"> |
|
| 225 |
+ <pre><code class="language-json"> |
|
| 226 |
+{
|
|
| 227 |
+ |
|
| 228 |
+ "resultCode": "2099", |
|
| 229 |
+ |
|
| 230 |
+ "data": "기타 시스템 오류" |
|
| 231 |
+ |
|
| 232 |
+} |
|
| 233 |
+ </code></pre> |
|
| 234 |
+ </div> |
|
| 235 |
+ </div> |
|
| 236 |
+ <!-- // Response --> |
|
| 213 | 237 |
</div> |
| 214 | 238 |
<!--// Response--> |
| 215 |
-</div> |
|
| 216 | 239 |
|
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab2.jsp
... | ... | @@ -1,232 +1,326 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 3 |
+ |
|
| 4 |
+ |
|
| 5 |
+<ul class="info"> |
|
| 6 |
+ <li>- API를 통해서 카카오 친구톡(FT)을 발송할 수 있습니다.</li> |
|
| 7 |
+ <li>- 버튼 타입은 <b>WL(웹링크), AL(앱링크)</b>만 지원합니다.</li> |
|
| 8 |
+ <li>- 대체문자(subMsgTxt) 발송 여부는 subMsgSendYn으로 제어합니다.</li> |
|
| 9 |
+</ul> |
|
| 10 |
+<div class="re_cont"> |
|
| 11 |
+ <!-- Request --> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port, Endpoint 정보 테이블</caption> |
|
| 18 |
+ <colgroup> |
|
| 19 |
+ <col style="width:20%;"> |
|
| 20 |
+ <col style="width:80%;"> |
|
| 21 |
+ </colgroup> |
|
| 22 |
+ <tr> |
|
| 23 |
+ <th>Http Method</th> |
|
| 24 |
+ <td>POST</td> |
|
| 25 |
+ </tr> |
|
| 26 |
+ <tr> |
|
| 27 |
+ <th>프로토콜</th> |
|
| 28 |
+ <td>HTTPS/1.1</td> |
|
| 29 |
+ </tr> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <th>HOST</th> |
|
| 32 |
+ <td>api.munjaon.co.kr</td> |
|
| 33 |
+ </tr> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th>Service Port</th> |
|
| 36 |
+ <td>443</td> |
|
| 37 |
+ </tr> |
|
| 38 |
+ <tr> |
|
| 39 |
+ <th>Endpoint</th> |
|
| 40 |
+ <td>/api/kakao/ft/sendMsg</td> |
|
| 41 |
+ </tr> |
|
| 42 |
+ </table> |
|
| 43 |
+ </div> |
|
| 44 |
+ </div> |
|
| 45 |
+ |
|
| 46 |
+ <div class="type_table"> |
|
| 47 |
+ <table> |
|
| 48 |
+ <caption>친구톡 발송 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 49 |
+ <colgroup> |
|
| 50 |
+ <col style="width:20%;"> |
|
| 51 |
+ <col style="width:45%;"> |
|
| 52 |
+ <col style="width:25%"> |
|
| 53 |
+ <col style="width:10%"> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <thead> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>키</th> |
|
| 58 |
+ <th>설명</th> |
|
| 59 |
+ <th>타입</th> |
|
| 60 |
+ <th>필수</th> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </thead> |
|
| 63 |
+ <tbody> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td><span class="font_b">mberId</span></td> |
|
| 66 |
+ <td>사용자 ID</td> |
|
| 67 |
+ <td>String</td> |
|
| 68 |
+ <td><span class="select_o">O</span></td> |
|
| 69 |
+ </tr> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 72 |
+ <td>인증용 API Key</td> |
|
| 73 |
+ <td>String</td> |
|
| 74 |
+ <td><span class="select_o">O</span></td> |
|
| 75 |
+ </tr> |
|
| 76 |
+ <tr> |
|
| 77 |
+ <td><span class="font_b">senderKey</span></td> |
|
| 78 |
+ <td>발신 프로필 SenderKey</td> |
|
| 79 |
+ <td>String</td> |
|
| 80 |
+ <td><span class="select_o">O</span></td> |
|
| 81 |
+ </tr> |
|
| 82 |
+ <tr> |
|
| 83 |
+ <td><span class="font_b">adFlag</span></td> |
|
| 84 |
+ <td>광고 여부 (Y/N)</td> |
|
| 85 |
+ <td>String</td> |
|
| 86 |
+ <td><span class="select_o">O</span></td> |
|
| 87 |
+ </tr> |
|
| 88 |
+ <tr> |
|
| 89 |
+ <td><span class="font_b">subMsgSendYn</span></td> |
|
| 90 |
+ <td>대체문자 발송 여부 (Y/N)</td> |
|
| 91 |
+ <td>String</td> |
|
| 92 |
+ <td><span class="select_x">X</span></td> |
|
| 93 |
+ </tr> |
|
| 94 |
+ <tr> |
|
| 95 |
+ <td><span class="font_b">callFrom</span></td> |
|
| 96 |
+ <td>발신자 번호</td> |
|
| 97 |
+ <td>String</td> |
|
| 98 |
+ <td><span class="select_o">O</span></td> |
|
| 99 |
+ </tr> |
|
| 100 |
+ <tr> |
|
| 101 |
+ <td><span class="font_b">callTo_[i]</span></td> |
|
| 102 |
+ <td>수신자 번호</td> |
|
| 103 |
+ <td>String</td> |
|
| 104 |
+ <td><span class="select_o">O</span></td> |
|
| 105 |
+ </tr> |
|
| 106 |
+ <tr> |
|
| 107 |
+ <td><span class="font_b">templateContent_[i]</span></td> |
|
| 108 |
+ <td>친구톡 본문</td> |
|
| 109 |
+ <td>String</td> |
|
| 110 |
+ <td><span class="select_o">O</span></td> |
|
| 111 |
+ </tr> |
|
| 112 |
+ <tr> |
|
| 113 |
+ <td><span class="font_b">templateImage</span></td> |
|
| 114 |
+ <td>친구톡 이미지(PNG,JPG)</td> |
|
| 115 |
+ <td>File</td> |
|
| 116 |
+ <td><span class="select_x">X</span></td> |
|
| 117 |
+ </tr> |
|
| 118 |
+ <tr> |
|
| 119 |
+ <td><span class="font_b">subMsgTxt_[i]</span></td> |
|
| 120 |
+ <td>대체문자 내용</td> |
|
| 121 |
+ <td>String</td> |
|
| 122 |
+ <td><span class="select_x">X</span></td> |
|
| 123 |
+ </tr> |
|
| 124 |
+ <tr> |
|
| 125 |
+ <td><span class="font_b">button</span></td> |
|
| 126 |
+ <td>버튼 JSON 문자열(AL:앱링크, WL:웹링크 지원)</td> |
|
| 127 |
+ <td>String(JSON)</td> |
|
| 128 |
+ <td><span class="select_x">X</span></td> |
|
| 129 |
+ </tr> |
|
| 130 |
+ <tr> |
|
| 131 |
+ <td><span class="font_b">test_yn</span></td> |
|
| 132 |
+ <td>테스트 데이터 여부 (YS: 성공 테스트, YF: 실패 테스트)</td> |
|
| 133 |
+ <td>String</td> |
|
| 134 |
+ <td><span class="select_x">X</span></td> |
|
| 135 |
+ </tr> |
|
| 136 |
+ </tbody> |
|
| 137 |
+ </table> |
|
| 138 |
+ <div class="table_info"> |
|
| 139 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 140 |
+ <p>※ Content-Type: application/json</p> |
|
| 141 |
+ </div> |
|
| 142 |
+ </div> |
|
| 143 |
+ |
|
| 144 |
+ <div class="box"> |
|
| 145 |
+ <div class="title">[Example]</div> |
|
| 146 |
+ <div class="code_view"> |
|
| 147 |
+ <pre> |
|
| 148 |
+ <code class="language-json"> |
|
| 149 |
+{
|
|
| 150 |
+ |
|
| 151 |
+ "mberId": "dudgusw", |
|
| 152 |
+ |
|
| 153 |
+ "accessKey": "3429312e6a2c732188d4cc7d15d8a1baa01d8d91", |
|
| 154 |
+ |
|
| 155 |
+ "senderKey": "e42e34ee013147720711b4add6d181adbe4ce45f", |
|
| 156 |
+ |
|
| 157 |
+ "adFlag": "N", |
|
| 158 |
+ |
|
| 159 |
+ "subMsgSendYn": "Y", |
|
| 160 |
+ |
|
| 161 |
+ "callFrom": "010-9341-4986", |
|
| 162 |
+ |
|
| 163 |
+ "callTo_1": "01083584250", |
|
| 164 |
+ |
|
| 165 |
+ "callTo_2": "01083584251", |
|
| 166 |
+ |
|
| 167 |
+ "templateContent_1": "친구톡 본문 1", |
|
| 168 |
+ |
|
| 169 |
+ "templateContent_2": "친구톡 본문 2", |
|
| 170 |
+ |
|
| 171 |
+ "subMsgTxt_1": "대체문자 발송1", |
|
| 172 |
+ |
|
| 173 |
+ "subMsgTxt_2": "대체문자 발송2", |
|
| 174 |
+ |
|
| 175 |
+ "{ button": [
|
|
| 176 |
+ |
|
| 177 |
+ {
|
|
| 178 |
+ |
|
| 179 |
+ "name": "주문조회", |
|
| 2 | 180 |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- API를 통해서 다른 내용의 문자를 대량으로 전송할 수 있습니다.</li> |
|
| 5 |
- <li>- 발신번호는 문자온 사이트를 통해 사전등록 후 이용하실 수 있습니다.(마이페이지-발신번호 관리 메뉴 이용)</li> |
|
| 6 |
- <li>- 문자 내용이 "90byte"를 초과하는 경우 장문(LMS)으로 자동 전환됩니다.</li> |
|
| 7 |
- </ul> |
|
| 181 |
+ "linkType": "WL", |
|
| 182 |
+ |
|
| 183 |
+ "linkPc": "PC 링크", |
|
| 184 |
+ |
|
| 185 |
+ "linkMo": "모바일 링크" |
|
| 186 |
+ |
|
| 187 |
+ }, |
|
| 188 |
+ |
|
| 189 |
+ {
|
|
| 190 |
+ |
|
| 191 |
+ "name": "앱 열기", |
|
| 192 |
+ |
|
| 193 |
+ "linkType": "AL", |
|
| 194 |
+ |
|
| 195 |
+ "linkIos": "ios링크", |
|
| 196 |
+ |
|
| 197 |
+ "linkAnd": "Android 링크" |
|
| 198 |
+ |
|
| 199 |
+ } |
|
| 200 |
+ ]}" |
|
| 201 |
+} |
|
| 202 |
+ </code> |
|
| 203 |
+ </pre> |
|
| 204 |
+ </div> |
|
| 205 |
+ </div> |
|
| 206 |
+ <!-- // Request --> |
|
| 8 | 207 |
|
| 9 |
- <div class="re_cont"> |
|
| 10 |
- <!--Request--> |
|
| 11 |
- <div class="req_title">Request</div> |
|
| 12 |
- <div class="box"> |
|
| 13 |
- <div class="text"> |
|
| 14 |
- <h4>Request</h4> |
|
| 15 |
- <table> |
|
| 16 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 17 |
- <colgroup> |
|
| 18 |
- <col style="width:20%;"> |
|
| 19 |
- <col style="width:80%;"> |
|
| 20 |
- </colgroup> |
|
| 21 |
- <tr> |
|
| 22 |
- <th>Http Method</th> |
|
| 23 |
- <td>POST</td> |
|
| 24 |
- </tr> |
|
| 25 |
- <tr> |
|
| 26 |
- <th>프로토콜</th> |
|
| 27 |
- <td>HTTP/1.1</td> |
|
| 28 |
- </tr> |
|
| 29 |
- <tr> |
|
| 30 |
- <th>HOST</th> |
|
| 31 |
- <td>api.munjaon.co.kr</td> |
|
| 32 |
- </tr> |
|
| 33 |
- <tr> |
|
| 34 |
- <th>Service Port</th> |
|
| 35 |
- <td>443</td> |
|
| 36 |
- </tr> |
|
| 37 |
- </table> |
|
| 38 |
- </div> |
|
| 39 |
- </div> |
|
| 40 |
- <div class="type_table"> |
|
| 41 |
- <table> |
|
| 42 |
- <caption>문자발송 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 43 |
- <colgroup> |
|
| 44 |
- <col style="width: 20%;"> |
|
| 45 |
- <col style="width: 45%;"> |
|
| 46 |
- <col style="width: 25%"> |
|
| 47 |
- <col style="width: 10%"> |
|
| 48 |
- </colgroup> |
|
| 49 |
- <thead> |
|
| 50 |
- <tr> |
|
| 51 |
- <th>키</th> |
|
| 52 |
- <th>설명</th> |
|
| 53 |
- <th>타입</th> |
|
| 54 |
- <th>필수</th> |
|
| 55 |
- </tr> |
|
| 56 |
- </thead> |
|
| 57 |
- <tbody> |
|
| 58 |
- <tr> |
|
| 59 |
- <td><span class="font_b">mberId</span></td> |
|
| 60 |
- <td>사용자 ID</td> |
|
| 61 |
- <td>String</td> |
|
| 62 |
- <td><span class="select_o">O</span></td> |
|
| 63 |
- </tr> |
|
| 64 |
- <tr> |
|
| 65 |
- <td><span class="font_b">accessKey</span></td> |
|
| 66 |
- <td>인증용 API Key</td> |
|
| 67 |
- <td>String</td> |
|
| 68 |
- <td><span class="select_o">O</span></td> |
|
| 69 |
- </tr> |
|
| 70 |
- <tr> |
|
| 71 |
- <td><span class="font_b">senderKey</span></td> |
|
| 72 |
- <td>발신 프로필 Key</td> |
|
| 73 |
- <td>String</td> |
|
| 74 |
- <td><span class="select_o">O</span></td> |
|
| 75 |
- </tr> |
|
| 76 |
- </tbody> |
|
| 77 |
- </table> |
|
| 78 |
- <div class="table_info"> |
|
| 79 |
- <p>※ 문자 텍스트 용량(byte) : 한글 1자당 2byte, 영문/숫자 1자당 1byte</p> |
|
| 80 |
- </div> |
|
| 81 |
- </div> |
|
| 82 |
- <div class="box"> |
|
| 83 |
- <div class="title">[Example]</div> |
|
| 84 |
- <div class="code_view"> |
|
| 85 |
- <p>{</p> |
|
| 86 |
- <div class="indent"> |
|
| 87 |
- <p><span>"mberId"</span>:"홍길동"</p> |
|
| 88 |
- <p>,<span>"accessKey"</span>:"414050694b953XXXXXXXXXXXXXX"</p> |
|
| 89 |
- <p>,<span>"senderKey"</span>:"669143473b1af459628b8bdXXXXXXXXXXXXXX"</p> |
|
| 90 |
- </div> |
|
| 91 |
- <p class="l_code">}</p> |
|
| 92 |
- </div> |
|
| 93 |
- </div> |
|
| 94 |
- <!--// Request--> |
|
| 95 |
- <!-- Response--> |
|
| 96 |
- <div class="res_title">Response</div> |
|
| 97 |
- <div class="type_table"> |
|
| 98 |
- <table> |
|
| 99 |
- <caption>문자발송(대량) API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 100 |
- <colgroup> |
|
| 101 |
- <col style="width:20%;"> |
|
| 102 |
- <col style="width:60%;"> |
|
| 103 |
- <col style="width:20%;"> |
|
| 104 |
- </colgroup> |
|
| 105 |
- <thead> |
|
| 106 |
- <tr> |
|
| 107 |
- <th>키</th> |
|
| 108 |
- <th>설명</th> |
|
| 109 |
- <th>타입</th> |
|
| 110 |
- </tr> |
|
| 111 |
- </thead> |
|
| 112 |
- <tbody> |
|
| 113 |
- <tr> |
|
| 114 |
- <td><span class="font_b">resultCode</span></td> |
|
| 115 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 116 |
- <td>String</td> |
|
| 117 |
- </tr> |
|
| 118 |
- <tr> |
|
| 119 |
- <td><span class="font_b">data</span></td> |
|
| 120 |
- <td>템플릿 정보 리스트</td> |
|
| 121 |
- <td>Array</td> |
|
| 122 |
- </tr> |
|
| 123 |
- <tr> |
|
| 124 |
- <td><span class="font_b">[data].senderKey</span></td> |
|
| 125 |
- <td>발신 프로필 키</td> |
|
| 126 |
- <td>String</td> |
|
| 127 |
- </tr> |
|
| 128 |
- <tr> |
|
| 129 |
- <td><span class="font_b">[data].templateCode</span></td> |
|
| 130 |
- <td>템플릿 코드</td> |
|
| 131 |
- <td>String</td> |
|
| 132 |
- </tr> |
|
| 133 |
- <tr> |
|
| 134 |
- <td><span class="font_b">[data].templateName</span></td> |
|
| 135 |
- <td>템플릿 이름</td> |
|
| 136 |
- <td>String</td> |
|
| 137 |
- </tr> |
|
| 138 |
- <tr> |
|
| 139 |
- <td><span class="font_b">[data].createdAt</span></td> |
|
| 140 |
- <td>생성일시</td> |
|
| 141 |
- <td>String</td> |
|
| 142 |
- </tr> |
|
| 143 |
- <tr> |
|
| 144 |
- <td><span class="font_b">[data].modifiedAt</span></td> |
|
| 145 |
- <td>수정일시</td> |
|
| 146 |
- <td>String</td> |
|
| 147 |
- </tr> |
|
| 148 |
- <tr> |
|
| 149 |
- <td><span class="font_b">[data].serviceStatus</span></td> |
|
| 150 |
- <td>템플릿 상태 <br>(REG: 등록, REQ: 검수요청, REJ: 반려, |
|
| 151 |
-STP: 차단, RDY: 발송전, ACT: 정상, DMT: 휴면, BLK: |
|
| 152 |
-차단)</td> |
|
| 153 |
- <td>String</td> |
|
| 154 |
- </tr> |
|
| 155 |
- </tbody> |
|
| 156 |
- </table> |
|
| 157 |
- <div class="table_info"> |
|
| 158 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 159 |
- </div> |
|
| 160 |
- </div> |
|
| 161 |
- <div class="box"> |
|
| 162 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 208 |
+ <!-- Response --> |
|
| 209 |
+ <div class="res_title">Response</div> |
|
| 210 |
+ <div class="type_table"> |
|
| 211 |
+ <table> |
|
| 212 |
+ <caption>친구톡 발송 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 213 |
+ <colgroup> |
|
| 214 |
+ <col style="width:20%;"> |
|
| 215 |
+ <col style="width:60%;"> |
|
| 216 |
+ <col style="width:20%;"> |
|
| 217 |
+ </colgroup> |
|
| 218 |
+ <thead> |
|
| 219 |
+ <tr> |
|
| 220 |
+ <th>키</th> |
|
| 221 |
+ <th>설명</th> |
|
| 222 |
+ <th>타입</th> |
|
| 223 |
+ </tr> |
|
| 224 |
+ <thead> |
|
| 225 |
+ <tbody> |
|
| 226 |
+ <tr> |
|
| 227 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 228 |
+ <td>성공 여부("0" 이외는 실패)</td>
|
|
| 229 |
+ <td>String</td> |
|
| 230 |
+ </tr> |
|
| 231 |
+ <tr> |
|
| 232 |
+ <td><span class="font_b">data</span></td> |
|
| 233 |
+ <td>발송 결과 객체</td> |
|
| 234 |
+ <td>Object</td> |
|
| 235 |
+ </tr> |
|
| 236 |
+ <tr> |
|
| 237 |
+ <td><span class="font_b">[data].resultCode</span></td> |
|
| 238 |
+ <td>내부 처리 결과("0": 성공)</td>
|
|
| 239 |
+ <td>String</td> |
|
| 240 |
+ </tr> |
|
| 241 |
+ <tr> |
|
| 242 |
+ <td><span class="font_b">[data].msgType</span></td> |
|
| 243 |
+ <td>메시지 타입(FT: 친구톡)</td> |
|
| 244 |
+ <td>String</td> |
|
| 245 |
+ </tr> |
|
| 246 |
+ <tr> |
|
| 247 |
+ <td><span class="font_b">[data].msgGroupIdList</span></td> |
|
| 248 |
+ <td>발송된 메시지 그룹 ID 목록</td> |
|
| 249 |
+ <td>Array<String></td> |
|
| 250 |
+ </tr> |
|
| 251 |
+ <tr> |
|
| 252 |
+ <td><span class="font_b">[data].successCnt</span></td> |
|
| 253 |
+ <td>성공 건수</td> |
|
| 254 |
+ <td>String | Number</td> |
|
| 255 |
+ </tr> |
|
| 256 |
+ <tr> |
|
| 257 |
+ <td><span class="font_b">[data].failCnt</span></td> |
|
| 258 |
+ <td>실패 건수</td> |
|
| 259 |
+ <td>String | Number</td> |
|
| 260 |
+ </tr> |
|
| 261 |
+ <tr> |
|
| 262 |
+ <td><span class="font_b">localDateTime</span></td> |
|
| 263 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 264 |
+ <td>String</td> |
|
| 265 |
+ </tr> |
|
| 266 |
+ </tbody> |
|
| 267 |
+ </table> |
|
| 268 |
+ <div class="table_info"> |
|
| 269 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 270 |
+ </div> |
|
| 271 |
+ </div> |
|
| 163 | 272 |
|
| 164 |
- <div class="code_view"> |
|
| 165 |
- <p>{</p> |
|
| 166 |
- <div class="indent"> |
|
| 167 |
- <p> |
|
| 168 |
- <span>"resultCode"</span>:"0" |
|
| 169 |
- </p> |
|
| 170 |
- <p> |
|
| 171 |
- ,<span>"data"</span>{ |
|
| 172 |
- </p> |
|
| 173 |
- <div class="indent_t1"> |
|
| 174 |
- <p> |
|
| 175 |
- ,<span>"senderKey"</span>:"669143473b1af459628xxxxxxxxxxxxxxxxxxxxx" |
|
| 176 |
- </p> |
|
| 177 |
- <p> |
|
| 178 |
- ,<span>"templateCode"</span>:"bizp_20250527112232xxxxxxxxxxxxx" |
|
| 179 |
- </p> |
|
| 180 |
- <p> |
|
| 181 |
- ,<span>"templateName"</span>:"템플릿 명" |
|
| 182 |
- </p> |
|
| 183 |
- <p> |
|
| 184 |
- ,<span>"createdAt"</span>:"2025-05-27 11:22:33" |
|
| 185 |
- </p> |
|
| 186 |
- <p> |
|
| 187 |
- ,<span>"modifiedAt"</span>:"2025-05-27 11:22:33" |
|
| 188 |
- </p> |
|
| 189 |
- <p> |
|
| 190 |
- ,<span>"serviceStatus"</span>:"REG(등록완료)" |
|
| 191 |
- </p> |
|
| 192 |
- </div> |
|
| 193 |
- <p>}</p> |
|
| 194 |
- <p>,{</p> |
|
| 195 |
- <div class="indent_t1"> |
|
| 196 |
- <p> |
|
| 197 |
- ,<span>"senderKey"</span>:"669143473b1af459628xxxxxxxxxxxxxxxxxxxxx" |
|
| 198 |
- </p> |
|
| 199 |
- <p> |
|
| 200 |
- ,<span>"templateCode"</span>:"bizp_20250527112232xxxxxxxxxxxxx" |
|
| 201 |
- </p> |
|
| 202 |
- <p> |
|
| 203 |
- ,<span>"templateName"</span>:"템플릿 명2" |
|
| 204 |
- </p> |
|
| 205 |
- <p> |
|
| 206 |
- ,<span>"createdAt"</span>:"2025-05-27 11:22:33" |
|
| 207 |
- </p> |
|
| 208 |
- <p> |
|
| 209 |
- ,<span>"modifiedAt"</span>:"2025-05-27 11:22:33" |
|
| 210 |
- </p> |
|
| 211 |
- <p> |
|
| 212 |
- ,<span>"serviceStatus"</span>:"RDY(대기)" |
|
| 213 |
- </p> |
|
| 214 |
- </div> |
|
| 215 |
- <p>}</p> |
|
| 216 |
- </div> |
|
| 217 |
- <p class="l_code">}</p> |
|
| 218 |
- </div> |
|
| 219 |
- </div> |
|
| 220 |
- <div class="box"> |
|
| 221 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 222 |
- <div class="code_view"> |
|
| 223 |
- <p>{</p> |
|
| 224 |
- <div class="indent"> |
|
| 225 |
- <p><span>"resultCode"</span>:"4099"</p> |
|
| 226 |
- <p>,<span>"msg"</span>:"기타 시스템 오류"</p> |
|
| 227 |
- </div> |
|
| 228 |
- <p class="l_code">}</p> |
|
| 229 |
- </div> |
|
| 230 |
- </div> |
|
| 231 |
- <!--// Response--> |
|
| 232 |
- </div> |
|
| 273 |
+ <div class="box"> |
|
| 274 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 275 |
+ <div class="code_view"> |
|
| 276 |
+ <pre> |
|
| 277 |
+ <code class="language-json"> |
|
| 278 |
+{
|
|
| 279 |
+ "resultCode": "0", |
|
| 280 |
+ |
|
| 281 |
+ "data": {
|
|
| 282 |
+ |
|
| 283 |
+ "resultCode": "0", |
|
| 284 |
+ |
|
| 285 |
+ "msgType": "FT", |
|
| 286 |
+ |
|
| 287 |
+ "msgGroupIdList": [ |
|
| 288 |
+ |
|
| 289 |
+ "MSGGID_1758008282543", |
|
| 290 |
+ |
|
| 291 |
+ "MSGGID_1758008282543" |
|
| 292 |
+ |
|
| 293 |
+ ], |
|
| 294 |
+ |
|
| 295 |
+ "successCnt": "2", |
|
| 296 |
+ |
|
| 297 |
+ "failCnt": "0" |
|
| 298 |
+ |
|
| 299 |
+ }, |
|
| 300 |
+ |
|
| 301 |
+ "localDateTime": "2025-09-16T16:38:02.5436925" |
|
| 302 |
+ |
|
| 303 |
+} |
|
| 304 |
+ </code> |
|
| 305 |
+ </pre> |
|
| 306 |
+ </div> |
|
| 307 |
+ </div> |
|
| 308 |
+ |
|
| 309 |
+ <div class="box"> |
|
| 310 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 311 |
+ <div class="code_view"> |
|
| 312 |
+ <pre><code class="language-json"> |
|
| 313 |
+{
|
|
| 314 |
+ |
|
| 315 |
+ "resultCode": "4420", |
|
| 316 |
+ |
|
| 317 |
+ "data": "버튼 타입은 WL/AL만 지원합니다.(button.linkType)" |
|
| 318 |
+ |
|
| 319 |
+} |
|
| 320 |
+ </code></pre> |
|
| 321 |
+ </div> |
|
| 322 |
+ </div> |
|
| 323 |
+ <!-- // Response --> |
|
| 324 |
+ </div> |
|
| 325 |
+ <!--// Response--> |
|
| 326 |
+</div> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab3.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab3.jsp
... | ... | @@ -1,331 +1,433 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 3 |
+ |
|
| 4 |
+<ul class="info"> |
|
| 5 |
+ <li>- 문자온 사이트 및 API를 통해 전송된 발송내역을 조회할 수 있습니다.</li> |
|
| 6 |
+ <li>- 문자 발송내역은 날짜별로 조회되며, 최근 3개월까지만 조회 가능합니다.</li> |
|
| 7 |
+ <li>- 발신번호별 문자 발송내역 조회 기능은 제공되지 않습니다.</li> |
|
| 8 |
+</ul> |
|
| 9 |
+ |
|
| 10 |
+<div class="re_cont"> |
|
| 11 |
+ <!--Request--> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 18 |
+ <colgroup> |
|
| 19 |
+ <col style="width:20%;"> |
|
| 20 |
+ <col style="width:80%;"> |
|
| 21 |
+ </colgroup> |
|
| 22 |
+ <tr> |
|
| 23 |
+ <th>Http Method</th> |
|
| 24 |
+ <td>POST</td> |
|
| 25 |
+ </tr> |
|
| 26 |
+ <tr> |
|
| 27 |
+ <th>프로토콜</th> |
|
| 28 |
+ <td>HTTPS/1.1</td> |
|
| 29 |
+ </tr> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <th>HOST</th> |
|
| 32 |
+ <td>api.munjaon.co.kr</td> |
|
| 33 |
+ </tr> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th>Service Port</th> |
|
| 36 |
+ <td>443</td> |
|
| 37 |
+ </tr> |
|
| 38 |
+ <tr> |
|
| 39 |
+ <th>Endpoint</th> |
|
| 40 |
+ <td>/api/inqry/hstry</td> |
|
| 41 |
+ </tr> |
|
| 42 |
+ </table> |
|
| 43 |
+ </div> |
|
| 44 |
+ </div> |
|
| 45 |
+ |
|
| 46 |
+ <div class="type_table"> |
|
| 47 |
+ <table> |
|
| 48 |
+ <caption>전송결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 49 |
+ <colgroup> |
|
| 50 |
+ <col style="width:20%;"> |
|
| 51 |
+ <col style="width:45%;"> |
|
| 52 |
+ <col style="width:25%"> |
|
| 53 |
+ <col style="width:10%"> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <thead> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>키</th> |
|
| 58 |
+ <th>설명</th> |
|
| 59 |
+ <th>타입</th> |
|
| 60 |
+ <th>필수</th> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </thead> |
|
| 63 |
+ <tbody> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td><span class="font_b">mberId</span></td> |
|
| 66 |
+ <td>사용자 ID</td> |
|
| 67 |
+ <td>String</td> |
|
| 68 |
+ <td><span class="select_o">O</span></td> |
|
| 69 |
+ </tr> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 72 |
+ <td>인증용 API Key</td> |
|
| 73 |
+ <td>String</td> |
|
| 74 |
+ <td><span class="select_o">O</span></td> |
|
| 75 |
+ </tr> |
|
| 76 |
+ <tr> |
|
| 77 |
+ <td><span class="font_b">page</span></td> |
|
| 78 |
+ <td>페이지 번호(미입력 시 1)</td> |
|
| 79 |
+ <td>String</td> |
|
| 80 |
+ <td><span class="select_x">X</span></td> |
|
| 81 |
+ </tr> |
|
| 82 |
+ <tr> |
|
| 83 |
+ <td><span class="font_b">pageSize</span></td> |
|
| 84 |
+ <td>페이지당 출력 개수(미입력 시 기본값 적용)</td> |
|
| 85 |
+ <td>String</td> |
|
| 86 |
+ <td><span class="select_x">X</span></td> |
|
| 87 |
+ </tr> |
|
| 88 |
+ <tr> |
|
| 89 |
+ <td><span class="font_b">startDate</span></td> |
|
| 90 |
+ <td>시작 일자(yyyyMMdd)</td> |
|
| 91 |
+ <td>String</td> |
|
| 92 |
+ <td><span class="select_x">X</span></td> |
|
| 93 |
+ </tr> |
|
| 94 |
+ <tr> |
|
| 95 |
+ <td><span class="font_b">endDate</span></td> |
|
| 96 |
+ <td>마감 일자(yyyyMMdd)</td> |
|
| 97 |
+ <td>String</td> |
|
| 98 |
+ <td><span class="select_x">X</span></td> |
|
| 99 |
+ </tr> |
|
| 100 |
+ <tr> |
|
| 101 |
+ <td><span class="font_b">test_yn</span></td> |
|
| 102 |
+ <td>테스트 데이터 여부</td> |
|
| 103 |
+ <td>String</td> |
|
| 104 |
+ <td><span class="select_x">X</span></td> |
|
| 105 |
+ </tr> |
|
| 106 |
+ </tbody> |
|
| 107 |
+ </table> |
|
| 108 |
+ <div class="table_info"> |
|
| 109 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 110 |
+ <p>※ Content-Type: application/json</p> |
|
| 111 |
+ </div> |
|
| 112 |
+ </div> |
|
| 113 |
+ |
|
| 114 |
+ <div class="box"> |
|
| 115 |
+ <div class="title">[Example]</div> |
|
| 116 |
+ <div class="code_view"> |
|
| 117 |
+ <pre> |
|
| 118 |
+ <code class="language-json"> |
|
| 119 |
+{
|
|
| 120 |
+ |
|
| 121 |
+ "mberId": "홍길동", |
|
| 122 |
+ |
|
| 123 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 124 |
+ |
|
| 125 |
+ "page": "", |
|
| 126 |
+ |
|
| 127 |
+ "pageSize": "", |
|
| 128 |
+ |
|
| 129 |
+ "startDate": "", |
|
| 130 |
+ |
|
| 131 |
+ "endDate": "", |
|
| 132 |
+ |
|
| 133 |
+ "test_yn": "" |
|
| 134 |
+} |
|
| 135 |
+ </code> |
|
| 136 |
+ </pre> |
|
| 137 |
+ </div> |
|
| 138 |
+ </div> |
|
| 139 |
+ <!--// Request--> |
|
| 140 |
+ |
|
| 141 |
+ <!-- Response--> |
|
| 142 |
+ <div class="res_title">Response</div> |
|
| 143 |
+ <div class="type_table"> |
|
| 144 |
+ <table> |
|
| 145 |
+ <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 146 |
+ <colgroup> |
|
| 147 |
+ <col style="width:20%;"> |
|
| 148 |
+ <col style="width:60%;"> |
|
| 149 |
+ <col style="width:20%;"> |
|
| 150 |
+ </colgroup> |
|
| 151 |
+ <thead> |
|
| 152 |
+ <tr> |
|
| 153 |
+ <th>키</th> |
|
| 154 |
+ <th>설명</th> |
|
| 155 |
+ <th>타입</th> |
|
| 156 |
+ </tr> |
|
| 157 |
+ </thead> |
|
| 158 |
+ <tbody> |
|
| 159 |
+ <tr> |
|
| 160 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 161 |
+ <td>성공 여부("0" 아니면 실패)</td>
|
|
| 162 |
+ <td>String</td> |
|
| 163 |
+ </tr> |
|
| 164 |
+ <tr> |
|
| 165 |
+ <td><span class="font_b">data</span></td> |
|
| 166 |
+ <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 167 |
+ <td>Object | String</td> |
|
| 168 |
+ </tr> |
|
| 169 |
+ <tr> |
|
| 170 |
+ <td><span class="font_b">[data].message</span></td> |
|
| 171 |
+ <td>메시지(필요 시)</td> |
|
| 172 |
+ <td>String</td> |
|
| 173 |
+ </tr> |
|
| 174 |
+ <tr> |
|
| 175 |
+ <td><span class="font_b">[data].next_yn</span></td> |
|
| 176 |
+ <td>다음 페이지 여부(Y/N)</td> |
|
| 177 |
+ <td>String</td> |
|
| 178 |
+ </tr> |
|
| 179 |
+ <tr> |
|
| 180 |
+ <td><span class="font_b">[data].objectList</span></td> |
|
| 181 |
+ <td>결과값 목록</td> |
|
| 182 |
+ <td>Array<Object></td> |
|
| 183 |
+ </tr> |
|
| 184 |
+ <tr> |
|
| 185 |
+ <td><span class="font_b">[data].objectList[i].msgGroupId</span></td> |
|
| 186 |
+ <td>메시지 그룹 ID</td> |
|
| 187 |
+ <td>String</td> |
|
| 188 |
+ </tr> |
|
| 189 |
+ <tr> |
|
| 190 |
+ <td><span class="font_b">[data].objectList[i].msgId</span></td> |
|
| 191 |
+ <td>메시지 ID</td> |
|
| 192 |
+ <td>String</td> |
|
| 193 |
+ </tr> |
|
| 194 |
+ <tr> |
|
| 195 |
+ <td><span class="font_b">[data].objectList[i].msgTypeName</span></td> |
|
| 196 |
+ <td>문자 구분명(단문, 장문, 그림)</td> |
|
| 197 |
+ <td>String</td> |
|
| 198 |
+ </tr> |
|
| 199 |
+ <tr> |
|
| 200 |
+ <td><span class="font_b">[data].objectList[i].msgType</span></td> |
|
| 201 |
+ <td>메시지 타입(4: 단문, 5: 장문, 6: 그림)</td> |
|
| 202 |
+ <td>String | Number</td> |
|
| 203 |
+ </tr> |
|
| 204 |
+ <tr> |
|
| 205 |
+ <td><span class="font_b">[data].objectList[i].callFrom</span></td> |
|
| 206 |
+ <td>발신자 번호</td> |
|
| 207 |
+ <td>String</td> |
|
| 208 |
+ </tr> |
|
| 209 |
+ <tr> |
|
| 210 |
+ <td><span class="font_b">[data].objectList[i].callTo</span></td> |
|
| 211 |
+ <td>수신자 번호</td> |
|
| 212 |
+ <td>String</td> |
|
| 213 |
+ </tr> |
|
| 214 |
+ <tr> |
|
| 215 |
+ <td><span class="font_b">[data].objectList[i].msgGroupCnt</span></td> |
|
| 216 |
+ <td>발송 건수</td> |
|
| 217 |
+ <td>String | Number</td> |
|
| 218 |
+ </tr> |
|
| 219 |
+ <tr> |
|
| 220 |
+ <td><span class="font_b">[data].objectList[i].scnt</span></td> |
|
| 221 |
+ <td>성공 건수</td> |
|
| 222 |
+ <td>String | Number</td> |
|
| 223 |
+ </tr> |
|
| 224 |
+ <tr> |
|
| 225 |
+ <td><span class="font_b">[data].objectList[i].fcnt</span></td> |
|
| 226 |
+ <td>실패 건수</td> |
|
| 227 |
+ <td>String | Number</td> |
|
| 228 |
+ </tr> |
|
| 229 |
+ <tr> |
|
| 230 |
+ <td><span class="font_b">[data].objectList[i].wcnt</span></td> |
|
| 231 |
+ <td>대기 건수</td> |
|
| 232 |
+ <td>String | Number</td> |
|
| 233 |
+ </tr> |
|
| 234 |
+ <tr> |
|
| 235 |
+ <td><span class="font_b">[data].objectList[i].msgResult</span></td> |
|
| 236 |
+ <td>발송 결과(성공: S, 실패: F)</td> |
|
| 237 |
+ <td>String</td> |
|
| 238 |
+ </tr> |
|
| 239 |
+ <tr> |
|
| 240 |
+ <td><span class="font_b">[data].objectList[i].smsTxt</span></td> |
|
| 241 |
+ <td>문자 내용</td> |
|
| 242 |
+ <td>String</td> |
|
| 243 |
+ </tr> |
|
| 244 |
+ <tr> |
|
| 245 |
+ <td><span class="font_b">[data].objectList[i].subject</span></td> |
|
| 246 |
+ <td>제목</td> |
|
| 247 |
+ <td>String | null</td> |
|
| 248 |
+ </tr> |
|
| 249 |
+ <tr> |
|
| 250 |
+ <td><span class="font_b">[data].objectList[i].reqdate</span></td> |
|
| 251 |
+ <td>발송 일자(YYYY-MM-DD HH:mm:ss)</td> |
|
| 252 |
+ <td>String</td> |
|
| 253 |
+ </tr> |
|
| 254 |
+ <tr> |
|
| 255 |
+ <td><span class="font_b">[data].objectList[i].curState</span></td> |
|
| 256 |
+ <td>전송 처리 결과값</td> |
|
| 257 |
+ <td>String | Number</td> |
|
| 258 |
+ </tr> |
|
| 259 |
+ <tr> |
|
| 260 |
+ <td><span class="font_b">[data].objectList[i].userId</span></td> |
|
| 261 |
+ <td>사용자 ID</td> |
|
| 262 |
+ <td>String</td> |
|
| 263 |
+ </tr> |
|
| 264 |
+ <tr> |
|
| 265 |
+ <td><span class="font_b">[data].objectList[i].regdate</span></td> |
|
| 266 |
+ <td>등록 일자(YYYY-MM-DD HH:mm:ss)</td> |
|
| 267 |
+ <td>String</td> |
|
| 268 |
+ </tr> |
|
| 269 |
+ <tr> |
|
| 270 |
+ <td><span class="font_b">[data].objectList[i].reserveCYn</span></td> |
|
| 271 |
+ <td>예약 취소 여부(Y/N)</td> |
|
| 272 |
+ <td>String</td> |
|
| 273 |
+ </tr> |
|
| 274 |
+ <tr> |
|
| 275 |
+ <td><span class="font_b">[data].ttlCnt</span></td> |
|
| 276 |
+ <td>전체 요청 수</td> |
|
| 277 |
+ <td>String | Number</td> |
|
| 278 |
+ </tr> |
|
| 279 |
+ <tr> |
|
| 280 |
+ <td><span class="font_b">[data].remainMsgCnt</span></td> |
|
| 281 |
+ <td>남은 문자 건수</td> |
|
| 282 |
+ <td>String | Number</td> |
|
| 283 |
+ </tr> |
|
| 284 |
+ <tr> |
|
| 285 |
+ <td><span class="font_b">[data].totMsgCnt</span></td> |
|
| 286 |
+ <td>전체 문자 개수</td> |
|
| 287 |
+ <td>String | Number</td> |
|
| 288 |
+ </tr> |
|
| 289 |
+ </tbody> |
|
| 290 |
+ </table> |
|
| 291 |
+ <div class="table_info"> |
|
| 292 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 293 |
+ </div> |
|
| 294 |
+ </div> |
|
| 295 |
+ |
|
| 296 |
+ <div class="box"> |
|
| 297 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 298 |
+ <div class="code_view"> |
|
| 299 |
+ <pre> |
|
| 300 |
+ <code class="language-json"> |
|
| 301 |
+{
|
|
| 302 |
+ "resultCode": "0", |
|
| 303 |
+ |
|
| 304 |
+ "data": {
|
|
| 305 |
+ |
|
| 306 |
+ "resultCode": "0", |
|
| 307 |
+ |
|
| 308 |
+ "message": null, |
|
| 309 |
+ |
|
| 310 |
+ "next_yn": "n", |
|
| 311 |
+ |
|
| 312 |
+ "msgGroupId": "MSGGID_0000000000000", |
|
| 313 |
+ |
|
| 314 |
+ "objectList": [ |
|
| 315 |
+ |
|
| 316 |
+ {
|
|
| 2 | 317 |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 문자온 사이트 및 API를 통해 전송된 문자 발송내역을 조회할 수 있습니다.</li> |
|
| 5 |
- <li>- 문자 발송내역은 날짜별로 조회되며, 최근 3개월까지만 조회 가능합니다.</li> |
|
| 6 |
- <li>- 발신번호별 문자 발송내역 조회 기능은 제공되지 않습니다.</li> |
|
| 7 |
- </ul> |
|
| 318 |
+ "msgTypeName": "단문(SMS)", |
|
| 319 |
+ |
|
| 320 |
+ "msgType": "4", |
|
| 321 |
+ |
|
| 322 |
+ "callFrom": "01011112222", |
|
| 323 |
+ |
|
| 324 |
+ "callTo": "01011112223", |
|
| 325 |
+ |
|
| 326 |
+ "msgGroupCnt": "2", |
|
| 327 |
+ |
|
| 328 |
+ "msgGroupId": "MSGGID_0000000013340", |
|
| 329 |
+ |
|
| 330 |
+ "msgId": "MSGID_0000000000001", |
|
| 331 |
+ |
|
| 332 |
+ "scnt": "2", |
|
| 333 |
+ |
|
| 334 |
+ "fcnt": "0", |
|
| 335 |
+ |
|
| 336 |
+ "wcnt": "0", |
|
| 337 |
+ |
|
| 338 |
+ "msgResult": "S", |
|
| 339 |
+ |
|
| 340 |
+ "smsTxt": "문자 내용 단문 예제", |
|
| 341 |
+ |
|
| 342 |
+ "subject": null, |
|
| 343 |
+ |
|
| 344 |
+ "reqdate": "2023-06-13 17:48:07", |
|
| 345 |
+ |
|
| 346 |
+ "curState": "3", |
|
| 347 |
+ |
|
| 348 |
+ "userId": "testuser", |
|
| 349 |
+ |
|
| 350 |
+ "regdate": "2023-06-13 17:48:07", |
|
| 351 |
+ |
|
| 352 |
+ "reserveCYn": "N", |
|
| 353 |
+ |
|
| 354 |
+ "ttlCnt": "1", |
|
| 355 |
+ |
|
| 356 |
+ "remainMsgCnt": "40", |
|
| 357 |
+ |
|
| 358 |
+ "totMsgCnt": "70" |
|
| 359 |
+ |
|
| 360 |
+ }, |
|
| 361 |
+ |
|
| 362 |
+ {
|
|
| 363 |
+ |
|
| 364 |
+ "msgTypeName": "장문(LMS)", |
|
| 365 |
+ |
|
| 366 |
+ "msgType": "5", |
|
| 367 |
+ |
|
| 368 |
+ "callFrom": "01011112222", |
|
| 369 |
+ |
|
| 370 |
+ "callTo": "01011112223", |
|
| 371 |
+ |
|
| 372 |
+ "msgGroupCnt": "1", |
|
| 373 |
+ |
|
| 374 |
+ "msgGroupId": "MSGGID_0000000013341", |
|
| 375 |
+ |
|
| 376 |
+ "msgId": "MSGID_0000000000002", |
|
| 377 |
+ |
|
| 378 |
+ "scnt": "1", |
|
| 379 |
+ |
|
| 380 |
+ "fcnt": "0", |
|
| 381 |
+ |
|
| 382 |
+ "wcnt": "0", |
|
| 383 |
+ |
|
| 384 |
+ "msgResult": "S", |
|
| 385 |
+ |
|
| 386 |
+ "smsTxt": "문자 내용 장문 예제", |
|
| 387 |
+ |
|
| 388 |
+ "subject": null, |
|
| 389 |
+ |
|
| 390 |
+ "reqdate": "2023-06-02 11:46:50", |
|
| 391 |
+ |
|
| 392 |
+ "curState": "3", |
|
| 393 |
+ |
|
| 394 |
+ "userId": "testuser", |
|
| 395 |
+ |
|
| 396 |
+ "regdate": "2023-06-02 11:46:49", |
|
| 397 |
+ |
|
| 398 |
+ "reserveCYn": "N", |
|
| 399 |
+ |
|
| 400 |
+ "ttlCnt": "1", |
|
| 401 |
+ |
|
| 402 |
+ "remainMsgCnt": "40", |
|
| 403 |
+ |
|
| 404 |
+ "totMsgCnt": "70" |
|
| 405 |
+ |
|
| 406 |
+ } |
|
| 407 |
+ |
|
| 408 |
+ ] |
|
| 409 |
+ |
|
| 410 |
+ } |
|
| 411 |
+} |
|
| 412 |
+ </code> |
|
| 413 |
+ </pre> |
|
| 414 |
+ </div> |
|
| 415 |
+ </div> |
|
| 8 | 416 |
|
| 9 |
- <div class="re_cont"> |
|
| 10 |
- <!--Request--> |
|
| 11 |
- <div class="req_title">Request</div> |
|
| 12 |
- <div class="box"> |
|
| 13 |
- <div class="text"> |
|
| 14 |
- <h4>Request</h4> |
|
| 15 |
- <table> |
|
| 16 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 17 |
- <colgroup> |
|
| 18 |
- <col style="width:20%;"> |
|
| 19 |
- <col style="width:80%;"> |
|
| 20 |
- </colgroup> |
|
| 21 |
- <tr> |
|
| 22 |
- <th>Http Method</th> |
|
| 23 |
- <td>POST</td> |
|
| 24 |
- </tr> |
|
| 25 |
- <tr> |
|
| 26 |
- <th>프로토콜</th> |
|
| 27 |
- <td>HTTP/1.1</td> |
|
| 28 |
- </tr> |
|
| 29 |
- <tr> |
|
| 30 |
- <th>HOST</th> |
|
| 31 |
- <td>api.munjaon.co.kr</td> |
|
| 32 |
- </tr> |
|
| 33 |
- <tr> |
|
| 34 |
- <th>Service Port</th> |
|
| 35 |
- <td>443</td> |
|
| 36 |
- </tr> |
|
| 37 |
- </table> |
|
| 38 |
- </div> |
|
| 39 |
- </div> |
|
| 40 |
- <div class="type_table"> |
|
| 41 |
- <table> |
|
| 42 |
- <caption>전송결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 43 |
- <colgroup> |
|
| 44 |
- <col style="width:20%;"> |
|
| 45 |
- <col style="width:45%;"> |
|
| 46 |
- <col style="width:25%"> |
|
| 47 |
- <col style="width:10%"> |
|
| 48 |
- </colgroup> |
|
| 49 |
- <thead> |
|
| 50 |
- <tr> |
|
| 51 |
- <th>키</th> |
|
| 52 |
- <th>설명</th> |
|
| 53 |
- <th>타입</th> |
|
| 54 |
- <th>필수</th> |
|
| 55 |
- </tr> |
|
| 56 |
- </thead> |
|
| 57 |
- <tbody> |
|
| 58 |
- <tr> |
|
| 59 |
- <td><span class="font_b">mberId</span></td> |
|
| 60 |
- <td>사용자 ID</td> |
|
| 61 |
- <td>String</td> |
|
| 62 |
- <td><span class="select_o">O</span></td> |
|
| 63 |
- </tr> |
|
| 64 |
- <tr> |
|
| 65 |
- <td><span class="font_b">accessKey</span></td> |
|
| 66 |
- <td>인증용 API Key</td> |
|
| 67 |
- <td>String</td> |
|
| 68 |
- <td><span class="select_o">O</span></td> |
|
| 69 |
- </tr> |
|
| 70 |
- <tr> |
|
| 71 |
- <td><span class="font_b">senderKey</span></td> |
|
| 72 |
- <td>발신 프로필 Key</td> |
|
| 73 |
- <td>String</td> |
|
| 74 |
- <td><span class="select_o">O</span></td> |
|
| 75 |
- </tr> |
|
| 76 |
- <tr> |
|
| 77 |
- <td><span class="font_b">templateCode</span></td> |
|
| 78 |
- <td>템플릿 코드</td> |
|
| 79 |
- <td>String</td> |
|
| 80 |
- <td><span class="select_o">O</span></td> |
|
| 81 |
- </tr> |
|
| 82 |
- </tbody> |
|
| 83 |
- </table> |
|
| 84 |
- <div class="table_info"> |
|
| 85 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 86 |
- </div> |
|
| 87 |
- </div> |
|
| 88 |
- <div class="box"> |
|
| 89 |
- <div class="title">[Example]</div> |
|
| 90 |
- <div class="code_view"> |
|
| 91 |
- <p>{</p> |
|
| 92 |
- <div class="indent"> |
|
| 93 |
- <p><span>"mberId"</span>:"홍길동"</p> |
|
| 94 |
- <p>,<span>"accessKey"</span>:"414050694b953XXXXXXXXXXXXXX"</p> |
|
| 95 |
- <p>,<span>"senderKey"</span>:"669143473b1af459628b8bdXXXXXXXXXXXXXX"</p> |
|
| 96 |
- <p>,<span>"templateCode"</span>:"bizp_202503141052XXXXXXXXXXXXXX"</p> |
|
| 97 |
- </div> |
|
| 98 |
- <p class="l_code">}</p> |
|
| 99 |
- </div> |
|
| 100 |
- </div> |
|
| 101 |
- <!--// Request--> |
|
| 102 |
- <!-- Response--> |
|
| 103 |
- <div class="res_title">Response</div> |
|
| 104 |
- <div class="type_table"> |
|
| 105 |
- <table> |
|
| 106 |
- <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 107 |
- <colgroup> |
|
| 108 |
- <col style="width:20%;"> |
|
| 109 |
- <col style="width:60%;"> |
|
| 110 |
- <col style="width:20%;"> |
|
| 111 |
- </colgroup> |
|
| 112 |
- <thead> |
|
| 113 |
- <tr> |
|
| 114 |
- <th>키</th> |
|
| 115 |
- <th>설명</th> |
|
| 116 |
- <th>타입</th> |
|
| 117 |
- </tr> |
|
| 118 |
- </thead> |
|
| 119 |
- <tbody> |
|
| 120 |
- <tr> |
|
| 121 |
- <td><span class="font_b">resultCode</span></td> |
|
| 122 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 123 |
- <td>String</td> |
|
| 124 |
- </tr> |
|
| 125 |
- <tr> |
|
| 126 |
- <td><span class="font_b">data</span></td> |
|
| 127 |
- <td>템플릿 정보 리스트</td> |
|
| 128 |
- <td>Array</td> |
|
| 129 |
- </tr> |
|
| 130 |
- <tr><td><span class="font_b">[data].templateCode</span></td><td>템플릿 코드</td><td>String</td></tr> |
|
| 131 |
- <tr><td><span class="font_b">[data].templateName</span></td><td>템플릿 이름</td><td>String</td></tr> |
|
| 132 |
- <tr><td><span class="font_b">[data].templateMessageType</span></td><td>템플릿 메시지 유형 (BA:기본형(default), EX:부가정보형, AD:광고추가형, MI:복합형)</td><td>String</td></tr> |
|
| 133 |
- <tr><td><span class="font_b">[data].templateEmphasizeType</span></td><td>템플릿 강조 유형 (NONE: 선택안함, TEXT: 강조표기형, IMAGE: 이미지형, ITEM_LIST: 아이템리스트형)</td><td>String</td></tr> |
|
| 134 |
- <tr><td><span class="font_b">[data].templateContent</span></td><td>템플릿 내용</td><td>String</td></tr> |
|
| 135 |
- <tr><td><span class="font_b">[data].templateExtra</span></td><td>부가정보</td><td>String</td></tr> |
|
| 136 |
- <tr><td><span class="font_b">[data].templateAd</span></td><td>광고성 메시지</td><td>String</td></tr> |
|
| 137 |
- <tr><td><span class="font_b">[data].templateImageName</span></td><td>템플릿 이미지 파일명</td><td>String</td></tr> |
|
| 138 |
- <tr><td><span class="font_b">[data].templateImageUrl</span></td><td>템플릿 이미지 링크</td><td>String</td></tr> |
|
| 139 |
- <tr><td><span class="font_b">[data].templateTitle</span></td><td>템플릿 내용 중 강조 표기할 핵심 정보</td><td>String</td></tr> |
|
| 140 |
- <tr><td><span class="font_b">[data].templateSubtitle</span></td><td>강조 표기 보조 문구</td><td>String</td></tr> |
|
| 141 |
- <tr><td><span class="font_b">[data].templateHeader</span></td><td>헤더</td><td>String</td></tr> |
|
| 142 |
- |
|
| 143 |
- <tr><td><span class="font_b">[data].categoryCode</span></td><td>템플릿 카테고리 코드</td><td>String</td></tr> |
|
| 144 |
- <tr><td><span class="font_b">[data].securityFlag</span></td><td>보안 템플릿 여부 (true:설정)</td><td>Boolean</td></tr> |
|
| 145 |
- <tr><td><span class="font_b">[data].inspectionStatus</span></td><td>검수 상태 (REG: 등록, REQ: 검수요청, REJ: 반려, APR: 승인)</td><td>String</td></tr> |
|
| 146 |
- <tr><td><span class="font_b">[data].createdAt</span></td><td>생성일</td><td>String</td></tr> |
|
| 147 |
- <tr><td><span class="font_b">[data].modifiedAt</span></td><td>수정일</td><td>String</td></tr> |
|
| 148 |
- <tr><td><span class="font_b">[data].status</span></td><td>템플릿 상태(D:중지, A:정상, R:대기(발송전))</td><td>String</td></tr> |
|
| 149 |
- <tr><td><span class="font_b">[data].block</span></td><td>템플릿 차단 여부 (true:차단, false: 해제)</td><td>Boolean</td></tr> |
|
| 150 |
- <tr><td><span class="font_b">[data].dormant</span></td><td>템플릿 휴면 여부 (true:휴면, false: 해제)</td><td>Boolean</td></tr> |
|
| 151 |
- |
|
| 152 |
- <tr><td><span class="font_b">[data].templateItemHighlight</span></td><td>아이템 하이라이트</td><td>Object</td></tr> |
|
| 153 |
- <tr><td><span class="font_b">[data].templateItemHighlight.title</span></td><td>타이틀</td><td>String</td></tr> |
|
| 154 |
- <tr><td><span class="font_b">[data].templateItemHighlight.description</span></td><td>상세 설명</td><td>String</td></tr> |
|
| 155 |
- <tr><td><span class="font_b">[data].templateItemHighlight.imageUrl</span></td><td>썸네일 이미지 주소</td><td>String</td></tr> |
|
| 156 |
- |
|
| 157 |
- <tr><td><span class="font_b">[data].templateItem</span></td><td>아이템 정보</td><td>Object</td></tr> |
|
| 158 |
- <tr><td><span class="font_b">[data].templateItem.list[]</span></td><td>아이템 리스트</td><td>Array</td></tr> |
|
| 159 |
- <tr><td><span class="font_b">[data].templateItem.list[].title</span></td><td>타이틀</td><td>String</td></tr> |
|
| 160 |
- <tr><td><span class="font_b">[data].templateItem.list[].description</span></td><td>디스크립션</td><td>String</td></tr> |
|
| 161 |
- |
|
| 162 |
- <tr><td><span class="font_b">[data].templateItem.summary</span></td><td>아이템 요약 정보</td><td>Object</td></tr> |
|
| 163 |
- <tr><td><span class="font_b">[data].templateItem.summary.title</span></td><td>타이틀</td><td>String</td></tr> |
|
| 164 |
- <tr><td><span class="font_b">[data].templateItem.summary.description</span></td><td>디스크립션</td><td>String</td></tr> |
|
| 165 |
- |
|
| 166 |
- <!-- buttons --> |
|
| 167 |
- <tr><td><span class="font_b">[data].buttons[]</span></td><td>버튼 정보</td><td>Array</td></tr> |
|
| 168 |
- <tr><td><span class="font_b">[data].buttons[].name</span></td><td>버튼명</td><td>String</td></tr> |
|
| 169 |
- <tr><td><span class="font_b">[data].buttons[].linkType</span></td><td>버튼 링크타입 (DS:배송조회, WL:웹링크, AL:앱링크, BK:봇키워드, MD: 메시지전달, AC: 채널추가, BC: 상담톡전환, BT: 봇전환, P1: 이미지 보안전송 플러그인, P2: 개인정보이용 플러그인, P3: 원클릭 결제 플러그인)</td><td>String</td></tr> |
|
| 170 |
- <tr><td><span class="font_b">[data].buttons[].linkAnd</span></td><td>Android 앱 링크 주소</td><td>String</td></tr> |
|
| 171 |
- <tr><td><span class="font_b">[data].buttons[].linkIos</span></td><td>IOS 앱 링크 주소</td><td>String</td></tr> |
|
| 172 |
- <tr><td><span class="font_b">[data].buttons[].linkMo</span></td><td>모바일 웹 링크 주소</td><td>String</td></tr> |
|
| 173 |
- <tr><td><span class="font_b">[data].buttons[].linkPc</span></td><td>PC 웹 링크 주소</td><td>String</td></tr> |
|
| 174 |
- <tr><td><span class="font_b">[data].buttons[].pluginId</span></td><td>플러그인 ID</td><td>String</td></tr> |
|
| 175 |
- |
|
| 176 |
- <!-- quickReplies --> |
|
| 177 |
- <tr><td><span class="font_b">[data].quickReplies[]</span></td><td>바로연결 정보</td><td>Array</td></tr> |
|
| 178 |
- <tr><td><span class="font_b">[data].quickReplies[].name</span></td><td>바로연결명</td><td>String</td></tr> |
|
| 179 |
- <tr><td><span class="font_b">[data].quickReplies[].linkType</span></td><td>바로연결 링크타입 (WL:웹링크, AL:앱링크, BK:봇키워드, MD: 메시지전달, BC: 상담톡전환, BT: 봇전환)</td><td>String</td></tr> |
|
| 180 |
- <tr><td><span class="font_b">[data].quickReplies[].linkAnd</span></td><td>Android 앱 링크 주소</td><td>String</td></tr> |
|
| 181 |
- <tr><td><span class="font_b">[data].quickReplies[].linkIos</span></td><td>IOS 앱 링크 주소</td><td>String</td></tr> |
|
| 182 |
- <tr><td><span class="font_b">[data].quickReplies[].linkMo</span></td><td>모바일 웹 링크 주소</td><td>String</td></tr> |
|
| 183 |
- <tr><td><span class="font_b">[data].quickReplies[].linkPc</span></td><td>PC 웹 링크 주소</td><td>String</td></tr> |
|
| 184 |
- |
|
| 185 |
- <!-- comments --> |
|
| 186 |
- <tr><td><span class="font_b">[data].comments[]</span></td><td>댓글 목록</td><td>Array</td></tr> |
|
| 187 |
- <tr><td><span class="font_b">[data].comments[].content</span></td><td>댓글 본문</td><td>String</td></tr> |
|
| 188 |
- <tr><td><span class="font_b">[data].comments[].createdAt</span></td><td>댓글 생성일</td><td>String</td></tr> |
|
| 189 |
- <tr><td><span class="font_b">[data].comments[].status</span></td><td>댓글 상태 (REQ:등록, INQ:문의, APR:승인, REJ:반려, REP:답변)</td><td>String</td></tr> |
|
| 190 |
- <tr><td><span class="font_b">[data].comments[].userName</span></td><td>댓글 작성자</td><td>String</td></tr> |
|
| 191 |
- <tr><td><span class="font_b">[data].comments[].attachment</span></td><td>첨부파일</td><td>Array</td></tr> |
|
| 192 |
- |
|
| 193 |
- <!-- attachment 내부 --> |
|
| 194 |
- <tr><td><span class="font_b">[data].comments[].attachment[]</span></td><td>첨부파일</td><td>Array</td></tr> |
|
| 195 |
- <tr><td><span class="font_b">[data].comments[].attachment[].originalFileName</span></td><td>업로드한 파일 이름</td><td>String</td></tr> |
|
| 196 |
- <tr><td><span class="font_b">[data].comments[].attachment[].filePath</span></td><td>파일 다운로드 경로</td><td>String</td></tr> |
|
| 197 |
- |
|
| 417 |
+ <div class="box"> |
|
| 418 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 419 |
+ <div class="code_view"> |
|
| 420 |
+ <pre> |
|
| 421 |
+ <code class="language-json"> |
|
| 422 |
+{
|
|
| 198 | 423 |
|
| 199 |
- </tbody> |
|
| 200 |
- </table> |
|
| 201 |
- <div class="table_info"> |
|
| 202 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 203 |
- </div> |
|
| 204 |
- </div> |
|
| 205 |
- <div class="box"> |
|
| 206 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 207 |
- <div class="code_view"> |
|
| 208 |
- <p>{</p> |
|
| 209 |
- <div class="indent"> |
|
| 210 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 211 |
- <p>,<span>"data"</span>:[</p> |
|
| 212 |
- <p>{</p> |
|
| 213 |
- <div class="indent_t1"> |
|
| 214 |
- <p><span>"templateCode"</span>: "bizp_20250314105XXXXXXXXXXXXXXX"</p> |
|
| 215 |
- <p>,<span>"templateName"</span>: "템플릿 명"</p> |
|
| 216 |
- <p>,<span>"templateMessageType"</span>: "BA"</p> |
|
| 217 |
- <p>,<span>"templateEmphasizeType"</span>: "TEXT"</p> |
|
| 218 |
- <p>,<span>"templateContent"</span>: "템플릿 내용 예시"</p> |
|
| 219 |
- <p>,<span>"templateExtra"</span>: "부가정보"</p> |
|
| 220 |
- <p>,<span>"templateAd"</span>: "광고성 문구"</p> |
|
| 221 |
- <p>,<span>"templateImageName"</span>: "template.jpg"</p> |
|
| 222 |
- <p>,<span>"templateImageUrl"</span>: "https://cdn.example.com/image.jpg"</p> |
|
| 223 |
- <p>,<span>"templateTitle"</span>: "강조 제목"</p> |
|
| 224 |
- <p>,<span>"templateSubtitle"</span>: "보조 문구"</p> |
|
| 225 |
- <p>,<span>"templateHeader"</span>: "템플릿 헤더"</p> |
|
| 226 |
- <p>,<span>"categoryCode"</span>: "005001"</p> |
|
| 227 |
- <p>,<span>"securityFlag"</span>: true</p> |
|
| 228 |
- <p>,<span>"inspectionStatus"</span>: "REG"</p> |
|
| 229 |
- <p>,<span>"createdAt"</span>: "2025-06-30 10:30:00"</p> |
|
| 230 |
- <p>,<span>"modifiedAt"</span>: "2025-07-01 11:00:00"</p> |
|
| 231 |
- <p>,<span>"status"</span>: "A"</p> |
|
| 232 |
- <p>,<span>"block"</span>: false</p> |
|
| 233 |
- <p>,<span>"dormant"</span>: false</p> |
|
| 234 |
- |
|
| 235 |
- <!-- templateItemHighlight --> |
|
| 236 |
- <p>,<span>"templateItemHighlight"</span>: {</p>
|
|
| 237 |
- <div class="indent_t2"> |
|
| 238 |
- <p><span>"title"</span>: "하이라이트 제목"</p> |
|
| 239 |
- <p>,<span>"description"</span>: "하이라이트 설명"</p> |
|
| 240 |
- <p>,<span>"imageUrl"</span>: "https://cdn.example.com/thumb.jpg"</p> |
|
| 241 |
- </div> |
|
| 242 |
- <p>}</p> |
|
| 243 |
- |
|
| 244 |
- <!-- templateItem --> |
|
| 245 |
- <p>,<span>"templateItem"</span>: {</p>
|
|
| 246 |
- <div class="indent_t2"> |
|
| 247 |
- <p><span>"list"</span>: [</p> |
|
| 248 |
- <div class="indent_t3"> |
|
| 249 |
- <p>{</p> |
|
| 250 |
- <p><span>"title"</span>: "아이템 제목"</p> |
|
| 251 |
- <p>,<span>"description"</span>: "아이템 설명"</p> |
|
| 252 |
- <p>}</p> |
|
| 253 |
- </div> |
|
| 254 |
- <p>],</p> |
|
| 255 |
- <p><span>"summary"</span>: {</p>
|
|
| 256 |
- <div class="indent_t3"> |
|
| 257 |
- <p><span>"title"</span>: "요약 제목"</p> |
|
| 258 |
- <p>,<span>"description"</span>: "요약 설명"</p> |
|
| 259 |
- </div> |
|
| 260 |
- <p>}</p> |
|
| 261 |
- </div> |
|
| 262 |
- <p>}</p> |
|
| 263 |
- |
|
| 264 |
- <!-- buttons --> |
|
| 265 |
- <p>,<span>"buttons"</span>: [</p> |
|
| 266 |
- <div class="indent_t2"> |
|
| 267 |
- <p>{</p> |
|
| 268 |
- <p><span>"name"</span>: "버튼명"</p> |
|
| 269 |
- <p>,<span>"linkType"</span>: "WL"</p> |
|
| 270 |
- <p>,<span>"linkAnd"</span>: "https://aos.example.com"</p> |
|
| 271 |
- <p>,<span>"linkIos"</span>: "https://ios.example.com"</p> |
|
| 272 |
- <p>,<span>"linkMo"</span>: "https://m.example.com"</p> |
|
| 273 |
- <p>,<span>"linkPc"</span>: "https://www.example.com"</p> |
|
| 274 |
- <p>,<span>"pluginId"</span>: "plugin123"</p> |
|
| 275 |
- <p>}</p> |
|
| 276 |
- </div> |
|
| 277 |
- <p>]</p> |
|
| 278 |
- |
|
| 279 |
- <!-- quickReplies --> |
|
| 280 |
- <p>,<span>"quickReplies"</span>: [</p> |
|
| 281 |
- <div class="indent_t2"> |
|
| 282 |
- <p>{</p> |
|
| 283 |
- <p><span>"name"</span>: "빠른응답"</p> |
|
| 284 |
- <p>,<span>"linkType"</span>: "WL"</p> |
|
| 285 |
- <p>,<span>"linkAnd"</span>: "https://aos.quick.com"</p> |
|
| 286 |
- <p>,<span>"linkIos"</span>: "https://ios.quick.com"</p> |
|
| 287 |
- <p>,<span>"linkMo"</span>: "https://m.quick.com"</p> |
|
| 288 |
- <p>,<span>"linkPc"</span>: "https://www.quick.com"</p> |
|
| 289 |
- <p>}</p> |
|
| 290 |
- </div> |
|
| 291 |
- <p>]</p> |
|
| 292 |
- |
|
| 293 |
- <!-- comments --> |
|
| 294 |
- <p>,<span>"comments"</span>: [</p> |
|
| 295 |
- <div class="indent_t2"> |
|
| 296 |
- <p>{</p> |
|
| 297 |
- <p><span>"content"</span>: "댓글 예시입니다."</p> |
|
| 298 |
- <p>,<span>"createdAt"</span>: "2025-07-01 10:00:00"</p> |
|
| 299 |
- <p>,<span>"status"</span>: "REQ"</p> |
|
| 300 |
- <p>,<span>"userName"</span>: "관리자"</p> |
|
| 301 |
- <p>,<span>"attachment"</span>: [</p> |
|
| 302 |
- <div class="indent_t3"> |
|
| 303 |
- <p>{</p> |
|
| 304 |
- <p><span>"originalFileName"</span>: "example.pdf"</p> |
|
| 305 |
- <p>,<span>"filePath"</span>: "/download/example.pdf"</p> |
|
| 306 |
- <p>}</p> |
|
| 307 |
- </div> |
|
| 308 |
- <p>]</p> |
|
| 309 |
- <p>}</p> |
|
| 310 |
- </div> |
|
| 311 |
- <p>]</p> |
|
| 312 |
- </div> |
|
| 313 |
- <p class="l_code_t2">}</p> |
|
| 314 |
- <p>]</p> |
|
| 315 |
- </div> |
|
| 316 |
- <p class="l_code">}</p> |
|
| 317 |
- </div> |
|
| 318 |
- </div> |
|
| 319 |
- <div class="box"> |
|
| 320 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 321 |
- <div class="code_view"> |
|
| 322 |
- <p>{</p> |
|
| 323 |
- <div class="indent"> |
|
| 324 |
- <p><span>"resultCode"</span>:"4099"</p> |
|
| 325 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 326 |
- </div> |
|
| 327 |
- <p class="l_code">}</p> |
|
| 328 |
- </div> |
|
| 329 |
- </div> |
|
| 330 |
- <!--// Response--> |
|
| 331 |
- </div> |
|
| 424 |
+ "resultCode": "3099", |
|
| 425 |
+ |
|
| 426 |
+ "data": "기타 시스템 오류" |
|
| 427 |
+} |
|
| 428 |
+ </code> |
|
| 429 |
+ </pre> |
|
| 430 |
+ </div> |
|
| 431 |
+ </div> |
|
| 432 |
+ <!--// Response--> |
|
| 433 |
+</div> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab4.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab4.jsp
... | ... | @@ -1,353 +1,342 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
- |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 전송결과 조회의 "msgGroupId"를 사용하여 전송된 문자의 상세결과를 수신번호별로 조회할 수 있습니다.</li> |
|
| 5 |
- <li>- 전송결과가 "대기"인 경우에는 최종 결과 확인까지 최대 72시간까지 소요됩니다.</li> |
|
| 6 |
- </ul> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 7 | 3 |
|
| 8 |
- <div class="re_cont"> |
|
| 9 |
- <!--Request--> |
|
| 10 |
- <div class="req_title">Request</div> |
|
| 11 |
- <div class="box"> |
|
| 12 |
- <div class="text"> |
|
| 13 |
- <h4>Request</h4> |
|
| 14 |
- <table> |
|
| 15 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 16 |
- <colgroup> |
|
| 17 |
- <col style="width:20%;"> |
|
| 18 |
- <col style="width:80%;"> |
|
| 19 |
- </colgroup> |
|
| 20 |
- <tr> |
|
| 21 |
- <th>Http Method</th> |
|
| 22 |
- <td>POST</td> |
|
| 23 |
- </tr> |
|
| 24 |
- <tr> |
|
| 25 |
- <th>프로토콜</th> |
|
| 26 |
- <td>HTTP/1.1</td> |
|
| 27 |
- </tr> |
|
| 28 |
- <tr> |
|
| 29 |
- <th>HOST</th> |
|
| 30 |
- <td>api.munjaon.co.kr</td> |
|
| 31 |
- </tr> |
|
| 32 |
- <tr> |
|
| 33 |
- <th>Service Port</th> |
|
| 34 |
- <td>443</td> |
|
| 35 |
- </tr> |
|
| 36 |
- </table> |
|
| 37 |
- </div> |
|
| 38 |
- </div> |
|
| 39 |
- <div class="type_table"> |
|
| 40 |
- <table> |
|
| 41 |
- <caption>상세결과 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 42 |
- <colgroup> |
|
| 43 |
- <col style="width:20%;"> |
|
| 44 |
- <col style="width:45%;"> |
|
| 45 |
- <col style="width:25%"> |
|
| 46 |
- <col style="width:10%"> |
|
| 47 |
- </colgroup> |
|
| 48 |
- <thead> |
|
| 49 |
- <tr> |
|
| 50 |
- <th>키</th> |
|
| 51 |
- <th>설명</th> |
|
| 52 |
- <th>타입</th> |
|
| 53 |
- <th>필수</th> |
|
| 54 |
- </tr> |
|
| 55 |
- </thead> |
|
| 56 |
- <tbody> |
|
| 57 |
- <tr> |
|
| 58 |
- <td><span class="font_b">mberId</span></td> |
|
| 59 |
- <td>사용자 ID</td> |
|
| 60 |
- <td>String</td> |
|
| 61 |
- <td><span class="select_o">O</span></td> |
|
| 62 |
- </tr> |
|
| 63 |
- <tr> |
|
| 64 |
- <td><span class="font_b">accessKey</span></td> |
|
| 65 |
- <td>인증용 API Key</td> |
|
| 66 |
- <td>String</td> |
|
| 67 |
- <td><span class="select_o">O</span></td> |
|
| 68 |
- </tr> |
|
| 69 |
- <tr> |
|
| 70 |
- <td><span class="font_b">msgGroupId</span></td> |
|
| 71 |
- <td>메시지 그룹 ID</td> |
|
| 72 |
- <td>String</td> |
|
| 73 |
- <td><span class="select_o">O</span></td> |
|
| 74 |
- </tr> |
|
| 75 |
- <tr> |
|
| 76 |
- <td><span class="font_b">page</span></td> |
|
| 77 |
- <td>페이지 번호</td> |
|
| 78 |
- <td>String</td> |
|
| 79 |
- <td><span class="select_x">X</span></td> |
|
| 80 |
- </tr> |
|
| 81 |
- <tr> |
|
| 82 |
- <td><span class="font_b">pageSize</span></td> |
|
| 83 |
- <td>페이지당 출력 개수</td> |
|
| 84 |
- <td>String</td> |
|
| 85 |
- <td><span class="select_x">X</span></td> |
|
| 86 |
- </tr> |
|
| 87 |
- <tr> |
|
| 88 |
- <td><span class="font_b">test_yn</span></td> |
|
| 89 |
- <td>테스트 데이터 여부</td> |
|
| 90 |
- <td>String</td> |
|
| 91 |
- <td><span class="select_x">X</span></td> |
|
| 92 |
- </tr> |
|
| 93 |
- </tbody> |
|
| 94 |
- </table> |
|
| 95 |
- <div class="table_info"> |
|
| 96 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 97 |
- </div> |
|
| 98 |
- </div> |
|
| 99 |
- <div class="box"> |
|
| 100 |
- <div class="title">[Example]</div> |
|
| 101 |
- <div class="code_view"> |
|
| 102 |
- <p>{</p> |
|
| 103 |
- <div class="indent"> |
|
| 104 |
- <p><span>"mberId"</span>:"홍길동"</p> |
|
| 105 |
- <p>,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953"</p> |
|
| 106 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000011452"</p> |
|
| 107 |
- <p>,<span>"page"</span>:""</p> |
|
| 108 |
- <p>,<span>"pageSize"</span>:""</p> |
|
| 109 |
- <p>,<span>"test_yn"</span>:""</p> |
|
| 110 |
- </div> |
|
| 111 |
- <p class="l_code">}</p> |
|
| 112 |
- </div> |
|
| 113 |
- </div> |
|
| 114 |
- <!--// Request--> |
|
| 115 |
- <!-- Response--> |
|
| 116 |
- <div class="res_title">Response</div> |
|
| 117 |
- <div class="type_table"> |
|
| 118 |
- <table> |
|
| 119 |
- <caption>상세결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 120 |
- <colgroup> |
|
| 121 |
- <col style="width:20%;"> |
|
| 122 |
- <col style="width:60%;"> |
|
| 123 |
- <col style="width:20%;"> |
|
| 124 |
- </colgroup> |
|
| 125 |
- <thead> |
|
| 126 |
- <tr> |
|
| 127 |
- <th>키</th> |
|
| 128 |
- <th>설명</th> |
|
| 129 |
- <th>타입</th> |
|
| 130 |
- </tr> |
|
| 131 |
- </thead> |
|
| 132 |
- <tbody> |
|
| 133 |
- <tr> |
|
| 134 |
- <td><span class="font_b">resultCode</span></td> |
|
| 135 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 136 |
- <td>String</td> |
|
| 137 |
- </tr> |
|
| 138 |
- <tr> |
|
| 139 |
- <td><span class="font_b">data</span></td> |
|
| 140 |
- <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 141 |
- <td>Object</td> |
|
| 142 |
- </tr> |
|
| 143 |
- <tr> |
|
| 144 |
- <td><span class="font_b">[data].message</span></td> |
|
| 145 |
- <td>문자</td> |
|
| 146 |
- <td>String</td> |
|
| 147 |
- </tr> |
|
| 148 |
- <tr> |
|
| 149 |
- <td><span class="font_b">[data].next_yn</span></td> |
|
| 150 |
- <td>다음 페이지 여부</td> |
|
| 151 |
- <td>String</td> |
|
| 152 |
- </tr> |
|
| 153 |
- <tr> |
|
| 154 |
- <td><span class="font_b">[data].objectList</span></td> |
|
| 155 |
- <td>결과값 목록</td> |
|
| 156 |
- <td>Object List</td> |
|
| 157 |
- </tr> |
|
| 158 |
- <tr> |
|
| 159 |
- <td><span class="font_b">[data].msgGroupId</span></td> |
|
| 160 |
- <td>메시지 그룹 ID</td> |
|
| 161 |
- <td>String</td> |
|
| 162 |
- </tr> |
|
| 163 |
- <tr> |
|
| 164 |
- <td><span class="font_b">[data].msgId</span></td> |
|
| 165 |
- <td>메시지 ID</td> |
|
| 166 |
- <td>String</td> |
|
| 167 |
- </tr> |
|
| 168 |
- <tr> |
|
| 169 |
- <td><span class="font_b">[data].msgTypeName</span></td> |
|
| 170 |
- <td>문자 구분명(단문, 장문, 그림)</td> |
|
| 171 |
- <td>String</td> |
|
| 172 |
- </tr> |
|
| 173 |
- <tr> |
|
| 174 |
- <td><span class="font_b">[data].msgType</span></td> |
|
| 175 |
- <td>메시지 타입(4 : 단문, 6 : 장문)</td> |
|
| 176 |
- <td>String</td> |
|
| 177 |
- </tr> |
|
| 178 |
- <tr> |
|
| 179 |
- <td><span class="font_b">[data].callFrom</span></td> |
|
| 180 |
- <td>발신자 번호</td> |
|
| 181 |
- <td>String</td> |
|
| 182 |
- </tr> |
|
| 183 |
- <tr> |
|
| 184 |
- <td><span class="font_b">[data].callTo</span></td> |
|
| 185 |
- <td>수신자 번호</td> |
|
| 186 |
- <td>String</td> |
|
| 187 |
- </tr> |
|
| 188 |
- <tr> |
|
| 189 |
- <td><span class="font_b">[data].msgGroupCnt</span></td> |
|
| 190 |
- <td>문자 발송 건수</td> |
|
| 191 |
- <td>String</td> |
|
| 192 |
- </tr> |
|
| 193 |
- <tr> |
|
| 194 |
- <td><span class="font_b">[data].sCnt</span></td> |
|
| 195 |
- <td>성공 건수</td> |
|
| 196 |
- <td>String</td> |
|
| 197 |
- </tr> |
|
| 198 |
- <tr> |
|
| 199 |
- <td><span class="font_b">[data].fCnt</span></td> |
|
| 200 |
- <td>실패 건수</td> |
|
| 201 |
- <td>String</td> |
|
| 202 |
- </tr> |
|
| 203 |
- <tr> |
|
| 204 |
- <td><span class="font_b">[data].wCnt</span></td> |
|
| 205 |
- <td>대기 건수</td> |
|
| 206 |
- <td>String</td> |
|
| 207 |
- </tr> |
|
| 208 |
- <tr> |
|
| 209 |
- <td><span class="font_b">[data].msgResult</span></td> |
|
| 210 |
- <td>발송 결과(성공 : S, 실패 : F)</td> |
|
| 211 |
- <td>String</td> |
|
| 212 |
- </tr> |
|
| 213 |
- <tr> |
|
| 214 |
- <td><span class="font_b">[data].smsTxt</span></td> |
|
| 215 |
- <td>문자 내용</td> |
|
| 216 |
- <td>String</td> |
|
| 217 |
- </tr> |
|
| 218 |
- <tr> |
|
| 219 |
- <td><span class="font_b">[data].subject</span></td> |
|
| 220 |
- <td>제목</td> |
|
| 221 |
- <td>String</td> |
|
| 222 |
- </tr> |
|
| 223 |
- <tr> |
|
| 224 |
- <td><span class="font_b">[data].reqdate</span></td> |
|
| 225 |
- <td>발송 일자</td> |
|
| 226 |
- <td>String</td> |
|
| 227 |
- </tr> |
|
| 228 |
- <tr> |
|
| 229 |
- <td><span class="font_b">[data].curState</span></td> |
|
| 230 |
- <td>전송 처리 결과값</td> |
|
| 231 |
- <td>String</td> |
|
| 232 |
- </tr> |
|
| 233 |
- <tr> |
|
| 234 |
- <td><span class="font_b">[data].userId</span></td> |
|
| 235 |
- <td>사용자 ID</td> |
|
| 236 |
- <td>String</td> |
|
| 237 |
- </tr> |
|
| 238 |
- <tr> |
|
| 239 |
- <td><span class="font_b">[data].regdate</span></td> |
|
| 240 |
- <td>등록 일자</td> |
|
| 241 |
- <td>String</td> |
|
| 242 |
- </tr> |
|
| 243 |
- <tr> |
|
| 244 |
- <td><span class="font_b">[data].reserveCYn</span></td> |
|
| 245 |
- <td>예약 취소 여부</td> |
|
| 246 |
- <td>String</td> |
|
| 247 |
- </tr> |
|
| 248 |
- <tr> |
|
| 249 |
- <td><span class="font_b">[data].ttlCnt</span></td> |
|
| 250 |
- <td>전체 요청 수</td> |
|
| 251 |
- <td>String</td> |
|
| 252 |
- </tr> |
|
| 253 |
- <tr> |
|
| 254 |
- <td><span class="font_b">[data].remainMsgCnt</span></td> |
|
| 255 |
- <td>남은 문자 건수</td> |
|
| 256 |
- <td>String</td> |
|
| 257 |
- </tr> |
|
| 258 |
- <tr> |
|
| 259 |
- <td><span class="font_b">[data].totMsgCnt</span></td> |
|
| 260 |
- <td>전체 문자 개수</td> |
|
| 261 |
- <td>String</td> |
|
| 262 |
- </tr> |
|
| 263 |
- </tbody> |
|
| 264 |
- </table> |
|
| 265 |
- <div class="table_info"> |
|
| 266 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 267 |
- </div> |
|
| 268 |
- </div> |
|
| 269 |
- <div class="box"> |
|
| 270 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 271 |
- <div class="code_view"> |
|
| 272 |
- <p>{</p> |
|
| 273 |
- <div class="indent"> |
|
| 274 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 275 |
- <p>,<span>"data"</span>:[</p> |
|
| 276 |
- <p>{</p> |
|
| 277 |
- <div class="indent_t1"> |
|
| 278 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 279 |
- <p>,<span>"message"</span>: null</p> |
|
| 280 |
- <p>,<span>"next_yn"</span>:"n"</p> |
|
| 281 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000000000"</p> |
|
| 282 |
- <p>,<span>"objectList"</span>:[</p> |
|
| 283 |
- <p>{</p> |
|
| 284 |
- <div class="indent_t2"> |
|
| 285 |
- <p><span>"msgTypeName"</span>:"단문(SMS)"</p> |
|
| 286 |
- <p>,<span>"msgType"</span>:"4"</p> |
|
| 287 |
- <p>,<span>"callFrom"</span>:"01011112222"</p> |
|
| 288 |
- <p>,<span>"callTo"</span>:"01011112223"</p> |
|
| 289 |
- <p>,<span>"msgGroupCnt"</span>:"2"</p> |
|
| 290 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000013340"</p> |
|
| 291 |
- <p>,<span>"msgId"</span>:"MSGID_0000000000001"</p> |
|
| 292 |
- <p>,<span>"scnt"</span>:null</p> |
|
| 293 |
- <p>,<span>"fcnt"</span>:null</p> |
|
| 294 |
- <p>,<span>"wcnt"</span>:null</p> |
|
| 295 |
- <p>,<span>"msgResult"</span>:"S"</p> |
|
| 296 |
- <p>,<span>"smsTxt"</span>:"문자 내용 단문 예제"</p> |
|
| 297 |
- <p>,<span>"subject"</span>:null</p> |
|
| 298 |
- <p>,<span>"reqdate"</span>:"2023-06-13 17:48:08"</p> |
|
| 299 |
- <p>,<span>"curState"</span>:"3"</p> |
|
| 300 |
- <p>,<span>"userId"</span>:"testuser"</p> |
|
| 301 |
- <p>,<span>"regdate"</span>:"2023-06-13 17:48:07"</p> |
|
| 302 |
- <p>,<span>"reserveCYn"</span>:"N"</p> |
|
| 303 |
- <p>,<span>"ttlCnt"</span>:"10"</p> |
|
| 304 |
- <p>,<span>"remainMsgCnt"</span>:"0"</p> |
|
| 305 |
- <p>,<span>"totMsgCnt"</span>:"10"</p> |
|
| 306 |
- </div> |
|
| 307 |
- <p>}</p> |
|
| 308 |
- <p>,{</p> |
|
| 309 |
- <div class="indent_t2"> |
|
| 310 |
- <p><span>"msgTypeName"</span>:"단문(SMS)"</p> |
|
| 311 |
- <p>,<span>"msgType"</span>:"4"</p> |
|
| 312 |
- <p>,<span>"callFrom"</span>:"01011112222"</p> |
|
| 313 |
- <p>,<span>"callTo"</span>:"01011112223"</p> |
|
| 314 |
- <p>,<span>"msgGroupCnt"</span>:"2"</p> |
|
| 315 |
- <p>,<span>"msgGroupId"</span>:"MSGGID_0000000013340"</p> |
|
| 316 |
- <p>,<span>"msgId"</span>:"MSGID_0000000000002"</p> |
|
| 317 |
- <p>,<span>"scnt"</span>:null</p> |
|
| 318 |
- <p>,<span>"fcnt"</span>:null</p> |
|
| 319 |
- <p>,<span>"wcnt"</span>:null</p> |
|
| 320 |
- <p>,<span>"msgResult"</span>:"S"</p> |
|
| 321 |
- <p>,<span>"smsTxt"</span>:"문자 내용 단문 예제"</p> |
|
| 322 |
- <p>,<span>subject"</span>:null</p> |
|
| 323 |
- <p>,<span>reqdate"</span>:"2023-06-13 17:48:09"</p> |
|
| 324 |
- <p>,<span>"curState"</span>:"3"</p> |
|
| 325 |
- <p>,<span>"userId"</span>:"testuser"</p> |
|
| 326 |
- <p>,<span>"regdate"</span>:"2023-06-13 17:48:07"</p> |
|
| 327 |
- <p>,<span>"reserveCYn"</span>:"N"</p> |
|
| 328 |
- <p>,<span>"ttlCnt"</span>:"10"</p> |
|
| 329 |
- <p>,<span>"remainMsgCnt"</span>:"0"</p> |
|
| 330 |
- <p>,<span>"totMsgCnt"</span>:"10"</p> |
|
| 331 |
- <p>}</p> |
|
| 332 |
- </div> |
|
| 333 |
- <p>]</p> |
|
| 334 |
- </div> |
|
| 335 |
- <p class="l_code_t2">}</p> |
|
| 336 |
- <p>]</p> |
|
| 337 |
- </div> |
|
| 338 |
- <p class="l_code">}</p> |
|
| 339 |
- </div> |
|
| 340 |
- </div> |
|
| 341 |
- <div class="box"> |
|
| 342 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 343 |
- <div class="code_view"> |
|
| 344 |
- <p>{</p> |
|
| 345 |
- <div class="indent"> |
|
| 346 |
- <p><span>"resultCode"</span>:"4099"</p> |
|
| 347 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 348 |
- </div> |
|
| 349 |
- <p class="l_code">}</p> |
|
| 350 |
- </div> |
|
| 351 |
- </div> |
|
| 352 |
- <!--// Response--> |
|
| 353 |
- </div> |
|
| 4 |
+ |
|
| 5 |
+<ul class="info"> |
|
| 6 |
+ <li>- API를 통해서 메시지 그룹 ID 기준의 상세 이력(개별 건) 목록을 조회할 수 있습니다.</li> |
|
| 7 |
+</ul> |
|
| 8 |
+<div class="re_cont"> |
|
| 9 |
+ <!-- Request --> |
|
| 10 |
+ <div class="req_title">Request</div> |
|
| 11 |
+ <div class="box"> |
|
| 12 |
+ <div class="text"> |
|
| 13 |
+ <h4>Request</h4> |
|
| 14 |
+ <table> |
|
| 15 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port, Endpoint 정보 테이블</caption> |
|
| 16 |
+ <colgroup> |
|
| 17 |
+ <col style="width:20%;"> |
|
| 18 |
+ <col style="width:80%;"> |
|
| 19 |
+ </colgroup> |
|
| 20 |
+ <tr> |
|
| 21 |
+ <th>Http Method</th> |
|
| 22 |
+ <td>POST</td> |
|
| 23 |
+ </tr> |
|
| 24 |
+ <tr> |
|
| 25 |
+ <th>프로토콜</th> |
|
| 26 |
+ <td>HTTPS/1.1</td> |
|
| 27 |
+ </tr> |
|
| 28 |
+ <tr> |
|
| 29 |
+ <th>HOST</th> |
|
| 30 |
+ <td>api.munjaon.co.kr</td> |
|
| 31 |
+ </tr> |
|
| 32 |
+ <tr> |
|
| 33 |
+ <th>Service Port</th> |
|
| 34 |
+ <td>443</td> |
|
| 35 |
+ </tr> |
|
| 36 |
+ <tr> |
|
| 37 |
+ <th>Endpoint</th> |
|
| 38 |
+ <td>/api/inqry/hstryDetail</td> |
|
| 39 |
+ </tr> |
|
| 40 |
+ </table> |
|
| 41 |
+ </div> |
|
| 42 |
+ </div> |
|
| 43 |
+ |
|
| 44 |
+ <div class="type_table"> |
|
| 45 |
+ <table> |
|
| 46 |
+ <caption>히스토리 상세 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 47 |
+ <colgroup> |
|
| 48 |
+ <col style="width:20%;"> |
|
| 49 |
+ <col style="width:45%;"> |
|
| 50 |
+ <col style="width:25%"> |
|
| 51 |
+ <col style="width:10%"> |
|
| 52 |
+ </colgroup> |
|
| 53 |
+ <thead> |
|
| 54 |
+ <tr> |
|
| 55 |
+ <th>키</th> |
|
| 56 |
+ <th>설명</th> |
|
| 57 |
+ <th>타입</th> |
|
| 58 |
+ <th>필수</th> |
|
| 59 |
+ </tr> |
|
| 60 |
+ </thead> |
|
| 61 |
+ <tbody> |
|
| 62 |
+ <tr> |
|
| 63 |
+ <td><span class="font_b">mberId</span></td> |
|
| 64 |
+ <td>사용자 ID</td> |
|
| 65 |
+ <td>String</td> |
|
| 66 |
+ <td><span class="select_o">O</span></td> |
|
| 67 |
+ </tr> |
|
| 68 |
+ <tr> |
|
| 69 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 70 |
+ <td>인증용 API Key</td> |
|
| 71 |
+ <td>String</td> |
|
| 72 |
+ <td><span class="select_o">O</span></td> |
|
| 73 |
+ </tr> |
|
| 74 |
+ <tr> |
|
| 75 |
+ <td><span class="font_b">msgGroupId</span></td> |
|
| 76 |
+ <td>메시지 그룹 ID</td> |
|
| 77 |
+ <td>String</td> |
|
| 78 |
+ <td><span class="select_o">O</span></td> |
|
| 79 |
+ </tr> |
|
| 80 |
+ </tbody> |
|
| 81 |
+ </table> |
|
| 82 |
+ <div class="table_info"> |
|
| 83 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 84 |
+ <p>※ Content-Type: application/json</p> |
|
| 85 |
+ </div> |
|
| 86 |
+ </div> |
|
| 87 |
+ |
|
| 88 |
+ <div class="box"> |
|
| 89 |
+ <div class="title">[Example]</div> |
|
| 90 |
+ <div class="code_view"> |
|
| 91 |
+ <pre> |
|
| 92 |
+ <code class="language-json"> |
|
| 93 |
+{
|
|
| 94 |
+ |
|
| 95 |
+ "mberId": "홍길동", |
|
| 96 |
+ |
|
| 97 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953", |
|
| 98 |
+ |
|
| 99 |
+ "msgGroupId": "MSGGID_XXXXXXX0000063" |
|
| 100 |
+} |
|
| 101 |
+ </code> |
|
| 102 |
+ </pre> |
|
| 103 |
+ </div> |
|
| 104 |
+ </div> |
|
| 105 |
+ <!-- // Request --> |
|
| 106 |
+ |
|
| 107 |
+ <!-- Response --> |
|
| 108 |
+ <div class="res_title">Response</div> |
|
| 109 |
+ <div class="type_table"> |
|
| 110 |
+ <table> |
|
| 111 |
+ <caption>히스토리 상세 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 112 |
+ <colgroup> |
|
| 113 |
+ <col style="width:20%;"> |
|
| 114 |
+ <col style="width:60%;"> |
|
| 115 |
+ <col style="width:20%;"> |
|
| 116 |
+ </colgroup> |
|
| 117 |
+ <thead> |
|
| 118 |
+ <tr> |
|
| 119 |
+ <th>키</th> |
|
| 120 |
+ <th>설명</th> |
|
| 121 |
+ <th>타입</th> |
|
| 122 |
+ </tr> |
|
| 123 |
+ </thead> |
|
| 124 |
+ <tbody> |
|
| 125 |
+ <tr> |
|
| 126 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 127 |
+ <td>성공 여부("0" 이외는 실패)</td>
|
|
| 128 |
+ <td>String</td> |
|
| 129 |
+ </tr> |
|
| 130 |
+ <tr> |
|
| 131 |
+ <td><span class="font_b">data</span></td> |
|
| 132 |
+ <td>조회 결과 객체</td> |
|
| 133 |
+ <td>Object</td> |
|
| 134 |
+ </tr> |
|
| 135 |
+ <tr> |
|
| 136 |
+ <td><span class="font_b">[data].resultCode</span></td> |
|
| 137 |
+ <td>내부 처리 결과(0: 성공)</td> |
|
| 138 |
+ <td>Number | String</td> |
|
| 139 |
+ </tr> |
|
| 140 |
+ <tr> |
|
| 141 |
+ <td><span class="font_b">[data].objectList</span></td> |
|
| 142 |
+ <td>개별 메시지 상세 목록</td> |
|
| 143 |
+ <td>Array<Object></td> |
|
| 144 |
+ </tr> |
|
| 145 |
+ <tr> |
|
| 146 |
+ <td><span class="font_b">[data].objectList[i].msgGroupId</span></td> |
|
| 147 |
+ <td>메시지 그룹 ID</td> |
|
| 148 |
+ <td>String</td> |
|
| 149 |
+ </tr> |
|
| 150 |
+ <tr> |
|
| 151 |
+ <td><span class="font_b">[data].objectList[i].msgId</span></td> |
|
| 152 |
+ <td>개별 메시지 ID</td> |
|
| 153 |
+ <td>String</td> |
|
| 154 |
+ </tr> |
|
| 155 |
+ <tr> |
|
| 156 |
+ <td><span class="font_b">[data].objectList[i].totMsgCnt</span></td> |
|
| 157 |
+ <td>총 발송 건수(그룹 기준)</td> |
|
| 158 |
+ <td>String</td> |
|
| 159 |
+ </tr> |
|
| 160 |
+ <tr> |
|
| 161 |
+ <td><span class="font_b">[data].objectList[i].msgType</span></td> |
|
| 162 |
+ <td>메시지 타입 코드(예: 8=AT)</td> |
|
| 163 |
+ <td>Number</td> |
|
| 164 |
+ </tr> |
|
| 165 |
+ <tr> |
|
| 166 |
+ <td><span class="font_b">[data].objectList[i].msgTypeName</span></td> |
|
| 167 |
+ <td>메시지 타입명</td> |
|
| 168 |
+ <td>String</td> |
|
| 169 |
+ </tr> |
|
| 170 |
+ <tr> |
|
| 171 |
+ <td><span class="font_b">[data].objectList[i].msgResult</span></td> |
|
| 172 |
+ <td>결과(F: 실패, S: 성공 등)</td> |
|
| 173 |
+ <td>String</td> |
|
| 174 |
+ </tr> |
|
| 175 |
+ <tr> |
|
| 176 |
+ <td><span class="font_b">[data].objectList[i].msgGroupCnt</span></td> |
|
| 177 |
+ <td>발송 건수</td> |
|
| 178 |
+ <td>Number</td> |
|
| 179 |
+ </tr> |
|
| 180 |
+ <tr> |
|
| 181 |
+ <td><span class="font_b">[data].objectList[i].smsTxt</span></td> |
|
| 182 |
+ <td>메시지 내용</td> |
|
| 183 |
+ <td>String</td> |
|
| 184 |
+ </tr> |
|
| 185 |
+ <tr> |
|
| 186 |
+ <td><span class="font_b">[data].objectList[i].callFrom</span></td> |
|
| 187 |
+ <td>발신 번호</td> |
|
| 188 |
+ <td>String</td> |
|
| 189 |
+ </tr> |
|
| 190 |
+ <tr> |
|
| 191 |
+ <td><span class="font_b">[data].objectList[i].callTo</span></td> |
|
| 192 |
+ <td>수신 번호</td> |
|
| 193 |
+ <td>String</td> |
|
| 194 |
+ </tr> |
|
| 195 |
+ <tr> |
|
| 196 |
+ <td><span class="font_b">[data].objectList[i].curState</span></td> |
|
| 197 |
+ <td>현재 상태 코드</td> |
|
| 198 |
+ <td>Number</td> |
|
| 199 |
+ </tr> |
|
| 200 |
+ <tr> |
|
| 201 |
+ <td><span class="font_b">[data].objectList[i].remainMsgCnt</span></td> |
|
| 202 |
+ <td>잔여 처리 건수</td> |
|
| 203 |
+ <td>Number</td> |
|
| 204 |
+ </tr> |
|
| 205 |
+ <tr> |
|
| 206 |
+ <td><span class="font_b">[data].objectList[i].reqdate</span></td> |
|
| 207 |
+ <td>요청 일시(YYYY-MM-DD HH:mm:ss)</td> |
|
| 208 |
+ <td>String</td> |
|
| 209 |
+ </tr> |
|
| 210 |
+ <tr> |
|
| 211 |
+ <td><span class="font_b">[data].objectList[i].regdate</span></td> |
|
| 212 |
+ <td>등록 일시(YYYY-MM-DD HH:mm:ss)</td> |
|
| 213 |
+ <td>String</td> |
|
| 214 |
+ </tr> |
|
| 215 |
+ <tr> |
|
| 216 |
+ <td><span class="font_b">[data].objectList[i].reserveCYn</span></td> |
|
| 217 |
+ <td>예약 취소 여부(Y/N)</td> |
|
| 218 |
+ <td>String</td> |
|
| 219 |
+ </tr> |
|
| 220 |
+ <tr> |
|
| 221 |
+ <td><span class="font_b">localDateTime</span></td> |
|
| 222 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 223 |
+ <td>String</td> |
|
| 224 |
+ </tr> |
|
| 225 |
+ </tbody> |
|
| 226 |
+ </table> |
|
| 227 |
+ <div class="table_info"> |
|
| 228 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 229 |
+ </div> |
|
| 230 |
+ </div> |
|
| 231 |
+ |
|
| 232 |
+ <div class="box"> |
|
| 233 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 234 |
+ <div class="code_view"> |
|
| 235 |
+ <pre> |
|
| 236 |
+ <code class="language-json"> |
|
| 237 |
+{
|
|
| 238 |
+ "resultCode": "0", |
|
| 239 |
+ |
|
| 240 |
+ "data": {
|
|
| 241 |
+ |
|
| 242 |
+ "resultCode": 0, |
|
| 243 |
+ |
|
| 244 |
+ "objectList": [ |
|
| 245 |
+ |
|
| 246 |
+ {
|
|
| 247 |
+ |
|
| 248 |
+ "msgGroupId": "MSGGID_XXXXXXX0000063", |
|
| 249 |
+ |
|
| 250 |
+ "msgId": "MSGCID_XXXXXXX00001180", |
|
| 251 |
+ |
|
| 252 |
+ "totMsgCnt": "9", |
|
| 253 |
+ |
|
| 254 |
+ "msgType": 8, |
|
| 255 |
+ |
|
| 256 |
+ "msgTypeName": "알림톡(AT)", |
|
| 257 |
+ |
|
| 258 |
+ "msgResult": "F", |
|
| 259 |
+ |
|
| 260 |
+ "msgGroupCnt": 1, |
|
| 261 |
+ |
|
| 262 |
+ "smsTxt": "test", |
|
| 263 |
+ |
|
| 264 |
+ "callFrom": "01093414986", |
|
| 265 |
+ |
|
| 266 |
+ "callTo": "01059941669", |
|
| 267 |
+ |
|
| 268 |
+ "curState": 3, |
|
| 269 |
+ |
|
| 270 |
+ "remainMsgCnt": 0, |
|
| 271 |
+ |
|
| 272 |
+ "reqdate": "2025-09-05 11:45:45", |
|
| 273 |
+ |
|
| 274 |
+ "regdate": "2025-09-05 11:45:45", |
|
| 275 |
+ |
|
| 276 |
+ "reserveCYn": "N" |
|
| 277 |
+ |
|
| 278 |
+ }, |
|
| 279 |
+ |
|
| 280 |
+ {
|
|
| 281 |
+ |
|
| 282 |
+ "msgGroupId": "MSGGID_XXXXXXX0000063", |
|
| 283 |
+ |
|
| 284 |
+ "msgId": "MSGCID_XXXXXXX000001175", |
|
| 285 |
+ |
|
| 286 |
+ "totMsgCnt": "9", |
|
| 287 |
+ |
|
| 288 |
+ "msgType": 9, |
|
| 289 |
+ |
|
| 290 |
+ "msgTypeName": "친구톡(AT)", |
|
| 291 |
+ |
|
| 292 |
+ "msgResult": "F", |
|
| 293 |
+ |
|
| 294 |
+ "msgGroupCnt": 1, |
|
| 295 |
+ |
|
| 296 |
+ "smsTxt": "test", |
|
| 297 |
+ |
|
| 298 |
+ "callFrom": "01093414986", |
|
| 299 |
+ |
|
| 300 |
+ "callTo": "01098969885", |
|
| 301 |
+ |
|
| 302 |
+ "curState": 3, |
|
| 303 |
+ |
|
| 304 |
+ "remainMsgCnt": 0, |
|
| 305 |
+ |
|
| 306 |
+ "reqdate": "2025-09-05 11:45:45", |
|
| 307 |
+ |
|
| 308 |
+ "regdate": "2025-09-05 11:45:45", |
|
| 309 |
+ |
|
| 310 |
+ "reserveCYn": "N" |
|
| 311 |
+ |
|
| 312 |
+ }, |
|
| 313 |
+ |
|
| 314 |
+ ] |
|
| 315 |
+ |
|
| 316 |
+ }, |
|
| 317 |
+ |
|
| 318 |
+ "localDateTime": "2025-09-16T10:47:20.4014362" |
|
| 319 |
+ |
|
| 320 |
+} |
|
| 321 |
+ </code> |
|
| 322 |
+ </pre> |
|
| 323 |
+ </div> |
|
| 324 |
+ </div> |
|
| 325 |
+ |
|
| 326 |
+ <div class="box"> |
|
| 327 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 328 |
+ <div class="code_view"> |
|
| 329 |
+ <pre><code class="language-json"> |
|
| 330 |
+{
|
|
| 331 |
+ |
|
| 332 |
+ "resultCode": "4099", |
|
| 333 |
+ |
|
| 334 |
+ "data": "기타 시스템 오류" |
|
| 335 |
+ |
|
| 336 |
+} |
|
| 337 |
+ </code></pre> |
|
| 338 |
+ </div> |
|
| 339 |
+ </div> |
|
| 340 |
+ <!-- // Response --> |
|
| 341 |
+ </div> |
|
| 342 |
+ <!--// Response--> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab5.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab5.jsp
... | ... | @@ -1,195 +1,303 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
- |
|
| 3 |
- <ul class="info"> |
|
| 4 |
- <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> |
|
| 5 |
- <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> |
|
| 6 |
- </ul> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" |
|
| 2 |
+ pageEncoding="UTF-8"%> |
|
| 7 | 3 |
|
| 8 |
- <div class="re_cont"> |
|
| 9 |
- <!--Request--> |
|
| 10 |
- <div class="req_title">Request</div> |
|
| 11 |
- <div class="box"> |
|
| 12 |
- <div class="text"> |
|
| 13 |
- <h4>Request</h4> |
|
| 14 |
- <table> |
|
| 15 |
- <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> |
|
| 16 |
- <colgroup> |
|
| 17 |
- <col style="width:20%;"> |
|
| 18 |
- <col style="width:80%;"> |
|
| 19 |
- </colgroup> |
|
| 20 |
- <tr> |
|
| 21 |
- <th>Http Method</th> |
|
| 22 |
- <td>POST</td> |
|
| 23 |
- </tr> |
|
| 24 |
- <tr> |
|
| 25 |
- <th>프로토콜</th> |
|
| 26 |
- <td>HTTP/1.1</td> |
|
| 27 |
- </tr> |
|
| 28 |
- <tr> |
|
| 29 |
- <th>HOST</th> |
|
| 30 |
- <td>api.munjaon.co.kr</td> |
|
| 31 |
- </tr> |
|
| 32 |
- <tr> |
|
| 33 |
- <th>Service Port</th> |
|
| 34 |
- <td>443</td> |
|
| 35 |
- </tr> |
|
| 36 |
- </table> |
|
| 37 |
- </div> |
|
| 38 |
- </div> |
|
| 39 |
- <div class="type_table"> |
|
| 40 |
- <table> |
|
| 41 |
- <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 42 |
- <colgroup> |
|
| 43 |
- <col style="width:20%;"> |
|
| 44 |
- <col style="width:45%;"> |
|
| 45 |
- <col style="width:25%"> |
|
| 46 |
- <col style="width:10%"> |
|
| 47 |
- </colgroup> |
|
| 48 |
- <thead> |
|
| 49 |
- <tr> |
|
| 50 |
- <th>키</th> |
|
| 51 |
- <th>설명</th> |
|
| 52 |
- <th>타입</th> |
|
| 53 |
- <th>필수</th> |
|
| 54 |
- </tr> |
|
| 55 |
- </thead> |
|
| 56 |
- <tbody> |
|
| 57 |
- <tr> |
|
| 58 |
- <td><span class="font_b">mberId</span></td> |
|
| 59 |
- <td>사용자 ID</td> |
|
| 60 |
- <td>String</td> |
|
| 61 |
- <td><span class="select_o">O</span></td> |
|
| 62 |
- </tr> |
|
| 63 |
- <tr> |
|
| 64 |
- <td><span class="font_b">accessKey</span></td> |
|
| 65 |
- <td>인증용 API Key</td> |
|
| 66 |
- <td>String</td> |
|
| 67 |
- <td><span class="select_o">O</span></td> |
|
| 68 |
- </tr> |
|
| 69 |
- </tbody> |
|
| 70 |
- </table> |
|
| 71 |
- <div class="table_info"> |
|
| 72 |
- <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 73 |
- </div> |
|
| 74 |
- </div> |
|
| 75 |
- <div class="box"> |
|
| 76 |
- <div class="title">[Example]</div> |
|
| 77 |
- <div class="code_view"> |
|
| 78 |
- <p>{</p> |
|
| 79 |
- <div class="indent"> |
|
| 80 |
- <p><span>"mberId"</span>:"String"</p> |
|
| 81 |
- <p>,<span>"accessKey"</span>:"String"</p> |
|
| 82 |
- </div> |
|
| 83 |
- <p class="l_code">}</p> |
|
| 84 |
- </div> |
|
| 85 |
- </div> |
|
| 86 |
- <!--// Request--> |
|
| 87 |
- <!-- Response--> |
|
| 88 |
- <div class="res_title">Response</div> |
|
| 89 |
- <div class="type_table"> |
|
| 90 |
- <table> |
|
| 91 |
- <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 92 |
- <colgroup> |
|
| 93 |
- <col style="width:20%;"> |
|
| 94 |
- <col style="width:60%;"> |
|
| 95 |
- <col style="width:20%;"> |
|
| 96 |
- </colgroup> |
|
| 97 |
- <thead> |
|
| 98 |
- <tr> |
|
| 99 |
- <th>키</th> |
|
| 100 |
- <th>설명</th> |
|
| 101 |
- <th>타입</th> |
|
| 102 |
- </tr> |
|
| 103 |
- </thead> |
|
| 104 |
- <tbody> |
|
| 105 |
- <tr> |
|
| 106 |
- <td><span class="font_b">resultCode</span></td> |
|
| 107 |
- <td>성공 여부("0" 아니면 실패)</td>
|
|
| 108 |
- <td>String</td> |
|
| 109 |
- </tr> |
|
| 110 |
- <tr> |
|
| 111 |
- <td><span class="font_b">data</span></td> |
|
| 112 |
- <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> |
|
| 113 |
- <td>Object</td> |
|
| 114 |
- </tr> |
|
| 115 |
- <tr> |
|
| 116 |
- <td><span class="font_b">[data].longPrice</span></td> |
|
| 117 |
- <td>장문 단가</td> |
|
| 118 |
- <td>String</td> |
|
| 119 |
- </tr> |
|
| 120 |
- <tr> |
|
| 121 |
- <td><span class="font_b">[data].longSendPsbltEa</span></td> |
|
| 122 |
- <td>장문 발송 가능 건수</td> |
|
| 123 |
- <td>String</td> |
|
| 124 |
- </tr> |
|
| 125 |
- <tr> |
|
| 126 |
- <td><span class="font_b">[data].mberMoney</span></td> |
|
| 127 |
- <td>현재 보유 금액</td> |
|
| 128 |
- <td>String</td> |
|
| 129 |
- </tr> |
|
| 130 |
- <tr> |
|
| 131 |
- <td><span class="font_b">[data].message</span></td> |
|
| 132 |
- <td>문자</td> |
|
| 133 |
- <td>String</td> |
|
| 134 |
- </tr> |
|
| 135 |
- <tr> |
|
| 136 |
- <td><span class="font_b">[data].picturePrice</span></td> |
|
| 137 |
- <td>그림문자 단가</td> |
|
| 138 |
- <td>String</td> |
|
| 139 |
- </tr> |
|
| 140 |
- <tr> |
|
| 141 |
- <td><span class="font_b">[data].pictureSendPsbltEa</span></td> |
|
| 142 |
- <td>그림문자 발송 가능 건수</td> |
|
| 143 |
- <td>String</td> |
|
| 144 |
- </tr> |
|
| 145 |
- <tr> |
|
| 146 |
- <td><span class="font_b">[data].shortPrice</span></td> |
|
| 147 |
- <td>단문 단가</td> |
|
| 148 |
- <td>String</td> |
|
| 149 |
- </tr> |
|
| 150 |
- <tr> |
|
| 151 |
- <td><span class="font_b">[data].shortSendPsbltEa</span></td> |
|
| 152 |
- <td>단문 발송 가능 건수</td> |
|
| 153 |
- <td>String</td> |
|
| 154 |
- </tr> |
|
| 155 |
- </tbody> |
|
| 156 |
- </table> |
|
| 157 |
- <div class="table_info"> |
|
| 158 |
- <p>※ JSON 객체로 응답합니다.</p> |
|
| 159 |
- </div> |
|
| 160 |
- </div> |
|
| 161 |
- <div class="box"> |
|
| 162 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 163 |
- <div class="code_view"> |
|
| 164 |
- <p>{</p> |
|
| 165 |
- <div class="indent"> |
|
| 166 |
- <p><span>"resultCode"</span>:"0"</p> |
|
| 167 |
- <p>,<span>"data"</span>{</p> |
|
| 168 |
- <div class="indent_t1"> |
|
| 169 |
- <p><span>"longPrice"</span>:"50"</p> |
|
| 170 |
- <p>,<span>"longSendPsbltEa"</span>:"19651"</p> |
|
| 171 |
- <p>,<span>"mberMoney"</span>:"982586.7"</p> |
|
| 172 |
- <p>,<span>"message"</span>:null</p> |
|
| 173 |
- <p>,<span>"picturePrice"</span>:"90"</p> |
|
| 174 |
- <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> |
|
| 175 |
- <p>,<span>"shortPrice"</span>:"18"</p> |
|
| 176 |
- <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> |
|
| 177 |
- </div> |
|
| 178 |
- <p>}</p> |
|
| 179 |
- </div> |
|
| 180 |
- <p class="l_code">}</p> |
|
| 181 |
- </div> |
|
| 182 |
- </div> |
|
| 183 |
- <div class="box"> |
|
| 184 |
- <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 185 |
- <div class="code_view"> |
|
| 186 |
- <p>{</p> |
|
| 187 |
- <div class="indent"> |
|
| 188 |
- <p><span>"resultCode"</span>:"5099"</p> |
|
| 189 |
- <p>,<span>"data"</span>:"기타 시스템 오류"</p> |
|
| 190 |
- </div> |
|
| 191 |
- <p class="l_code">}</p> |
|
| 192 |
- </div> |
|
| 193 |
- </div> |
|
| 194 |
- <!--// Response--> |
|
| 195 |
- </div> |
|
| 4 |
+ |
|
| 5 |
+<ul class="info"> |
|
| 6 |
+ <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS), 알림톡(AT), 친구톡(FT)별로 각각 확인할 수 있습니다.</li> |
|
| 7 |
+<!-- <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫 결제 이벤트"는 적용되지 않습니다.</li> --> |
|
| 8 |
+</ul> |
|
| 9 |
+ |
|
| 10 |
+<div class="re_cont"> |
|
| 11 |
+ <!-- Request --> |
|
| 12 |
+ <div class="req_title">Request</div> |
|
| 13 |
+ <div class="box"> |
|
| 14 |
+ <div class="text"> |
|
| 15 |
+ <h4>Request</h4> |
|
| 16 |
+ <table> |
|
| 17 |
+ <caption>API Request Http Method, 프로토콜, HOST, Service Port, Endpoint 정보 테이블</caption> |
|
| 18 |
+ <colgroup> |
|
| 19 |
+ <col style="width:20%;"> |
|
| 20 |
+ <col style="width:80%;"> |
|
| 21 |
+ </colgroup> |
|
| 22 |
+ <tr> |
|
| 23 |
+ <th>Http Method</th> |
|
| 24 |
+ <td>POST</td> |
|
| 25 |
+ </tr> |
|
| 26 |
+ <tr> |
|
| 27 |
+ <th>프로토콜</th> |
|
| 28 |
+ <td>HTTPS/1.1</td> |
|
| 29 |
+ </tr> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <th>HOST</th> |
|
| 32 |
+ <td>api.munjaon.co.kr</td> |
|
| 33 |
+ </tr> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th>Service Port</th> |
|
| 36 |
+ <td>443</td> |
|
| 37 |
+ </tr> |
|
| 38 |
+ <tr> |
|
| 39 |
+ <th>Endpoint</th> |
|
| 40 |
+ <td>/api/inqry/price</td> |
|
| 41 |
+ </tr> |
|
| 42 |
+ </table> |
|
| 43 |
+ </div> |
|
| 44 |
+ </div> |
|
| 45 |
+ |
|
| 46 |
+ <div class="type_table"> |
|
| 47 |
+ <table> |
|
| 48 |
+ <caption>가격/가능건수 조회 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> |
|
| 49 |
+ <colgroup> |
|
| 50 |
+ <col style="width:20%;"> |
|
| 51 |
+ <col style="width:45%;"> |
|
| 52 |
+ <col style="width:25%"> |
|
| 53 |
+ <col style="width:10%"> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <thead> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>키</th> |
|
| 58 |
+ <th>설명</th> |
|
| 59 |
+ <th>타입</th> |
|
| 60 |
+ <th>필수</th> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </thead> |
|
| 63 |
+ <tbody> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td><span class="font_b">mberId</span></td> |
|
| 66 |
+ <td>사용자 ID</td> |
|
| 67 |
+ <td>String</td> |
|
| 68 |
+ <td><span class="select_o">O</span></td> |
|
| 69 |
+ </tr> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <td><span class="font_b">accessKey</span></td> |
|
| 72 |
+ <td>인증용 API Key</td> |
|
| 73 |
+ <td>String</td> |
|
| 74 |
+ <td><span class="select_o">O</span></td> |
|
| 75 |
+ </tr> |
|
| 76 |
+ </tbody> |
|
| 77 |
+ </table> |
|
| 78 |
+ <div class="table_info"> |
|
| 79 |
+ <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> |
|
| 80 |
+ <p>※ Content-Type: application/json</p> |
|
| 81 |
+ </div> |
|
| 82 |
+ </div> |
|
| 83 |
+ |
|
| 84 |
+ <div class="box"> |
|
| 85 |
+ <div class="title">[Example]</div> |
|
| 86 |
+ <div class="code_view"> |
|
| 87 |
+ <pre> |
|
| 88 |
+ <code class="language-json"> |
|
| 89 |
+{
|
|
| 90 |
+ |
|
| 91 |
+ "mberId": "홍길동", |
|
| 92 |
+ |
|
| 93 |
+ "accessKey": "XXXXXXXXXXXXXX414050694b953" |
|
| 94 |
+} |
|
| 95 |
+ </code> |
|
| 96 |
+ </pre> |
|
| 97 |
+ </div> |
|
| 98 |
+ </div> |
|
| 99 |
+ <!-- // Request --> |
|
| 100 |
+ |
|
| 101 |
+ <!-- Response --> |
|
| 102 |
+ <div class="res_title">Response</div> |
|
| 103 |
+ <div class="type_table"> |
|
| 104 |
+ <table> |
|
| 105 |
+ <caption>가격/가능건수 조회 API Response 키 종류 및 설명, 타입 테이블</caption> |
|
| 106 |
+ <colgroup> |
|
| 107 |
+ <col style="width:20%;"> |
|
| 108 |
+ <col style="width:60%;"> |
|
| 109 |
+ <col style="width:20%;"> |
|
| 110 |
+ </colgroup> |
|
| 111 |
+ <thead> |
|
| 112 |
+ <tr> |
|
| 113 |
+ <th>키</th> |
|
| 114 |
+ <th>설명</th> |
|
| 115 |
+ <th>타입</th> |
|
| 116 |
+ </tr> |
|
| 117 |
+ </thead> |
|
| 118 |
+ <tbody> |
|
| 119 |
+ <tr> |
|
| 120 |
+ <td><span class="font_b">resultCode</span></td> |
|
| 121 |
+ <td>성공 여부("0" 이외는 실패)</td>
|
|
| 122 |
+ <td>String</td> |
|
| 123 |
+ </tr> |
|
| 124 |
+ <tr> |
|
| 125 |
+ <td><span class="font_b">data</span></td> |
|
| 126 |
+ <td>조회 결과 객체(성공 시 가격/가능건수 정보)</td> |
|
| 127 |
+ <td>Object | String</td> |
|
| 128 |
+ </tr> |
|
| 129 |
+ <tr> |
|
| 130 |
+ <td><span class="font_b">[data].resultCode</span></td> |
|
| 131 |
+ <td>내부 처리 결과("0": 성공)</td>
|
|
| 132 |
+ <td>String</td> |
|
| 133 |
+ </tr> |
|
| 134 |
+ <tr> |
|
| 135 |
+ <td><span class="font_b">[data].message</span></td> |
|
| 136 |
+ <td>메시지(필요 시)</td> |
|
| 137 |
+ <td>String</td> |
|
| 138 |
+ </tr> |
|
| 139 |
+ <tr> |
|
| 140 |
+ <td><span class="font_b">[data].localDateTime</span></td> |
|
| 141 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 142 |
+ <td>String</td> |
|
| 143 |
+ </tr> |
|
| 144 |
+ <tr> |
|
| 145 |
+ <td><span class="font_b">[data].shortPrice</span></td> |
|
| 146 |
+ <td>단문(SMS) 단가</td> |
|
| 147 |
+ <td>Number</td> |
|
| 148 |
+ </tr> |
|
| 149 |
+ <tr> |
|
| 150 |
+ <td><span class="font_b">[data].longPrice</span></td> |
|
| 151 |
+ <td>장문(LMS) 단가</td> |
|
| 152 |
+ <td>Number</td> |
|
| 153 |
+ </tr> |
|
| 154 |
+ <tr> |
|
| 155 |
+ <td><span class="font_b">[data].picturePrice</span></td> |
|
| 156 |
+ <td>사진(MMS) 단가</td> |
|
| 157 |
+ <td>Number</td> |
|
| 158 |
+ </tr> |
|
| 159 |
+ <tr> |
|
| 160 |
+ <td><span class="font_b">[data].kakaoAtPrice</span></td> |
|
| 161 |
+ <td>카카오 알림톡 단가</td> |
|
| 162 |
+ <td>Number</td> |
|
| 163 |
+ </tr> |
|
| 164 |
+ <tr> |
|
| 165 |
+ <td><span class="font_b">[data].kakaoFtPrice</span></td> |
|
| 166 |
+ <td>카카오 친구톡(텍스트) 단가</td> |
|
| 167 |
+ <td>Number</td> |
|
| 168 |
+ </tr> |
|
| 169 |
+ <tr> |
|
| 170 |
+ <td><span class="font_b">[data].kakaoFtImgPrice</span></td> |
|
| 171 |
+ <td>카카오 친구톡(이미지) 단가</td> |
|
| 172 |
+ <td>Number</td> |
|
| 173 |
+ </tr> |
|
| 174 |
+ <tr> |
|
| 175 |
+ <td><span class="font_b">[data].kakaoFtWideImgPrice</span></td> |
|
| 176 |
+ <td>카카오 친구톡(와이드 이미지) 단가</td> |
|
| 177 |
+ <td>Number</td> |
|
| 178 |
+ </tr> |
|
| 179 |
+ <tr> |
|
| 180 |
+ <td><span class="font_b">[data].mberMoney</span></td> |
|
| 181 |
+ <td>회원 보유 금액</td> |
|
| 182 |
+ <td>Number</td> |
|
| 183 |
+ </tr> |
|
| 184 |
+ <tr> |
|
| 185 |
+ <td><span class="font_b">[data].shortSendPsbltEa</span></td> |
|
| 186 |
+ <td>단문 발송 가능 건수</td> |
|
| 187 |
+ <td>Number</td> |
|
| 188 |
+ </tr> |
|
| 189 |
+ <tr> |
|
| 190 |
+ <td><span class="font_b">[data].longSendPsbltEa</span></td> |
|
| 191 |
+ <td>장문 발송 가능 건수</td> |
|
| 192 |
+ <td>Number</td> |
|
| 193 |
+ </tr> |
|
| 194 |
+ <tr> |
|
| 195 |
+ <td><span class="font_b">[data].pictureSendPsbltEa</span></td> |
|
| 196 |
+ <td>사진 발송 가능 건수</td> |
|
| 197 |
+ <td>Number</td> |
|
| 198 |
+ </tr> |
|
| 199 |
+ <tr> |
|
| 200 |
+ <td><span class="font_b">[data].kakaoAtSendPsbltEa</span></td> |
|
| 201 |
+ <td>알림톡 발송 가능 건수</td> |
|
| 202 |
+ <td>Number</td> |
|
| 203 |
+ </tr> |
|
| 204 |
+ <tr> |
|
| 205 |
+ <td><span class="font_b">[data].kakaoFtSendPsbltEa</span></td> |
|
| 206 |
+ <td>친구톡(텍스트) 발송 가능 건수</td> |
|
| 207 |
+ <td>Number</td> |
|
| 208 |
+ </tr> |
|
| 209 |
+ <tr> |
|
| 210 |
+ <td><span class="font_b">[data].kakaoFtImgSendPsbltEa</span></td> |
|
| 211 |
+ <td>친구톡(이미지) 발송 가능 건수</td> |
|
| 212 |
+ <td>Number</td> |
|
| 213 |
+ </tr> |
|
| 214 |
+ <tr> |
|
| 215 |
+ <td><span class="font_b">[data].kakaoFtWideImgSendPsbltEa</span></td> |
|
| 216 |
+ <td>친구톡(와이드 이미지) 발송 가능 건수</td> |
|
| 217 |
+ <td>Number</td> |
|
| 218 |
+ </tr> |
|
| 219 |
+ <tr> |
|
| 220 |
+ <td><span class="font_b">localDateTime</span></td> |
|
| 221 |
+ <td>서버 처리 일시(ISO-8601)</td> |
|
| 222 |
+ <td>String</td> |
|
| 223 |
+ </tr> |
|
| 224 |
+ </tbody> |
|
| 225 |
+ </table> |
|
| 226 |
+ <div class="table_info"> |
|
| 227 |
+ <p>※ JSON 객체로 응답합니다.</p> |
|
| 228 |
+ </div> |
|
| 229 |
+ </div> |
|
| 230 |
+ |
|
| 231 |
+ <div class="box"> |
|
| 232 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> |
|
| 233 |
+ <div class="code_view"> |
|
| 234 |
+ <pre> |
|
| 235 |
+ <code class="language-json"> |
|
| 236 |
+{
|
|
| 237 |
+ "resultCode": "0", |
|
| 238 |
+ |
|
| 239 |
+ "data": {
|
|
| 240 |
+ |
|
| 241 |
+ "resultCode": "0", |
|
| 242 |
+ |
|
| 243 |
+ "message": "", |
|
| 244 |
+ |
|
| 245 |
+ "localDateTime": "2025-09-16T11:06:40.2556646", |
|
| 246 |
+ |
|
| 247 |
+ "shortPrice": 18.0, |
|
| 248 |
+ |
|
| 249 |
+ "longPrice": 50.0, |
|
| 250 |
+ |
|
| 251 |
+ "picturePrice": 90.0, |
|
| 252 |
+ |
|
| 253 |
+ "kakaoAtPrice": 6.9, |
|
| 254 |
+ |
|
| 255 |
+ "kakaoFtPrice": 13.8, |
|
| 256 |
+ |
|
| 257 |
+ "kakaoFtImgPrice": 19.9, |
|
| 258 |
+ |
|
| 259 |
+ "kakaoFtWideImgPrice": 22.9, |
|
| 260 |
+ |
|
| 261 |
+ "mberMoney": 6549661.26, |
|
| 262 |
+ |
|
| 263 |
+ "shortSendPsbltEa": 363870, |
|
| 264 |
+ |
|
| 265 |
+ "longSendPsbltEa": 130993, |
|
| 266 |
+ |
|
| 267 |
+ "pictureSendPsbltEa": 72774, |
|
| 268 |
+ |
|
| 269 |
+ "kakaoAtSendPsbltEa": 949226, |
|
| 270 |
+ |
|
| 271 |
+ "kakaoFtSendPsbltEa": 474613, |
|
| 272 |
+ |
|
| 273 |
+ "kakaoFtImgSendPsbltEa": 329128, |
|
| 274 |
+ |
|
| 275 |
+ "kakaoFtWideImgSendPsbltEa": 286011 |
|
| 276 |
+ |
|
| 277 |
+ }, |
|
| 278 |
+ |
|
| 279 |
+ "localDateTime": "2025-09-16T11:06:40.2556646" |
|
| 280 |
+ |
|
| 281 |
+} |
|
| 282 |
+ </code> |
|
| 283 |
+ </pre> |
|
| 284 |
+ </div> |
|
| 285 |
+ </div> |
|
| 286 |
+ |
|
| 287 |
+ <div class="box"> |
|
| 288 |
+ <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> |
|
| 289 |
+ <div class="code_view"> |
|
| 290 |
+ <pre><code class="language-json"> |
|
| 291 |
+{
|
|
| 292 |
+ |
|
| 293 |
+ "resultCode": "3099", |
|
| 294 |
+ |
|
| 295 |
+ "data": "기타 시스템 오류" |
|
| 296 |
+ |
|
| 297 |
+} |
|
| 298 |
+ </code></pre> |
|
| 299 |
+ </div> |
|
| 300 |
+ </div> |
|
| 301 |
+ <!-- // Response --> |
|
| 302 |
+ </div> |
|
| 303 |
+ <!--// Response--> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab6.jsp
... | ... | @@ -1,195 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - <ul class="info"> | |
| 4 | - <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> | |
| 5 | - <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> | |
| 6 | - </ul> | |
| 7 | - | |
| 8 | - <div class="re_cont"> | |
| 9 | - <!--Request--> | |
| 10 | - <div class="req_title">Request</div> | |
| 11 | - <div class="box"> | |
| 12 | - <div class="text"> | |
| 13 | - <h4>Request</h4> | |
| 14 | - <table> | |
| 15 | - <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> | |
| 16 | - <colgroup> | |
| 17 | - <col style="width:20%;"> | |
| 18 | - <col style="width:80%;"> | |
| 19 | - </colgroup> | |
| 20 | - <tr> | |
| 21 | - <th>Http Method</th> | |
| 22 | - <td>POST</td> | |
| 23 | - </tr> | |
| 24 | - <tr> | |
| 25 | - <th>프로토콜</th> | |
| 26 | - <td>HTTP/1.1</td> | |
| 27 | - </tr> | |
| 28 | - <tr> | |
| 29 | - <th>HOST</th> | |
| 30 | - <td>api.munjaon.co.kr</td> | |
| 31 | - </tr> | |
| 32 | - <tr> | |
| 33 | - <th>Service Port</th> | |
| 34 | - <td>443</td> | |
| 35 | - </tr> | |
| 36 | - </table> | |
| 37 | - </div> | |
| 38 | - </div> | |
| 39 | - <div class="type_table"> | |
| 40 | - <table> | |
| 41 | - <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> | |
| 42 | - <colgroup> | |
| 43 | - <col style="width:20%;"> | |
| 44 | - <col style="width:45%;"> | |
| 45 | - <col style="width:25%"> | |
| 46 | - <col style="width:10%"> | |
| 47 | - </colgroup> | |
| 48 | - <thead> | |
| 49 | - <tr> | |
| 50 | - <th>키</th> | |
| 51 | - <th>설명</th> | |
| 52 | - <th>타입</th> | |
| 53 | - <th>필수</th> | |
| 54 | - </tr> | |
| 55 | - </thead> | |
| 56 | - <tbody> | |
| 57 | - <tr> | |
| 58 | - <td><span class="font_b">mberId</span></td> | |
| 59 | - <td>사용자 ID</td> | |
| 60 | - <td>String</td> | |
| 61 | - <td><span class="select_o">O</span></td> | |
| 62 | - </tr> | |
| 63 | - <tr> | |
| 64 | - <td><span class="font_b">accessKey</span></td> | |
| 65 | - <td>인증용 API Key</td> | |
| 66 | - <td>String</td> | |
| 67 | - <td><span class="select_o">O</span></td> | |
| 68 | - </tr> | |
| 69 | - </tbody> | |
| 70 | - </table> | |
| 71 | - <div class="table_info"> | |
| 72 | - <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> | |
| 73 | - </div> | |
| 74 | - </div> | |
| 75 | - <div class="box"> | |
| 76 | - <div class="title">[Example]</div> | |
| 77 | - <div class="code_view"> | |
| 78 | - <p>{</p> | |
| 79 | - <div class="indent"> | |
| 80 | - <p><span>"mberId"</span>:"String"</p> | |
| 81 | - <p>,<span>"accessKey"</span>:"String"</p> | |
| 82 | - </div> | |
| 83 | - <p class="l_code">}</p> | |
| 84 | - </div> | |
| 85 | - </div> | |
| 86 | - <!--// Request--> | |
| 87 | - <!-- Response--> | |
| 88 | - <div class="res_title">Response</div> | |
| 89 | - <div class="type_table"> | |
| 90 | - <table> | |
| 91 | - <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 92 | - <colgroup> | |
| 93 | - <col style="width:20%;"> | |
| 94 | - <col style="width:60%;"> | |
| 95 | - <col style="width:20%;"> | |
| 96 | - </colgroup> | |
| 97 | - <thead> | |
| 98 | - <tr> | |
| 99 | - <th>키</th> | |
| 100 | - <th>설명</th> | |
| 101 | - <th>타입</th> | |
| 102 | - </tr> | |
| 103 | - </thead> | |
| 104 | - <tbody> | |
| 105 | - <tr> | |
| 106 | - <td><span class="font_b">resultCode</span></td> | |
| 107 | - <td>성공 여부("0" 아니면 실패)</td> | |
| 108 | - <td>String</td> | |
| 109 | - </tr> | |
| 110 | - <tr> | |
| 111 | - <td><span class="font_b">data</span></td> | |
| 112 | - <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 113 | - <td>Object</td> | |
| 114 | - </tr> | |
| 115 | - <tr> | |
| 116 | - <td><span class="font_b">[data].longPrice</span></td> | |
| 117 | - <td>장문 단가</td> | |
| 118 | - <td>String</td> | |
| 119 | - </tr> | |
| 120 | - <tr> | |
| 121 | - <td><span class="font_b">[data].longSendPsbltEa</span></td> | |
| 122 | - <td>장문 발송 가능 건수</td> | |
| 123 | - <td>String</td> | |
| 124 | - </tr> | |
| 125 | - <tr> | |
| 126 | - <td><span class="font_b">[data].mberMoney</span></td> | |
| 127 | - <td>현재 보유 금액</td> | |
| 128 | - <td>String</td> | |
| 129 | - </tr> | |
| 130 | - <tr> | |
| 131 | - <td><span class="font_b">[data].message</span></td> | |
| 132 | - <td>문자</td> | |
| 133 | - <td>String</td> | |
| 134 | - </tr> | |
| 135 | - <tr> | |
| 136 | - <td><span class="font_b">[data].picturePrice</span></td> | |
| 137 | - <td>그림문자 단가</td> | |
| 138 | - <td>String</td> | |
| 139 | - </tr> | |
| 140 | - <tr> | |
| 141 | - <td><span class="font_b">[data].pictureSendPsbltEa</span></td> | |
| 142 | - <td>그림문자 발송 가능 건수</td> | |
| 143 | - <td>String</td> | |
| 144 | - </tr> | |
| 145 | - <tr> | |
| 146 | - <td><span class="font_b">[data].shortPrice</span></td> | |
| 147 | - <td>단문 단가</td> | |
| 148 | - <td>String</td> | |
| 149 | - </tr> | |
| 150 | - <tr> | |
| 151 | - <td><span class="font_b">[data].shortSendPsbltEa</span></td> | |
| 152 | - <td>단문 발송 가능 건수</td> | |
| 153 | - <td>String</td> | |
| 154 | - </tr> | |
| 155 | - </tbody> | |
| 156 | - </table> | |
| 157 | - <div class="table_info"> | |
| 158 | - <p>※ JSON 객체로 응답합니다.</p> | |
| 159 | - </div> | |
| 160 | - </div> | |
| 161 | - <div class="box"> | |
| 162 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 163 | - <div class="code_view"> | |
| 164 | - <p>{</p> | |
| 165 | - <div class="indent"> | |
| 166 | - <p><span>"resultCode"</span>:"0"</p> | |
| 167 | - <p>,<span>"data"</span>{</p> | |
| 168 | - <div class="indent_t1"> | |
| 169 | - <p><span>"longPrice"</span>:"50"</p> | |
| 170 | - <p>,<span>"longSendPsbltEa"</span>:"19651"</p> | |
| 171 | - <p>,<span>"mberMoney"</span>:"982586.7"</p> | |
| 172 | - <p>,<span>"message"</span>:null</p> | |
| 173 | - <p>,<span>"picturePrice"</span>:"90"</p> | |
| 174 | - <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> | |
| 175 | - <p>,<span>"shortPrice"</span>:"18"</p> | |
| 176 | - <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> | |
| 177 | - </div> | |
| 178 | - <p>}</p> | |
| 179 | - </div> | |
| 180 | - <p class="l_code">}</p> | |
| 181 | - </div> | |
| 182 | - </div> | |
| 183 | - <div class="box"> | |
| 184 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 185 | - <div class="code_view"> | |
| 186 | - <p>{</p> | |
| 187 | - <div class="indent"> | |
| 188 | - <p><span>"resultCode"</span>:"5099"</p> | |
| 189 | - <p>,<span>"data"</span>:"기타 시스템 오류"</p> | |
| 190 | - </div> | |
| 191 | - <p class="l_code">}</p> | |
| 192 | - </div> | |
| 193 | - </div> | |
| 194 | - <!--// Response--> | |
| 195 | - </div> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab7.jsp
... | ... | @@ -1,195 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - <ul class="info"> | |
| 4 | - <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> | |
| 5 | - <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> | |
| 6 | - </ul> | |
| 7 | - | |
| 8 | - <div class="re_cont"> | |
| 9 | - <!--Request--> | |
| 10 | - <div class="req_title">Request</div> | |
| 11 | - <div class="box"> | |
| 12 | - <div class="text"> | |
| 13 | - <h4>Request</h4> | |
| 14 | - <table> | |
| 15 | - <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> | |
| 16 | - <colgroup> | |
| 17 | - <col style="width:20%;"> | |
| 18 | - <col style="width:80%;"> | |
| 19 | - </colgroup> | |
| 20 | - <tr> | |
| 21 | - <th>Http Method</th> | |
| 22 | - <td>POST</td> | |
| 23 | - </tr> | |
| 24 | - <tr> | |
| 25 | - <th>프로토콜</th> | |
| 26 | - <td>HTTP/1.1</td> | |
| 27 | - </tr> | |
| 28 | - <tr> | |
| 29 | - <th>HOST</th> | |
| 30 | - <td>api.munjaon.co.kr</td> | |
| 31 | - </tr> | |
| 32 | - <tr> | |
| 33 | - <th>Service Port</th> | |
| 34 | - <td>443</td> | |
| 35 | - </tr> | |
| 36 | - </table> | |
| 37 | - </div> | |
| 38 | - </div> | |
| 39 | - <div class="type_table"> | |
| 40 | - <table> | |
| 41 | - <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> | |
| 42 | - <colgroup> | |
| 43 | - <col style="width:20%;"> | |
| 44 | - <col style="width:45%;"> | |
| 45 | - <col style="width:25%"> | |
| 46 | - <col style="width:10%"> | |
| 47 | - </colgroup> | |
| 48 | - <thead> | |
| 49 | - <tr> | |
| 50 | - <th>키</th> | |
| 51 | - <th>설명</th> | |
| 52 | - <th>타입</th> | |
| 53 | - <th>필수</th> | |
| 54 | - </tr> | |
| 55 | - </thead> | |
| 56 | - <tbody> | |
| 57 | - <tr> | |
| 58 | - <td><span class="font_b">mberId</span></td> | |
| 59 | - <td>사용자 ID</td> | |
| 60 | - <td>String</td> | |
| 61 | - <td><span class="select_o">O</span></td> | |
| 62 | - </tr> | |
| 63 | - <tr> | |
| 64 | - <td><span class="font_b">accessKey</span></td> | |
| 65 | - <td>인증용 API Key</td> | |
| 66 | - <td>String</td> | |
| 67 | - <td><span class="select_o">O</span></td> | |
| 68 | - </tr> | |
| 69 | - </tbody> | |
| 70 | - </table> | |
| 71 | - <div class="table_info"> | |
| 72 | - <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> | |
| 73 | - </div> | |
| 74 | - </div> | |
| 75 | - <div class="box"> | |
| 76 | - <div class="title">[Example]</div> | |
| 77 | - <div class="code_view"> | |
| 78 | - <p>{</p> | |
| 79 | - <div class="indent"> | |
| 80 | - <p><span>"mberId"</span>:"String"</p> | |
| 81 | - <p>,<span>"accessKey"</span>:"String"</p> | |
| 82 | - </div> | |
| 83 | - <p class="l_code">}</p> | |
| 84 | - </div> | |
| 85 | - </div> | |
| 86 | - <!--// Request--> | |
| 87 | - <!-- Response--> | |
| 88 | - <div class="res_title">Response</div> | |
| 89 | - <div class="type_table"> | |
| 90 | - <table> | |
| 91 | - <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 92 | - <colgroup> | |
| 93 | - <col style="width:20%;"> | |
| 94 | - <col style="width:60%;"> | |
| 95 | - <col style="width:20%;"> | |
| 96 | - </colgroup> | |
| 97 | - <thead> | |
| 98 | - <tr> | |
| 99 | - <th>키</th> | |
| 100 | - <th>설명</th> | |
| 101 | - <th>타입</th> | |
| 102 | - </tr> | |
| 103 | - </thead> | |
| 104 | - <tbody> | |
| 105 | - <tr> | |
| 106 | - <td><span class="font_b">resultCode</span></td> | |
| 107 | - <td>성공 여부("0" 아니면 실패)</td> | |
| 108 | - <td>String</td> | |
| 109 | - </tr> | |
| 110 | - <tr> | |
| 111 | - <td><span class="font_b">data</span></td> | |
| 112 | - <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 113 | - <td>Object</td> | |
| 114 | - </tr> | |
| 115 | - <tr> | |
| 116 | - <td><span class="font_b">[data].longPrice</span></td> | |
| 117 | - <td>장문 단가</td> | |
| 118 | - <td>String</td> | |
| 119 | - </tr> | |
| 120 | - <tr> | |
| 121 | - <td><span class="font_b">[data].longSendPsbltEa</span></td> | |
| 122 | - <td>장문 발송 가능 건수</td> | |
| 123 | - <td>String</td> | |
| 124 | - </tr> | |
| 125 | - <tr> | |
| 126 | - <td><span class="font_b">[data].mberMoney</span></td> | |
| 127 | - <td>현재 보유 금액</td> | |
| 128 | - <td>String</td> | |
| 129 | - </tr> | |
| 130 | - <tr> | |
| 131 | - <td><span class="font_b">[data].message</span></td> | |
| 132 | - <td>문자</td> | |
| 133 | - <td>String</td> | |
| 134 | - </tr> | |
| 135 | - <tr> | |
| 136 | - <td><span class="font_b">[data].picturePrice</span></td> | |
| 137 | - <td>그림문자 단가</td> | |
| 138 | - <td>String</td> | |
| 139 | - </tr> | |
| 140 | - <tr> | |
| 141 | - <td><span class="font_b">[data].pictureSendPsbltEa</span></td> | |
| 142 | - <td>그림문자 발송 가능 건수</td> | |
| 143 | - <td>String</td> | |
| 144 | - </tr> | |
| 145 | - <tr> | |
| 146 | - <td><span class="font_b">[data].shortPrice</span></td> | |
| 147 | - <td>단문 단가</td> | |
| 148 | - <td>String</td> | |
| 149 | - </tr> | |
| 150 | - <tr> | |
| 151 | - <td><span class="font_b">[data].shortSendPsbltEa</span></td> | |
| 152 | - <td>단문 발송 가능 건수</td> | |
| 153 | - <td>String</td> | |
| 154 | - </tr> | |
| 155 | - </tbody> | |
| 156 | - </table> | |
| 157 | - <div class="table_info"> | |
| 158 | - <p>※ JSON 객체로 응답합니다.</p> | |
| 159 | - </div> | |
| 160 | - </div> | |
| 161 | - <div class="box"> | |
| 162 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 163 | - <div class="code_view"> | |
| 164 | - <p>{</p> | |
| 165 | - <div class="indent"> | |
| 166 | - <p><span>"resultCode"</span>:"0"</p> | |
| 167 | - <p>,<span>"data"</span>{</p> | |
| 168 | - <div class="indent_t1"> | |
| 169 | - <p><span>"longPrice"</span>:"50"</p> | |
| 170 | - <p>,<span>"longSendPsbltEa"</span>:"19651"</p> | |
| 171 | - <p>,<span>"mberMoney"</span>:"982586.7"</p> | |
| 172 | - <p>,<span>"message"</span>:null</p> | |
| 173 | - <p>,<span>"picturePrice"</span>:"90"</p> | |
| 174 | - <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> | |
| 175 | - <p>,<span>"shortPrice"</span>:"18"</p> | |
| 176 | - <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> | |
| 177 | - </div> | |
| 178 | - <p>}</p> | |
| 179 | - </div> | |
| 180 | - <p class="l_code">}</p> | |
| 181 | - </div> | |
| 182 | - </div> | |
| 183 | - <div class="box"> | |
| 184 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 185 | - <div class="code_view"> | |
| 186 | - <p>{</p> | |
| 187 | - <div class="indent"> | |
| 188 | - <p><span>"resultCode"</span>:"5099"</p> | |
| 189 | - <p>,<span>"data"</span>:"기타 시스템 오류"</p> | |
| 190 | - </div> | |
| 191 | - <p class="l_code">}</p> | |
| 192 | - </div> | |
| 193 | - </div> | |
| 194 | - <!--// Response--> | |
| 195 | - </div> |
--- src/main/webapp/WEB-INF/jsp/web/api/ft/apiSpec_tab8.jsp
... | ... | @@ -1,195 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - <ul class="info"> | |
| 4 | - <li>- 보유캐시로 발송 가능한 문자의 건수를 단문(SMS), 장문(LMS), 그림(MMS)별로 각각 확인할 수 있습니다.</li> | |
| 5 | - <li>- 위 문자유형별 발송 가능건수는 개인별로 적용된 단가를 기준으로 산출되며, "첫결제 이벤트"는 적용되지 않습니다.</li> | |
| 6 | - </ul> | |
| 7 | - | |
| 8 | - <div class="re_cont"> | |
| 9 | - <!--Request--> | |
| 10 | - <div class="req_title">Request</div> | |
| 11 | - <div class="box"> | |
| 12 | - <div class="text"> | |
| 13 | - <h4>Request</h4> | |
| 14 | - <table> | |
| 15 | - <caption>API Request Http Method, 프로토콜, HOST, Service Port 정보 테이블</caption> | |
| 16 | - <colgroup> | |
| 17 | - <col style="width:20%;"> | |
| 18 | - <col style="width:80%;"> | |
| 19 | - </colgroup> | |
| 20 | - <tr> | |
| 21 | - <th>Http Method</th> | |
| 22 | - <td>POST</td> | |
| 23 | - </tr> | |
| 24 | - <tr> | |
| 25 | - <th>프로토콜</th> | |
| 26 | - <td>HTTP/1.1</td> | |
| 27 | - </tr> | |
| 28 | - <tr> | |
| 29 | - <th>HOST</th> | |
| 30 | - <td>api.munjaon.co.kr</td> | |
| 31 | - </tr> | |
| 32 | - <tr> | |
| 33 | - <th>Service Port</th> | |
| 34 | - <td>443</td> | |
| 35 | - </tr> | |
| 36 | - </table> | |
| 37 | - </div> | |
| 38 | - </div> | |
| 39 | - <div class="type_table"> | |
| 40 | - <table> | |
| 41 | - <caption>발송가능 건수 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> | |
| 42 | - <colgroup> | |
| 43 | - <col style="width:20%;"> | |
| 44 | - <col style="width:45%;"> | |
| 45 | - <col style="width:25%"> | |
| 46 | - <col style="width:10%"> | |
| 47 | - </colgroup> | |
| 48 | - <thead> | |
| 49 | - <tr> | |
| 50 | - <th>키</th> | |
| 51 | - <th>설명</th> | |
| 52 | - <th>타입</th> | |
| 53 | - <th>필수</th> | |
| 54 | - </tr> | |
| 55 | - </thead> | |
| 56 | - <tbody> | |
| 57 | - <tr> | |
| 58 | - <td><span class="font_b">mberId</span></td> | |
| 59 | - <td>사용자 ID</td> | |
| 60 | - <td>String</td> | |
| 61 | - <td><span class="select_o">O</span></td> | |
| 62 | - </tr> | |
| 63 | - <tr> | |
| 64 | - <td><span class="font_b">accessKey</span></td> | |
| 65 | - <td>인증용 API Key</td> | |
| 66 | - <td>String</td> | |
| 67 | - <td><span class="select_o">O</span></td> | |
| 68 | - </tr> | |
| 69 | - </tbody> | |
| 70 | - </table> | |
| 71 | - <div class="table_info"> | |
| 72 | - <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> | |
| 73 | - </div> | |
| 74 | - </div> | |
| 75 | - <div class="box"> | |
| 76 | - <div class="title">[Example]</div> | |
| 77 | - <div class="code_view"> | |
| 78 | - <p>{</p> | |
| 79 | - <div class="indent"> | |
| 80 | - <p><span>"mberId"</span>:"String"</p> | |
| 81 | - <p>,<span>"accessKey"</span>:"String"</p> | |
| 82 | - </div> | |
| 83 | - <p class="l_code">}</p> | |
| 84 | - </div> | |
| 85 | - </div> | |
| 86 | - <!--// Request--> | |
| 87 | - <!-- Response--> | |
| 88 | - <div class="res_title">Response</div> | |
| 89 | - <div class="type_table"> | |
| 90 | - <table> | |
| 91 | - <caption>발송가능 건수 API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 92 | - <colgroup> | |
| 93 | - <col style="width:20%;"> | |
| 94 | - <col style="width:60%;"> | |
| 95 | - <col style="width:20%;"> | |
| 96 | - </colgroup> | |
| 97 | - <thead> | |
| 98 | - <tr> | |
| 99 | - <th>키</th> | |
| 100 | - <th>설명</th> | |
| 101 | - <th>타입</th> | |
| 102 | - </tr> | |
| 103 | - </thead> | |
| 104 | - <tbody> | |
| 105 | - <tr> | |
| 106 | - <td><span class="font_b">resultCode</span></td> | |
| 107 | - <td>성공 여부("0" 아니면 실패)</td> | |
| 108 | - <td>String</td> | |
| 109 | - </tr> | |
| 110 | - <tr> | |
| 111 | - <td><span class="font_b">data</span></td> | |
| 112 | - <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 113 | - <td>Object</td> | |
| 114 | - </tr> | |
| 115 | - <tr> | |
| 116 | - <td><span class="font_b">[data].longPrice</span></td> | |
| 117 | - <td>장문 단가</td> | |
| 118 | - <td>String</td> | |
| 119 | - </tr> | |
| 120 | - <tr> | |
| 121 | - <td><span class="font_b">[data].longSendPsbltEa</span></td> | |
| 122 | - <td>장문 발송 가능 건수</td> | |
| 123 | - <td>String</td> | |
| 124 | - </tr> | |
| 125 | - <tr> | |
| 126 | - <td><span class="font_b">[data].mberMoney</span></td> | |
| 127 | - <td>현재 보유 금액</td> | |
| 128 | - <td>String</td> | |
| 129 | - </tr> | |
| 130 | - <tr> | |
| 131 | - <td><span class="font_b">[data].message</span></td> | |
| 132 | - <td>문자</td> | |
| 133 | - <td>String</td> | |
| 134 | - </tr> | |
| 135 | - <tr> | |
| 136 | - <td><span class="font_b">[data].picturePrice</span></td> | |
| 137 | - <td>그림문자 단가</td> | |
| 138 | - <td>String</td> | |
| 139 | - </tr> | |
| 140 | - <tr> | |
| 141 | - <td><span class="font_b">[data].pictureSendPsbltEa</span></td> | |
| 142 | - <td>그림문자 발송 가능 건수</td> | |
| 143 | - <td>String</td> | |
| 144 | - </tr> | |
| 145 | - <tr> | |
| 146 | - <td><span class="font_b">[data].shortPrice</span></td> | |
| 147 | - <td>단문 단가</td> | |
| 148 | - <td>String</td> | |
| 149 | - </tr> | |
| 150 | - <tr> | |
| 151 | - <td><span class="font_b">[data].shortSendPsbltEa</span></td> | |
| 152 | - <td>단문 발송 가능 건수</td> | |
| 153 | - <td>String</td> | |
| 154 | - </tr> | |
| 155 | - </tbody> | |
| 156 | - </table> | |
| 157 | - <div class="table_info"> | |
| 158 | - <p>※ JSON 객체로 응답합니다.</p> | |
| 159 | - </div> | |
| 160 | - </div> | |
| 161 | - <div class="box"> | |
| 162 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 163 | - <div class="code_view"> | |
| 164 | - <p>{</p> | |
| 165 | - <div class="indent"> | |
| 166 | - <p><span>"resultCode"</span>:"0"</p> | |
| 167 | - <p>,<span>"data"</span>{</p> | |
| 168 | - <div class="indent_t1"> | |
| 169 | - <p><span>"longPrice"</span>:"50"</p> | |
| 170 | - <p>,<span>"longSendPsbltEa"</span>:"19651"</p> | |
| 171 | - <p>,<span>"mberMoney"</span>:"982586.7"</p> | |
| 172 | - <p>,<span>"message"</span>:null</p> | |
| 173 | - <p>,<span>"picturePrice"</span>:"90"</p> | |
| 174 | - <p>,<span>"pictureSendPsbltEa"</span>:"10917"</p> | |
| 175 | - <p>,<span>"shortPrice"</span>:"18"</p> | |
| 176 | - <p>,<span>"shortSendPsbltEa"</span>:"54588"</p> | |
| 177 | - </div> | |
| 178 | - <p>}</p> | |
| 179 | - </div> | |
| 180 | - <p class="l_code">}</p> | |
| 181 | - </div> | |
| 182 | - </div> | |
| 183 | - <div class="box"> | |
| 184 | - <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 185 | - <div class="code_view"> | |
| 186 | - <p>{</p> | |
| 187 | - <div class="indent"> | |
| 188 | - <p><span>"resultCode"</span>:"5099"</p> | |
| 189 | - <p>,<span>"data"</span>:"기타 시스템 오류"</p> | |
| 190 | - </div> | |
| 191 | - <p class="l_code">}</p> | |
| 192 | - </div> | |
| 193 | - </div> | |
| 194 | - <!--// Response--> | |
| 195 | - </div> |
--- src/main/webapp/publish/js/highlight/styles/arta.css
+++ src/main/webapp/publish/js/highlight/styles/arta.css
... | ... | @@ -1,66 +1,119 @@ |
| 1 | 1 |
pre code.hljs {
|
| 2 |
- display: block; |
|
| 3 |
- overflow-x: auto; |
|
| 4 |
- padding: 1em |
|
| 2 |
+ display: block; |
|
| 3 |
+ overflow-x: auto; |
|
| 4 |
+ padding: 1em |
|
| 5 | 5 |
} |
| 6 |
+ |
|
| 6 | 7 |
code.hljs {
|
| 7 |
- padding: 3px 5px |
|
| 8 |
+ padding: 3px 5px |
|
| 8 | 9 |
} |
| 9 | 10 |
/* |
| 10 | 11 |
Date: 17.V.2011 |
| 11 | 12 |
Author: pumbur <pumbur@pumbur.net> |
| 12 | 13 |
*/ |
| 13 | 14 |
.hljs {
|
| 14 |
- background: #222; |
|
| 15 |
- color: #aaa |
|
| 15 |
+ background: #222; |
|
| 16 |
+ color: #aaa |
|
| 16 | 17 |
} |
| 18 |
+ |
|
| 17 | 19 |
.hljs-subst {
|
| 18 |
- color: #aaa |
|
| 20 |
+ color: #aaa |
|
| 19 | 21 |
} |
| 22 |
+ |
|
| 20 | 23 |
.hljs-section {
|
| 21 |
- color: #fff |
|
| 24 |
+ color: #fff |
|
| 22 | 25 |
} |
| 23 |
-.hljs-comment, |
|
| 24 |
-.hljs-quote, |
|
| 25 |
-.hljs-meta {
|
|
| 26 |
- color: #444 |
|
| 26 |
+ |
|
| 27 |
+.hljs-comment, .hljs-quote, .hljs-meta {
|
|
| 28 |
+ color: #444 |
|
| 27 | 29 |
} |
| 28 |
-.hljs-string, |
|
| 29 |
-.hljs-symbol, |
|
| 30 |
-.hljs-bullet, |
|
| 31 |
-.hljs-regexp {
|
|
| 32 |
- color: #ffcc33 |
|
| 30 |
+ |
|
| 31 |
+.hljs-string, .hljs-symbol, .hljs-bullet, .hljs-regexp {
|
|
| 32 |
+ color: #ffcc33 |
|
| 33 | 33 |
} |
| 34 |
-.hljs-number, |
|
| 35 |
-.hljs-addition {
|
|
| 36 |
- color: #00cc66 |
|
| 34 |
+ |
|
| 35 |
+.hljs-number, .hljs-addition {
|
|
| 36 |
+ color: #00cc66 |
|
| 37 | 37 |
} |
| 38 |
-.hljs-built_in, |
|
| 39 |
-.hljs-literal, |
|
| 40 |
-.hljs-type, |
|
| 41 |
-.hljs-template-variable, |
|
| 42 |
-.hljs-attribute, |
|
| 43 |
-.hljs-link {
|
|
| 44 |
- color: #32aaee |
|
| 38 |
+ |
|
| 39 |
+.hljs-built_in, .hljs-literal, .hljs-type, .hljs-template-variable, |
|
| 40 |
+ .hljs-attribute, .hljs-link {
|
|
| 41 |
+ color: #32aaee |
|
| 45 | 42 |
} |
| 46 |
-.hljs-keyword, |
|
| 47 |
-.hljs-selector-tag, |
|
| 48 |
-.hljs-name, |
|
| 49 |
-.hljs-selector-id, |
|
| 50 |
-.hljs-selector-class {
|
|
| 51 |
- color: #6644aa |
|
| 43 |
+ |
|
| 44 |
+.hljs-keyword, .hljs-selector-tag, .hljs-name, .hljs-selector-id, |
|
| 45 |
+ .hljs-selector-class {
|
|
| 46 |
+ color: #6644aa |
|
| 52 | 47 |
} |
| 53 |
-.hljs-title, |
|
| 54 |
-.hljs-variable, |
|
| 55 |
-.hljs-deletion, |
|
| 56 |
-.hljs-template-tag {
|
|
| 57 |
- color: #bb1166 |
|
| 48 |
+ |
|
| 49 |
+.hljs-title, .hljs-variable, .hljs-deletion, .hljs-template-tag {
|
|
| 50 |
+ color: #bb1166 |
|
| 58 | 51 |
} |
| 59 |
-.hljs-section, |
|
| 60 |
-.hljs-doctag, |
|
| 61 |
-.hljs-strong {
|
|
| 62 |
- font-weight: bold |
|
| 52 |
+ |
|
| 53 |
+.hljs-section, .hljs-doctag, .hljs-strong {
|
|
| 54 |
+ font-weight: bold |
|
| 63 | 55 |
} |
| 56 |
+ |
|
| 64 | 57 |
.hljs-emphasis {
|
| 65 |
- font-style: italic |
|
| 58 |
+ font-style: italic |
|
| 59 |
+} |
|
| 60 |
+ |
|
| 61 |
+pre code.hljs {
|
|
| 62 |
+ display: block; |
|
| 63 |
+ overflow-x: auto; |
|
| 64 |
+ padding: 1em |
|
| 65 |
+} |
|
| 66 |
+ |
|
| 67 |
+code.hljs {
|
|
| 68 |
+ padding: 3px 5px |
|
| 69 |
+} |
|
| 70 |
+/* |
|
| 71 |
+Date: 17.V.2011 |
|
| 72 |
+Author: pumbur <pumbur@pumbur.net> |
|
| 73 |
+*/ |
|
| 74 |
+.hljs {
|
|
| 75 |
+ background: #222; |
|
| 76 |
+ color: #aaa |
|
| 77 |
+} |
|
| 78 |
+ |
|
| 79 |
+.hljs-subst {
|
|
| 80 |
+ color: #fff |
|
| 81 |
+} |
|
| 82 |
+ |
|
| 83 |
+.hljs-section {
|
|
| 84 |
+ color: #fff |
|
| 85 |
+} |
|
| 86 |
+ |
|
| 87 |
+.hljs-comment, .hljs-quote, .hljs-meta {
|
|
| 88 |
+ color: #444 |
|
| 89 |
+} |
|
| 90 |
+ |
|
| 91 |
+.hljs-string, .hljs-symbol, .hljs-bullet, .hljs-regexp {
|
|
| 92 |
+ color: #ffcc33 |
|
| 93 |
+} |
|
| 94 |
+ |
|
| 95 |
+.hljs-number, .hljs-addition {
|
|
| 96 |
+ color: #fff |
|
| 97 |
+} |
|
| 98 |
+ |
|
| 99 |
+.hljs-built_in, .hljs-literal, .hljs-type, .hljs-template-variable, |
|
| 100 |
+ .hljs-attribute, .hljs-link {
|
|
| 101 |
+ color: #32aaee |
|
| 102 |
+} |
|
| 103 |
+ |
|
| 104 |
+.hljs-keyword, .hljs-selector-tag, .hljs-name, .hljs-selector-id, |
|
| 105 |
+ .hljs-selector-class {
|
|
| 106 |
+ color: #6644aa |
|
| 107 |
+} |
|
| 108 |
+ |
|
| 109 |
+.hljs-title, .hljs-variable, .hljs-deletion, .hljs-template-tag {
|
|
| 110 |
+ color: #bb1166 |
|
| 111 |
+} |
|
| 112 |
+ |
|
| 113 |
+.hljs-section, .hljs-doctag, .hljs-strong {
|
|
| 114 |
+ font-weight: bold |
|
| 115 |
+} |
|
| 116 |
+ |
|
| 117 |
+.hljs-emphasis {
|
|
| 118 |
+ font-style: italic |
|
| 66 | 119 |
}(No newline at end of file) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?