--- src/main/java/itn/let/kakao/user/kakaoAt/web/KakaoAlimTalkTemplateController.java
+++ src/main/java/itn/let/kakao/user/kakaoAt/web/KakaoAlimTalkTemplateController.java
... | ... | @@ -305,6 +305,9 @@ |
| 305 | 305 |
|
| 306 | 306 |
KakaoReturnVO kakaoTemplateInfo =kakaoApiTemplate.selectKakaoApiTemplateDetail(kakaoVO); |
| 307 | 307 |
|
| 308 |
+ System.out.println("kakaoTemplateInfo :; "+ kakaoTemplateInfo);
|
|
| 309 |
+ |
|
| 310 |
+ |
|
| 308 | 311 |
String kakaoButtonTypeDs = ""; |
| 309 | 312 |
for(int i=0; i < kakaoTemplateInfo.getButtonList().size(); i++) {
|
| 310 | 313 |
String buttonType = kakaoTemplateInfo.getButtonList().get(i).getLinkType(); |
--- src/main/java/itn/let/mjo/msg/service/MjonMsgVO.java
+++ src/main/java/itn/let/mjo/msg/service/MjonMsgVO.java
... | ... | @@ -12,6 +12,7 @@ |
| 12 | 12 |
import lombok.Getter; |
| 13 | 13 |
import lombok.NoArgsConstructor; |
| 14 | 14 |
import lombok.Setter; |
| 15 |
+import lombok.ToString; |
|
| 15 | 16 |
|
| 16 | 17 |
@JsonIgnoreProperties(ignoreUnknown = true) |
| 17 | 18 |
@Getter |
... | ... | @@ -19,6 +20,7 @@ |
| 19 | 20 |
@Builder |
| 20 | 21 |
@NoArgsConstructor |
| 21 | 22 |
@AllArgsConstructor |
| 23 |
+@ToString |
|
| 22 | 24 |
public class MjonMsgVO extends ComDefaultVO{
|
| 23 | 25 |
|
| 24 | 26 |
private static final long serialVersionUID = 1L; |
--- src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
+++ src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
... | ... | @@ -3948,7 +3948,8 @@ |
| 3948 | 3948 |
|
| 3949 | 3949 |
log.info("mjonMsgVO [{}]", mjonMsgVO.getMjonMsgSendVOList().get(0).getPhone());
|
| 3950 | 3950 |
log.info(" :: sendMsgData_advc :: ");
|
| 3951 |
- |
|
| 3951 |
+ log.info(" + mjonMsgVO.toString() :: [{}]", mjonMsgVO.toString());
|
|
| 3952 |
+ |
|
| 3952 | 3953 |
Map<String, Object> returnMap = new HashMap<>(); |
| 3953 | 3954 |
|
| 3954 | 3955 |
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() |
--- src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
+++ src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
... | ... | @@ -247,7 +247,25 @@ |
| 247 | 247 |
} |
| 248 | 248 |
model.addAttribute("loginVO", loginVO);
|
| 249 | 249 |
|
| 250 |
- return "web/api/apiSpec"; |
|
| 250 |
+ return "web/api/msg/apiSpec"; |
|
| 251 |
+ } |
|
| 252 |
+ |
|
| 253 |
+ /** |
|
| 254 |
+ * @param model |
|
| 255 |
+ * @return |
|
| 256 |
+ * @throws Exception |
|
| 257 |
+ */ |
|
| 258 |
+ @RequestMapping(value="/web/api/apiAtSpec.do") |
|
| 259 |
+ public String apiAtSpec(ModelMap model) |
|
| 260 |
+ throws Exception {
|
|
| 261 |
+ LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
|
| 262 |
+ |
|
| 263 |
+ if(loginVO == null) {
|
|
| 264 |
+ return "redirect:/web/user/login/login.do"; |
|
| 265 |
+ } |
|
| 266 |
+ model.addAttribute("loginVO", loginVO);
|
|
| 267 |
+ |
|
| 268 |
+ return "web/api/at/apiSpec"; |
|
| 251 | 269 |
} |
| 252 | 270 |
|
| 253 | 271 |
/** |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec.jsp
... | ... | @@ -0,0 +1,82 @@ |
| 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 | +<script language=javascript> | |
| 6 | +$(document).ready(function(){ | |
| 7 | + | |
| 8 | +}); | |
| 9 | + | |
| 10 | +</script> | |
| 11 | +<style> | |
| 12 | + | |
| 13 | + .padding_add > p | |
| 14 | + { | |
| 15 | + padding-left: 30px; | |
| 16 | + padding-bottom: 8px; | |
| 17 | + } | |
| 18 | + | |
| 19 | + .padding_add > div > p | |
| 20 | + { | |
| 21 | + padding-left: 60px; | |
| 22 | + padding-bottom: 8px; | |
| 23 | + } | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | +</style> | |
| 28 | +<!-- content 영역 --> | |
| 29 | +<div class="inner"> | |
| 30 | + <!-- send top --> | |
| 31 | + <div class="send_top"> | |
| 32 | + | |
| 33 | + <c:import url="../top_tepMenu.jsp" /><!--// tab button --> | |
| 34 | + | |
| 35 | + <!-- tab button --> | |
| 36 | + <div class="api_guide_cont current" id="tab5_1"> | |
| 37 | + <div class="heading"> | |
| 38 | + <h2>REST API 설명</h2> | |
| 39 | + </div> | |
| 40 | + <div class="pay_tab_wrap"> | |
| 41 | + <!-- tab button --> | |
| 42 | + <ul class="tabType1"> | |
| 43 | + <li class="tab active"><button type="button" onclick="TabType1(this,'1')">채널ID조회</button></li> | |
| 44 | + <li class="tab"><button type="button" onclick="TabType1(this,'2')">템플릿ID조회</button></li> | |
| 45 | + <li class="tab"><button type="button" onclick="TabType1(this,'3')">템플릿상세조회</button></li> | |
| 46 | + <li class="tab"><button type="button" onclick="TabType1(this,'4')">단건보내기</button></li> | |
| 47 | + <li class="tab"><button type="button" onclick="TabType1(this,'5')">대량보내기</button></li> | |
| 48 | + <li class="tab"><button type="button" onclick="TabType1(this,'6')">전송내역조회</button></li> | |
| 49 | + <li class="tab"><button type="button" onclick="TabType1(this,'7')">전송결과조회(상세)</button></li> | |
| 50 | + <li class="tab"><button type="button" onclick="TabType1(this,'8')">발송가능건수</button></li> | |
| 51 | + </ul><!--// tab button --> | |
| 52 | + </div> | |
| 53 | + | |
| 54 | + <!-- 문자보내기 --> | |
| 55 | + <!-- 문자보내기 --> | |
| 56 | + <!-- 문자보내기 --> | |
| 57 | + <div class="fee_cont current" id="tab1_1"> | |
| 58 | + <c:import url="./apiSpec_tab1.jsp" /> | |
| 59 | + </div> | |
| 60 | + | |
| 61 | + <!-- 문자보내기(대량) --> | |
| 62 | + <!-- 문자보내기(대량) --> | |
| 63 | + <!-- 문자보내기(대량) --> | |
| 64 | + <div class="fee_cont" id="tab1_2"> | |
| 65 | + <c:import url="./apiSpec_tab2.jsp" /> | |
| 66 | + </div> | |
| 67 | + | |
| 68 | + <!-- 전송내역조회 --> | |
| 69 | + <div class="fee_cont" id="tab1_3"> | |
| 70 | + <c:import url="./apiSpec_tab3.jsp" /> | |
| 71 | + </div> | |
| 72 | + <!-- 전송결과조회(상세) --> | |
| 73 | + <div class="fee_cont" id="tab1_4"> | |
| 74 | + <c:import url="./apiSpec_tab4.jsp" /> | |
| 75 | + </div> | |
| 76 | + <!-- 발송가능건수 --> | |
| 77 | + <div class="fee_cont" id="tab1_5"> | |
| 78 | + <c:import url="./apiSpec_tab5.jsp" /> | |
| 79 | + </div> | |
| 80 | + </div> | |
| 81 | + </div><!--// send top --> | |
| 82 | +</div> |
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab1.jsp
... | ... | @@ -0,0 +1,221 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" | |
| 2 | + pageEncoding="UTF-8"%> | |
| 3 | + | |
| 4 | + | |
| 5 | +<ul class="info"> | |
| 6 | + <li>- API를 통해서 채널 ID를 조회할 수 있습니다.</li> | |
| 7 | +<!-- <li>- 발신번호는 문자온 사이트를 통해 사전등록 후 이용하실 수 있습니다.(마이페이지-발신번호 관리 메뉴 이용)</li> --> | |
| 8 | +<!-- <li>- 문자 내용이 "90byte"를 초과하는 경우 장문(LMS)으로 자동 전환됩니다.</li> --> | |
| 9 | +</ul> | |
| 10 | + | |
| 11 | +<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> | |
| 91 | + </div> | |
| 92 | + <p class="l_code">}</p> | |
| 93 | + </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>Object</td> | |
| 123 | + </tr> | |
| 124 | + <tr> | |
| 125 | + <td><span class="font_b">[data].msgGroupId</span></td> | |
| 126 | + <td>메시지 그룹 ID</td> | |
| 127 | + <td>String</td> | |
| 128 | + </tr> | |
| 129 | + <tr> | |
| 130 | + <td><span class="font_b">[data].msgType</span></td> | |
| 131 | + <td>메시지 타입(4 : 단문, 6 : 장문)</td> | |
| 132 | + <td>String</td> | |
| 133 | + </tr> | |
| 134 | + <tr> | |
| 135 | + <td><span class="font_b">[data].blockCnt</span></td> | |
| 136 | + <td>수신거부 건수</td> | |
| 137 | + <td>String</td> | |
| 138 | + </tr> | |
| 139 | + <tr> | |
| 140 | + <td><span class="font_b">[data].failCnt</span></td> | |
| 141 | + <td>전송 실패 건수</td> | |
| 142 | + <td>String</td> | |
| 143 | + </tr> | |
| 144 | + <tr> | |
| 145 | + <td><span class="font_b">[data].successCnt</span></td> | |
| 146 | + <td>성공 건수</td> | |
| 147 | + <td>String</td> | |
| 148 | + </tr> | |
| 149 | + <tr> | |
| 150 | + <td><span class="font_b">[data].test_yn</span></td> | |
| 151 | + <td>테스트 데이터 여부</td> | |
| 152 | + <td>String</td> | |
| 153 | + </tr> | |
| 154 | + </tbody> | |
| 155 | + </table> | |
| 156 | + <div class="table_info"> | |
| 157 | + <p>※ JSON 객체로 응답합니다.</p> | |
| 158 | + </div> | |
| 159 | + </div> | |
| 160 | + <div class="box"> | |
| 161 | + <div class="title_t1"> | |
| 162 | + <span class="ex">[Example]</span><span class="ex_success">O 성공 | |
| 163 | + 예시</span> | |
| 164 | + </div> | |
| 165 | + <div class="code_view"> | |
| 166 | + <p>{</p> | |
| 167 | + <div class="indent"> | |
| 168 | + <p> | |
| 169 | + <span>"resultCode"</span>:"0" | |
| 170 | + </p> | |
| 171 | + <p> | |
| 172 | + ,<span>"data"</span>{ | |
| 173 | + </p> | |
| 174 | + <div class="indent_t1"> | |
| 175 | + <p> | |
| 176 | + <span>"msgGroupId"</span>:"MSGGID_0000000000000" | |
| 177 | + </p> | |
| 178 | + <p> | |
| 179 | + ,<span>"msgType"</span>:"SMS" | |
| 180 | + </p> | |
| 181 | + <p> | |
| 182 | + ,<span>"resultCode"</span>:"0" | |
| 183 | + </p> | |
| 184 | + <p> | |
| 185 | + ,<span>"blockCnt"</span>:"0" | |
| 186 | + </p> | |
| 187 | + <p> | |
| 188 | + ,<span>"failCnt"</span>:"0" | |
| 189 | + </p> | |
| 190 | + <p> | |
| 191 | + ,<span>"successCnt"</span>:"3" | |
| 192 | + </p> | |
| 193 | + <p> | |
| 194 | + ,<span>"test_yn"</span>:null | |
| 195 | + </p> | |
| 196 | + </div> | |
| 197 | + <p>}</p> | |
| 198 | + </div> | |
| 199 | + <p class="l_code">}</p> | |
| 200 | + </div> | |
| 201 | + </div> | |
| 202 | + <div class="box"> | |
| 203 | + <div class="title_t1"> | |
| 204 | + <span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span> | |
| 205 | + </div> | |
| 206 | + <div class="code_view"> | |
| 207 | + <p>{</p> | |
| 208 | + <div class="indent"> | |
| 209 | + <p> | |
| 210 | + <span>"resultCode"</span>:"1040" | |
| 211 | + </p> | |
| 212 | + <p> | |
| 213 | + ,<span>"data"</span>:"치환 데이터 오류" | |
| 214 | + </p> | |
| 215 | + </div> | |
| 216 | + <p class="l_code">}</p> | |
| 217 | + </div> | |
| 218 | + </div> | |
| 219 | + <!--// Response--> | |
| 220 | +</div> | |
| 221 | + |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab2.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab3.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab4.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/at/apiSpec_tab5.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/msg/apiSpec.jsp
... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 |
<!-- send top --> |
| 31 | 31 |
<div class="send_top"> |
| 32 | 32 |
|
| 33 |
- <c:import url="./top_tepMenu.jsp" /><!--// tab button --> |
|
| 33 |
+ <c:import url="../top_tepMenu.jsp" /><!--// tab button --> |
|
| 34 | 34 |
|
| 35 | 35 |
<!-- tab button --> |
| 36 | 36 |
<div class="api_guide_cont current" id="tab5_1"> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab1.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/msg/apiSpec_tab1.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/msg/apiSpec_tab2.jsp
... | ... | @@ -0,0 +1,247 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | + | |
| 3 | + <ul class="info"> | |
| 4 | + <li>- API를 통해서 다른 내용의 문자를 대량으로 전송할 수 있습니다.</li> | |
| 5 | + <li>- 발신번호는 문자온 사이트를 통해 사전등록 후 이용하실 수 있습니다.(마이페이지-발신번호 관리 메뉴 이용)</li> | |
| 6 | + <li>- 문자 내용이 "90byte"를 초과하는 경우 장문(LMS)으로 자동 전환됩니다.</li> | |
| 7 | + </ul> | |
| 8 | + | |
| 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">callFrom</span></td> | |
| 72 | + <td>발신자 번호(아이디에 등록되어 있는 번호)</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>테스트 데이터 여부</td> | |
| 79 | + <td>String</td> | |
| 80 | + <td><span class="select_x">X</span></td> | |
| 81 | + </tr> | |
| 82 | + <tr> | |
| 83 | + <td><span class="font_b">callTo_1</span></td> | |
| 84 | + <td>수신자 번호 1</td> | |
| 85 | + <td>String</td> | |
| 86 | + <td><span class="select_o">O</span></td> | |
| 87 | + </tr> | |
| 88 | + <tr> | |
| 89 | + <td><span class="font_b">smsTxt_1</span></td> | |
| 90 | + <td>메시지 내용 1 </td> | |
| 91 | + <td>String(1~2,000Byte)</td> | |
| 92 | + <td><span class="select_o">O</span></td> | |
| 93 | + </tr> | |
| 94 | + <tr> | |
| 95 | + <td><span class="font_b">...</span></td> | |
| 96 | + <td>...</td> | |
| 97 | + <td>...</td> | |
| 98 | + <td><span class="select_x">X</span></td> | |
| 99 | + </tr> | |
| 100 | + <tr> | |
| 101 | + <td><span class="font_b">callTo_100</span></td> | |
| 102 | + <td>수신자 번호 100</td> | |
| 103 | + <td>String</td> | |
| 104 | + <td><span class="select_x">X</span></td> | |
| 105 | + </tr> | |
| 106 | + <tr> | |
| 107 | + <td><span class="font_b">smsTxt_100</span></td> | |
| 108 | + <td>메시지 내용 100</td> | |
| 109 | + <td>String(1~2,000Byte)</td> | |
| 110 | + <td><span class="select_x">X</span></td> | |
| 111 | + </tr> | |
| 112 | + </tbody> | |
| 113 | + </table> | |
| 114 | + <div class="table_info"> | |
| 115 | + <p>※ 문자 텍스트 용량(byte) : 한글 1자당 2byte, 영문/숫자 1자당 1byte</p> | |
| 116 | + </div> | |
| 117 | + </div> | |
| 118 | + <div class="box"> | |
| 119 | + <div class="title">[Example]</div> | |
| 120 | + <div class="code_view"> | |
| 121 | + <p>{</p> | |
| 122 | + <div class="indent"> | |
| 123 | + <p><span>"mberId"</span>:"홍길동"</p> | |
| 124 | + <p>,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953"</p> | |
| 125 | + <p>,<span>"callFrom"</span>:"01012341234"</p> | |
| 126 | + <p>,<span>"test_yn"</span>:""</p> | |
| 127 | + <p>,<span>"callTo_1"</span>:"01011111111"</p> | |
| 128 | + <p>,<span>"smsTxt_1"</span>:"문자 테스트 1"</p> | |
| 129 | + <p>,<span>"callTo_2"</span>:"01022222222"</p> | |
| 130 | + <p>,<span>"smsTxt_2"</span>:"문자 테스트 2"</p> | |
| 131 | + </div> | |
| 132 | + <p class="l_code">}</p> | |
| 133 | + </div> | |
| 134 | + </div> | |
| 135 | + <!--// Request--> | |
| 136 | + <!-- Response--> | |
| 137 | + <div class="res_title">Response</div> | |
| 138 | + <div class="type_table"> | |
| 139 | + <table> | |
| 140 | + <caption>문자발송(대량) API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 141 | + <colgroup> | |
| 142 | + <col style="width:20%;"> | |
| 143 | + <col style="width:60%;"> | |
| 144 | + <col style="width:20%;"> | |
| 145 | + </colgroup> | |
| 146 | + <thead> | |
| 147 | + <tr> | |
| 148 | + <th>키</th> | |
| 149 | + <th>설명</th> | |
| 150 | + <th>타입</th> | |
| 151 | + </tr> | |
| 152 | + </thead> | |
| 153 | + <tbody> | |
| 154 | + <tr> | |
| 155 | + <td><span class="font_b">resultCode</span></td> | |
| 156 | + <td>성공 여부("0" 아니면 실패)</td> | |
| 157 | + <td>String</td> | |
| 158 | + </tr> | |
| 159 | + <tr> | |
| 160 | + <td><span class="font_b">data</span></td> | |
| 161 | + <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 162 | + <td>Object</td> | |
| 163 | + </tr> | |
| 164 | + <tr> | |
| 165 | + <td><span class="font_b">[data].msgGroupIdList</span></td> | |
| 166 | + <td>메시지 그룹 ID 리스트</td> | |
| 167 | + <td>List String</td> | |
| 168 | + </tr> | |
| 169 | + <tr> | |
| 170 | + <td><span class="font_b">[data].msgType</span></td> | |
| 171 | + <td>메시지 타입(4 : 단문, 6 : 장문)</td> | |
| 172 | + <td>String</td> | |
| 173 | + </tr> | |
| 174 | + <tr> | |
| 175 | + <td><span class="font_b">[data].blockCnt</span></td> | |
| 176 | + <td>수신거부 건수</td> | |
| 177 | + <td>String</td> | |
| 178 | + </tr> | |
| 179 | + <tr> | |
| 180 | + <td><span class="font_b">[data].failCnt</span></td> | |
| 181 | + <td>전송 실패 건수</td> | |
| 182 | + <td>String</td> | |
| 183 | + </tr> | |
| 184 | + <tr> | |
| 185 | + <td><span class="font_b">[data].successCnt</span></td> | |
| 186 | + <td>성공 건수</td> | |
| 187 | + <td>String</td> | |
| 188 | + </tr> | |
| 189 | + <tr> | |
| 190 | + <td><span class="font_b">[data].test_yn</span></td> | |
| 191 | + <td>테스트 데이터 여부</td> | |
| 192 | + <td>String</td> | |
| 193 | + </tr> | |
| 194 | + </tbody> | |
| 195 | + </table> | |
| 196 | + <div class="table_info"> | |
| 197 | + <p>※ JSON 객체로 응답합니다.</p> | |
| 198 | + </div> | |
| 199 | + </div> | |
| 200 | + <div class="box"> | |
| 201 | + <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 202 | + <div class="code_view"> | |
| 203 | + <p>{</p> | |
| 204 | + <div class="indent"> | |
| 205 | + <p><span>"resultCode"</span>:"0"</p> | |
| 206 | + <p>,<span>"data"</span>:[</p> | |
| 207 | + <div class="indent_t1"> | |
| 208 | + <p><span>"msgGroupIdList"</span>:[</p> | |
| 209 | + <p>{</p> | |
| 210 | + <p class="m_code">"MSGGID_0000000013451"</p> | |
| 211 | + <p class="l_code_t1">}</p> | |
| 212 | + <p>,{</p> | |
| 213 | + <p class="m_code">"MSGGID_0000000013452"</p> | |
| 214 | + <p class="l_code_t1">}</p> | |
| 215 | + <p>]</p> | |
| 216 | + <p>,<span>"msgTypeList"</span>:[</p> | |
| 217 | + <p>{</p> | |
| 218 | + <p class="m_code">"SMS"</p> | |
| 219 | + <p class="l_code_t1">}</p> | |
| 220 | + <p>,{</p> | |
| 221 | + <p class="m_code">"SMS"</p> | |
| 222 | + <p class="l_code_t1">}</p> | |
| 223 | + <p>]</p> | |
| 224 | + <p>,<span>"resultCode"</span>:"0"</p> | |
| 225 | + <p>,<span>"successCnt"</span>:"2"</p> | |
| 226 | + <p>,<span>"failCnt"</span>:"0"</p> | |
| 227 | + <p>,<span>"blockCnt"</span>:"0"</p> | |
| 228 | + <p>,<span>"test_yn"</span>:null</p> | |
| 229 | + <p>]</p> | |
| 230 | + </div> | |
| 231 | + </div> | |
| 232 | + <p class="l_code">}</p> | |
| 233 | + </div> | |
| 234 | + </div> | |
| 235 | + <div class="box"> | |
| 236 | + <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 237 | + <div class="code_view"> | |
| 238 | + <p>{</p> | |
| 239 | + <div class="indent"> | |
| 240 | + <p><span>"resultCode"</span>:"1040"</p> | |
| 241 | + <p>,<span>"data"</span>:"치환 데이터 오류"</p> | |
| 242 | + </div> | |
| 243 | + <p class="l_code">}</p> | |
| 244 | + </div> | |
| 245 | + </div> | |
| 246 | + <!--// Response--> | |
| 247 | + </div> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/msg/apiSpec_tab3.jsp
... | ... | @@ -0,0 +1,361 @@ |
| 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> | |
| 8 | + | |
| 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">page</span></td> | |
| 72 | + <td>페이지 번호</td> | |
| 73 | + <td>String</td> | |
| 74 | + <td><span class="select_x">X</span></td> | |
| 75 | + </tr> | |
| 76 | + <tr> | |
| 77 | + <td><span class="font_b">pageSize</span></td> | |
| 78 | + <td>페이지당 출력 개수</td> | |
| 79 | + <td>String</td> | |
| 80 | + <td><span class="select_x">X</span></td> | |
| 81 | + </tr> | |
| 82 | + <tr> | |
| 83 | + <td><span class="font_b">startDate</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">endDate</span></td> | |
| 90 | + <td>마감 일자</td> | |
| 91 | + <td>String</td> | |
| 92 | + <td><span class="select_x">X</span></td> | |
| 93 | + </tr> | |
| 94 | + <tr> | |
| 95 | + <td><span class="font_b">test_yn</span></td> | |
| 96 | + <td>테스트 데이터 여부</td> | |
| 97 | + <td>String</td> | |
| 98 | + <td><span class="select_x">X</span></td> | |
| 99 | + </tr> | |
| 100 | + </tbody> | |
| 101 | + </table> | |
| 102 | + <div class="table_info"> | |
| 103 | + <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> | |
| 104 | + </div> | |
| 105 | + </div> | |
| 106 | + <div class="box"> | |
| 107 | + <div class="title">[Example]</div> | |
| 108 | + <div class="code_view"> | |
| 109 | + <p>{</p> | |
| 110 | + <div class="indent"> | |
| 111 | + <p><span>"mberId"</span>:"홍길동"</p> | |
| 112 | + <p>,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953"</p> | |
| 113 | + <p>,<span>"page"</span>:""</p> | |
| 114 | + <p>,<span>"pageSize"</span>:""</p> | |
| 115 | + <p>,<span>"startDate"</span>:""</p> | |
| 116 | + <p>,<span>"endDate"</span>:""</p> | |
| 117 | + <p>,<span>"test_yn"</span>:""</p> | |
| 118 | + </div> | |
| 119 | + <p class="l_code">}</p> | |
| 120 | + </div> | |
| 121 | + </div> | |
| 122 | + <!--// Request--> | |
| 123 | + <!-- Response--> | |
| 124 | + <div class="res_title">Response</div> | |
| 125 | + <div class="type_table"> | |
| 126 | + <table> | |
| 127 | + <caption>전송결과 조회 API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 128 | + <colgroup> | |
| 129 | + <col style="width:20%;"> | |
| 130 | + <col style="width:60%;"> | |
| 131 | + <col style="width:20%;"> | |
| 132 | + </colgroup> | |
| 133 | + <thead> | |
| 134 | + <tr> | |
| 135 | + <th>키</th> | |
| 136 | + <th>설명</th> | |
| 137 | + <th>타입</th> | |
| 138 | + </tr> | |
| 139 | + </thead> | |
| 140 | + <tbody> | |
| 141 | + <tr> | |
| 142 | + <td><span class="font_b">resultCode</span></td> | |
| 143 | + <td>성공 여부("0" 아니면 실패)</td> | |
| 144 | + <td>String</td> | |
| 145 | + </tr> | |
| 146 | + <tr> | |
| 147 | + <td><span class="font_b">data</span></td> | |
| 148 | + <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 149 | + <td>Object</td> | |
| 150 | + </tr> | |
| 151 | + <tr> | |
| 152 | + <td><span class="font_b">[data].message</span></td> | |
| 153 | + <td>문자</td> | |
| 154 | + <td>String</td> | |
| 155 | + </tr> | |
| 156 | + <tr> | |
| 157 | + <td><span class="font_b">[data].next_yn</span></td> | |
| 158 | + <td>다음 페이지 여부</td> | |
| 159 | + <td>String</td> | |
| 160 | + </tr> | |
| 161 | + <tr> | |
| 162 | + <td><span class="font_b">[data].objectList</span></td> | |
| 163 | + <td>결과값 목록</td> | |
| 164 | + <td>Object List</td> | |
| 165 | + </tr> | |
| 166 | + <tr> | |
| 167 | + <td><span class="font_b">[data].msgGroupId</span></td> | |
| 168 | + <td>메시지 그룹 ID</td> | |
| 169 | + <td>String</td> | |
| 170 | + </tr> | |
| 171 | + <tr> | |
| 172 | + <td><span class="font_b">[data].msgId</span></td> | |
| 173 | + <td>메시지 ID</td> | |
| 174 | + <td>String</td> | |
| 175 | + </tr> | |
| 176 | + <tr> | |
| 177 | + <td><span class="font_b">[data].msgTypeName</span></td> | |
| 178 | + <td>문자 구분명(단문, 장문, 그림)</td> | |
| 179 | + <td>String</td> | |
| 180 | + </tr> | |
| 181 | + <tr> | |
| 182 | + <td><span class="font_b">[data].msgType</span></td> | |
| 183 | + <td>메시지 타입(4 : 단문, 6 : 장문)</td> | |
| 184 | + <td>String</td> | |
| 185 | + </tr> | |
| 186 | + <tr> | |
| 187 | + <td><span class="font_b">[data].callFrom</span></td> | |
| 188 | + <td>발신자 번호</td> | |
| 189 | + <td>String</td> | |
| 190 | + </tr> | |
| 191 | + <tr> | |
| 192 | + <td><span class="font_b">[data].callTo</span></td> | |
| 193 | + <td>수신자 번호</td> | |
| 194 | + <td>String</td> | |
| 195 | + </tr> | |
| 196 | + <tr> | |
| 197 | + <td><span class="font_b">[data].msgGroupCnt</span></td> | |
| 198 | + <td>문자 발송 건수</td> | |
| 199 | + <td>String</td> | |
| 200 | + </tr> | |
| 201 | + <tr> | |
| 202 | + <td><span class="font_b">[data].sCnt</span></td> | |
| 203 | + <td>성공 건수</td> | |
| 204 | + <td>String</td> | |
| 205 | + </tr> | |
| 206 | + <tr> | |
| 207 | + <td><span class="font_b">[data].fCnt</span></td> | |
| 208 | + <td>실패 건수</td> | |
| 209 | + <td>String</td> | |
| 210 | + </tr> | |
| 211 | + <tr> | |
| 212 | + <td><span class="font_b">[data].wCnt</span></td> | |
| 213 | + <td>대기 건수</td> | |
| 214 | + <td>String</td> | |
| 215 | + </tr> | |
| 216 | + <tr> | |
| 217 | + <td><span class="font_b">[data].msgResult</span></td> | |
| 218 | + <td>발송 결과(성공 : S, 실패 : F)</td> | |
| 219 | + <td>String</td> | |
| 220 | + </tr> | |
| 221 | + <tr> | |
| 222 | + <td><span class="font_b">[data].smsTxt</span></td> | |
| 223 | + <td>문자 내용</td> | |
| 224 | + <td>String</td> | |
| 225 | + </tr> | |
| 226 | + <tr> | |
| 227 | + <td><span class="font_b">[data].subject</span></td> | |
| 228 | + <td>제목</td> | |
| 229 | + <td>String</td> | |
| 230 | + </tr> | |
| 231 | + <tr> | |
| 232 | + <td><span class="font_b">[data].reqdate</span></td> | |
| 233 | + <td>발송 일자</td> | |
| 234 | + <td>String</td> | |
| 235 | + </tr> | |
| 236 | + <tr> | |
| 237 | + <td><span class="font_b">[data].curState</span></td> | |
| 238 | + <td>전송 처리 결과값</td> | |
| 239 | + <td>String</td> | |
| 240 | + </tr> | |
| 241 | + <tr> | |
| 242 | + <td><span class="font_b">[data].userId</span></td> | |
| 243 | + <td>사용자 ID</td> | |
| 244 | + <td>String</td> | |
| 245 | + </tr> | |
| 246 | + <tr> | |
| 247 | + <td><span class="font_b">[data].regdate</span></td> | |
| 248 | + <td>등록 일자</td> | |
| 249 | + <td>String</td> | |
| 250 | + </tr> | |
| 251 | + <tr> | |
| 252 | + <td><span class="font_b">[data].reserveCYn</span></td> | |
| 253 | + <td>예약 취소 여부</td> | |
| 254 | + <td>String</td> | |
| 255 | + </tr> | |
| 256 | + <tr> | |
| 257 | + <td><span class="font_b">[data].ttlCnt</span></td> | |
| 258 | + <td>전체 요청 수</td> | |
| 259 | + <td>String</td> | |
| 260 | + </tr> | |
| 261 | + <tr> | |
| 262 | + <td><span class="font_b">[data].remainMsgCnt</span></td> | |
| 263 | + <td>남은 문자 건수</td> | |
| 264 | + <td>String</td> | |
| 265 | + </tr> | |
| 266 | + <tr> | |
| 267 | + <td><span class="font_b">[data].totMsgCnt</span></td> | |
| 268 | + <td>전체 문자 개수</td> | |
| 269 | + <td>String</td> | |
| 270 | + </tr> | |
| 271 | + </tbody> | |
| 272 | + </table> | |
| 273 | + <div class="table_info"> | |
| 274 | + <p>※ JSON 객체로 응답합니다.</p> | |
| 275 | + </div> | |
| 276 | + </div> | |
| 277 | + <div class="box"> | |
| 278 | + <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 279 | + <div class="code_view"> | |
| 280 | + <p>{</p> | |
| 281 | + <div class="indent"> | |
| 282 | + <p><span>"resultCode"</span>:"0"</p> | |
| 283 | + <p>,<span>"data"</span>:[</p> | |
| 284 | + <p>{</p> | |
| 285 | + <div class="indent_t1"> | |
| 286 | + <p><span>"resultCode"</span>:"0"</p> | |
| 287 | + <p>,<span>"message"</span>: null</p> | |
| 288 | + <p>,<span>"next_yn"</span>:"n"</p> | |
| 289 | + <p>,<span>"msgGroupId"</span>:"MSGGID_0000000000000"</p> | |
| 290 | + <p>,<span>"objectList"</span>:[</p> | |
| 291 | + <p>{</p> | |
| 292 | + <div class="indent_t2"> | |
| 293 | + <p><span>"msgTypeName"</span>:"단문(SMS)"</p> | |
| 294 | + <p>,<span>"msgType"</span>:"4"</p> | |
| 295 | + <p>,<span>"callFrom"</span>:"01011112222"</p> | |
| 296 | + <p>,<span>"callTo"</span>:"01011112223"</p> | |
| 297 | + <p>,<span>"msgGroupCnt"</span>:"2"</p> | |
| 298 | + <p>,<span>"msgGroupId"</span>:"MSGGID_0000000013340"</p> | |
| 299 | + <p>,<span>"msgId"</span>:"MSGID_0000000000001"</p> | |
| 300 | + <p>,<span>"scnt"</span>:"2"</p> | |
| 301 | + <p>,<span>"fcnt"</span>:"0"</p> | |
| 302 | + <p>,<span>"wcnt"</span>:"0"</p> | |
| 303 | + <p>,<span>"msgResult"</span>:"S"</p> | |
| 304 | + <p>,<span>"smsTxt"</span>:"문자 내용 단문 예제"</p> | |
| 305 | + <p>,<span>"subject"</span>:null</p> | |
| 306 | + <p>,<span>"reqdate"</span>:"2023-06-13 17:48:07"</p> | |
| 307 | + <p>,<span>"curState"</span>:"3"</p> | |
| 308 | + <p>,<span>"userId"</span>:"testuser"</p> | |
| 309 | + <p>,<span>"regdate"</span>:"2023-06-13 17:48:07"</p> | |
| 310 | + <p>,<span>"reserveCYn"</span>:"N"</p> | |
| 311 | + <p>,<span>"ttlCnt"</span>:"1"</p> | |
| 312 | + <p>,<span>"remainMsgCnt"</span>:"40"</p> | |
| 313 | + <p>,<span>"totMsgCnt"</span>:"70"</p> | |
| 314 | + </div> | |
| 315 | + <p>}</p> | |
| 316 | + <p>,{</p> | |
| 317 | + <div class="indent_t2"> | |
| 318 | + <p><span>"msgTypeName"</span>:"장문(LMS)"</p> | |
| 319 | + <p>,<span>"msgType"</span>:"6"</p> | |
| 320 | + <p>,<span>"callFrom"</span>:"01011112222"</p> | |
| 321 | + <p>,<span>"callTo"</span>:"01011112223"</p> | |
| 322 | + <p>,<span>"msgGroupCnt"</span>:"1"</p> | |
| 323 | + <p>,<span>"msgGroupId"</span>:"MSGGID_0000000013341"</p> | |
| 324 | + <p>,<span>"msgId"</span>:"MSGID_0000000000002"</p> | |
| 325 | + <p>,<span>"scnt"</span>:"1"</p> | |
| 326 | + <p>,<span>"fcnt"</span>:"0"</p> | |
| 327 | + <p>,<span>"wcnt"</span>:"0"</p> | |
| 328 | + <p>,<span>"msgResult"</span>:"S"</p> | |
| 329 | + <p>,<span>"smsTxt"</span>:"문자 내용 장문 예제"</p> | |
| 330 | + <p>,<span>subject"</span>:null</p> | |
| 331 | + <p>,<span>reqdate"</span>:"2023-06-02 11:46:50"</p> | |
| 332 | + <p>,<span>"curState"</span>:"3"</p> | |
| 333 | + <p>,<span>"userId"</span>:"testuser"</p> | |
| 334 | + <p>,<span>"regdate"</span>:"2023-06-02 11:46:49"</p> | |
| 335 | + <p>,<span>"reserveCYn"</span>:"N"</p> | |
| 336 | + <p>,<span>"ttlCnt"</span>:"1"</p> | |
| 337 | + <p>,<span>"remainMsgCnt"</span>:"40"</p> | |
| 338 | + <p>,<span>"totMsgCnt"</span>:"70"</p> | |
| 339 | + <p>}</p> | |
| 340 | + </div> | |
| 341 | + <p>]</p> | |
| 342 | + </div> | |
| 343 | + <p class="l_code_t2">}</p> | |
| 344 | + <p>]</p> | |
| 345 | + </div> | |
| 346 | + <p class="l_code">}</p> | |
| 347 | + </div> | |
| 348 | + </div> | |
| 349 | + <div class="box"> | |
| 350 | + <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 351 | + <div class="code_view"> | |
| 352 | + <p>{</p> | |
| 353 | + <div class="indent"> | |
| 354 | + <p><span>"resultCode"</span>:"3099"</p> | |
| 355 | + <p>,<span>"data"</span>:"기타 시스템 오류"</p> | |
| 356 | + </div> | |
| 357 | + <p class="l_code">}</p> | |
| 358 | + </div> | |
| 359 | + </div> | |
| 360 | + <!--// Response--> | |
| 361 | + </div> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/msg/apiSpec_tab4.jsp
... | ... | @@ -0,0 +1,353 @@ |
| 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> | |
| 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 | + <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> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/msg/apiSpec_tab5.jsp
... | ... | @@ -0,0 +1,195 @@ |
| 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/top_tepMenu.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/top_tepMenu.jsp
... | ... | @@ -98,7 +98,8 @@ |
| 98 | 98 |
|
| 99 | 99 |
<ul class="tabType4"> |
| 100 | 100 |
<li class="tab"><button type="button" class="goPage" id="intrdView" data-info="<c:url value="/web/api/intrdView.do" />">문자연동(API)소개</button></li> |
| 101 |
- <li class="tab"><button type="button" class="goPage" id="apiSpec" data-info="<c:url value="/web/api/apiSpec.do" />">API 사용안내</button></li> |
|
| 101 |
+ <li class="tab"><button type="button" class="goPage" id="apiSpec" data-info="<c:url value="/web/api/apiSpec.do" />">문자 사용안내</button></li> |
|
| 102 |
+ <li class="tab"><button type="button" class="goPage" id="apiAtSpec" data-info="<c:url value="/web/api/apiAtSpec.do" />">알림톡 사용안내</button></li> |
|
| 102 | 103 |
<li class="tab"><button type="button" class="goPage" id="examDown" data-info="<c:url value="/web/api/examDown.do" />">예제 다운로드</button></li> |
| 103 | 104 |
<li class="tab"><button type="button" class="goPage" id="appMgmt" data-info="<c:url value="/web/api/appMgmt.do" />" >신청/관리</button></li> |
| 104 | 105 |
</ul> |
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?