--- src/main/java/itn/let/mjo/apikey/web/ApiKeyMngController.java
+++ src/main/java/itn/let/mjo/apikey/web/ApiKeyMngController.java
... | ... | @@ -623,6 +623,7 @@ |
| 623 | 623 |
} |
| 624 | 624 |
|
| 625 | 625 |
}catch(Exception e) {
|
| 626 |
+ e.printStackTrace(); |
|
| 626 | 627 |
modelAndView.addObject("message", "api 신청이 실패했습니다.");
|
| 627 | 628 |
modelAndView.addObject("result", "db");
|
| 628 | 629 |
} |
--- src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
+++ src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
... | ... | @@ -6,14 +6,19 @@ |
| 6 | 6 |
import javax.annotation.Resource; |
| 7 | 7 |
|
| 8 | 8 |
import org.springframework.stereotype.Controller; |
| 9 |
+import org.springframework.ui.Model; |
|
| 9 | 10 |
import org.springframework.ui.ModelMap; |
| 10 | 11 |
import org.springframework.web.bind.annotation.RequestMapping; |
| 12 |
+import org.springframework.web.bind.annotation.RequestParam; |
|
| 13 |
+import org.springframework.web.servlet.ModelAndView; |
|
| 11 | 14 |
|
| 12 | 15 |
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; |
| 13 | 16 |
import itn.com.cmm.LoginVO; |
| 17 |
+import itn.com.utl.fcc.service.EgovStringUtil; |
|
| 14 | 18 |
import itn.let.mjo.apikey.service.ApiCallInfoMngService; |
| 15 | 19 |
import itn.let.mjo.apikey.service.ApiKeyMngService; |
| 16 | 20 |
import itn.let.mjo.apikey.service.ApiKeyVO; |
| 21 |
+import itn.let.utl.user.service.SecuKeyUtil; |
|
| 17 | 22 |
|
| 18 | 23 |
/** |
| 19 | 24 |
* 일반 로그인, 인증서 로그인을 처리하는 컨트롤러 클래스 |
... | ... | @@ -47,7 +52,7 @@ |
| 47 | 52 |
/** |
| 48 | 53 |
* 비밀번호 변경 페이지 |
| 49 | 54 |
*/ |
| 50 |
- @RequestMapping(value="/web/user/sendRESTAPI_test_r1.do") |
|
| 55 |
+ @RequestMapping(value="/web/api/sendRESTAPI_test_r1.do") |
|
| 51 | 56 |
public String sendRESTAPI_test(ModelMap model) |
| 52 | 57 |
throws Exception {
|
| 53 | 58 |
/*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ |
... | ... | @@ -59,13 +64,13 @@ |
| 59 | 64 |
model.addAttribute("loginVO", loginVO);
|
| 60 | 65 |
|
| 61 | 66 |
model.addAttribute("pageTab", "passwordChange");
|
| 62 |
- return "web/user/sendRESTAPI_test_r1"; |
|
| 67 |
+ return "web/api/sendRESTAPI_test_r1"; |
|
| 63 | 68 |
} |
| 64 | 69 |
|
| 65 | 70 |
/** |
| 66 | 71 |
* 비밀번호 변경 페이지 |
| 67 | 72 |
*/ |
| 68 |
- @RequestMapping(value="/web/user/sendRESTAPI_test_r12.do") |
|
| 73 |
+ @RequestMapping(value="/web/api/sendRESTAPI_test_r12.do") |
|
| 69 | 74 |
public String sendRESTAPI_test_r12(ModelMap model) |
| 70 | 75 |
throws Exception {
|
| 71 | 76 |
/*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ |
... | ... | @@ -77,7 +82,7 @@ |
| 77 | 82 |
model.addAttribute("loginVO", loginVO);
|
| 78 | 83 |
|
| 79 | 84 |
model.addAttribute("pageTab", "passwordChange");
|
| 80 |
- return "web/user/sendRESTAPI_test_r12"; |
|
| 85 |
+ return "web/api/sendRESTAPI_test_r12"; |
|
| 81 | 86 |
} |
| 82 | 87 |
|
| 83 | 88 |
/** |
... | ... | @@ -95,7 +100,7 @@ |
| 95 | 100 |
model.addAttribute("loginVO", loginVO);
|
| 96 | 101 |
|
| 97 | 102 |
model.addAttribute("pageTab", "passwordChange");
|
| 98 |
- return "web/user/sendRESTAPI_test_r1_send"; |
|
| 103 |
+ return "web/api/sendRESTAPI_test_r1_send"; |
|
| 99 | 104 |
} |
| 100 | 105 |
|
| 101 | 106 |
|
... | ... | @@ -109,7 +114,7 @@ |
| 109 | 114 |
* @return |
| 110 | 115 |
* @throws Exception |
| 111 | 116 |
*/ |
| 112 |
- @RequestMapping(value="/web/user/sendRESTAPI_send_r2.do") |
|
| 117 |
+ @RequestMapping(value="/web/api/sendRESTAPI_send_r2.do") |
|
| 113 | 118 |
public String sendRESTAPI_send_r2(ModelMap model) |
| 114 | 119 |
throws Exception {
|
| 115 | 120 |
/*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ |
... | ... | @@ -121,7 +126,7 @@ |
| 121 | 126 |
model.addAttribute("loginVO", loginVO);
|
| 122 | 127 |
|
| 123 | 128 |
model.addAttribute("pageTab", "passwordChange");
|
| 124 |
- return "web/user/sendRESTAPI_send_r2"; |
|
| 129 |
+ return "web/api/sendRESTAPI_send_r2"; |
|
| 125 | 130 |
} |
| 126 | 131 |
|
| 127 | 132 |
|
... | ... | @@ -134,7 +139,7 @@ |
| 134 | 139 |
* @return |
| 135 | 140 |
* @throws Exception |
| 136 | 141 |
*/ |
| 137 |
- @RequestMapping(value="/web/user/sendRESTAPI_send_r3.do") |
|
| 142 |
+ @RequestMapping(value="/web/api/sendRESTAPI_send_r3.do") |
|
| 138 | 143 |
public String sendRESTAPI_send_r3(ModelMap model) |
| 139 | 144 |
throws Exception {
|
| 140 | 145 |
/*LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();*/ |
... | ... | @@ -146,7 +151,7 @@ |
| 146 | 151 |
model.addAttribute("loginVO", loginVO);
|
| 147 | 152 |
|
| 148 | 153 |
model.addAttribute("pageTab", "passwordChange");
|
| 149 |
- return "web/user/sendRESTAPI_send_r3"; |
|
| 154 |
+ return "web/api/sendRESTAPI_send_r3"; |
|
| 150 | 155 |
} |
| 151 | 156 |
|
| 152 | 157 |
|
... | ... | @@ -155,8 +160,8 @@ |
| 155 | 160 |
* @return |
| 156 | 161 |
* @throws Exception |
| 157 | 162 |
*/ |
| 158 |
- @RequestMapping(value="/web/user/sendRESTAPI_infoPage1_r1.do") |
|
| 159 |
- public String sendRESTAPI_infoPage1_r1(ModelMap model) |
|
| 163 |
+ @RequestMapping(value="/web/api/intrdView.do") |
|
| 164 |
+ public String intrdView(ModelMap model) |
|
| 160 | 165 |
throws Exception {
|
| 161 | 166 |
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
| 162 | 167 |
|
... | ... | @@ -165,7 +170,7 @@ |
| 165 | 170 |
} |
| 166 | 171 |
model.addAttribute("loginVO", loginVO);
|
| 167 | 172 |
|
| 168 |
- return "web/user/sendRESTAPI_infoPage1_r1"; |
|
| 173 |
+ return "web/api/intrdView"; |
|
| 169 | 174 |
} |
| 170 | 175 |
|
| 171 | 176 |
/** |
... | ... | @@ -173,8 +178,8 @@ |
| 173 | 178 |
* @return |
| 174 | 179 |
* @throws Exception |
| 175 | 180 |
*/ |
| 176 |
- @RequestMapping(value="/web/user/sendRESTAPI_infoPage2_r1.do") |
|
| 177 |
- public String sendRESTAPI_infoPage2_r1(ModelMap model) |
|
| 181 |
+ @RequestMapping(value="/web/api/appMgmt.do") |
|
| 182 |
+ public String appMgmt(ModelMap model) |
|
| 178 | 183 |
throws Exception {
|
| 179 | 184 |
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
| 180 | 185 |
|
... | ... | @@ -186,6 +191,7 @@ |
| 186 | 191 |
//사용자 신청/인증 정보 |
| 187 | 192 |
ApiKeyVO apiKeyVO = new ApiKeyVO(); |
| 188 | 193 |
apiKeyVO.setMberId(loginVO.getId()); |
| 194 |
+ model.addAttribute("mberId", loginVO.getId());
|
|
| 189 | 195 |
|
| 190 | 196 |
List<ApiKeyVO> resultList = new ArrayList<ApiKeyVO>(); |
| 191 | 197 |
resultList = apiKeyMngService.selectApiKeyApplyStatus(apiKeyVO); |
... | ... | @@ -204,15 +210,15 @@ |
| 204 | 210 |
model.addAttribute("apiVO", null);
|
| 205 | 211 |
} |
| 206 | 212 |
|
| 207 |
- return "web/user/sendRESTAPI_infoPage2_r1"; |
|
| 213 |
+ return "web/api/appMgmt"; |
|
| 208 | 214 |
} |
| 209 | 215 |
/** |
| 210 | 216 |
* @param model |
| 211 | 217 |
* @return |
| 212 | 218 |
* @throws Exception |
| 213 | 219 |
*/ |
| 214 |
- @RequestMapping(value="/web/user/sendRESTAPI_infoPage3_r1.do") |
|
| 215 |
- public String sendRESTAPI_infoPage3_r1(ModelMap model) |
|
| 220 |
+ @RequestMapping(value="/web/api/apiSpec.do") |
|
| 221 |
+ public String apiSpec(ModelMap model) |
|
| 216 | 222 |
throws Exception {
|
| 217 | 223 |
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
| 218 | 224 |
|
... | ... | @@ -221,7 +227,7 @@ |
| 221 | 227 |
} |
| 222 | 228 |
model.addAttribute("loginVO", loginVO);
|
| 223 | 229 |
|
| 224 |
- return "web/user/sendRESTAPI_infoPage3_r1"; |
|
| 230 |
+ return "web/api/apiSpec"; |
|
| 225 | 231 |
} |
| 226 | 232 |
|
| 227 | 233 |
/** |
... | ... | @@ -229,8 +235,8 @@ |
| 229 | 235 |
* @return |
| 230 | 236 |
* @throws Exception |
| 231 | 237 |
*/ |
| 232 |
- @RequestMapping(value="/web/user/sendRESTAPI_infoPage4_r1.do") |
|
| 233 |
- public String sendRESTAPI_infoPage4_r1(ModelMap model) |
|
| 238 |
+ @RequestMapping(value="/web/api/examDown.do") |
|
| 239 |
+ public String examDown(ModelMap model) |
|
| 234 | 240 |
throws Exception {
|
| 235 | 241 |
|
| 236 | 242 |
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; |
... | ... | @@ -240,7 +246,9 @@ |
| 240 | 246 |
} |
| 241 | 247 |
model.addAttribute("loginVO", loginVO);
|
| 242 | 248 |
|
| 243 |
- return "web/user/sendRESTAPI_infoPage4_r1"; |
|
| 249 |
+ return "web/api/examDown"; |
|
| 244 | 250 |
} |
| 245 | 251 |
|
| 252 |
+ |
|
| 253 |
+ |
|
| 246 | 254 |
} |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec.jsp
... | ... | @@ -30,15 +30,10 @@ |
| 30 | 30 |
<!-- send top --> |
| 31 | 31 |
<div class="send_top"> |
| 32 | 32 |
|
| 33 |
- <ul class="tabType4"> |
|
| 34 |
- <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage1_r1.do'">문자API 소개</button></li> |
|
| 35 |
- <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage2_r1.do'">신청/관리</button></li> |
|
| 36 |
- <li class="tab active"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage3_r1.do'">API SPEC</button></li> |
|
| 37 |
- <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage4_r1.do'">예제 다운로드</button></li> |
|
| 38 |
- </ul><!--// tab button --> |
|
| 33 |
+ <c:import url="./top_tepMenu.jsp" /><!--// tab button --> |
|
| 39 | 34 |
|
| 40 | 35 |
<!-- tab button --> |
| 41 |
- <div class="serv_content charg_cont current" id="tab5_1"> |
|
| 36 |
+ <div class="api_guide_cont current" id="tab5_1"> |
|
| 42 | 37 |
<div class="heading"> |
| 43 | 38 |
<h2>REST API 설명</h2> |
| 44 | 39 |
</div> |
... | ... | @@ -57,27 +52,27 @@ |
| 57 | 52 |
<!-- 문자보내기 --> |
| 58 | 53 |
<!-- 문자보내기 --> |
| 59 | 54 |
<div class="fee_cont current" id="tab1_1"> |
| 60 |
- <c:import url="./sendRESTAPI_infoPage3_r1_tab1.jsp" /> |
|
| 55 |
+ <c:import url="./apiSpec_tab1.jsp" /> |
|
| 61 | 56 |
</div> |
| 62 | 57 |
|
| 63 | 58 |
<!-- 문자보내기(대량) --> |
| 64 | 59 |
<!-- 문자보내기(대량) --> |
| 65 | 60 |
<!-- 문자보내기(대량) --> |
| 66 | 61 |
<div class="fee_cont" id="tab1_2"> |
| 67 |
- <c:import url="./sendRESTAPI_infoPage3_r1_tab2.jsp" /> |
|
| 62 |
+ <c:import url="./apiSpec_tab2.jsp" /> |
|
| 68 | 63 |
</div> |
| 69 | 64 |
|
| 70 | 65 |
<!-- 전송내역조회 --> |
| 71 | 66 |
<div class="fee_cont" id="tab1_3"> |
| 72 |
- <c:import url="./sendRESTAPI_infoPage3_r1_tab3.jsp" /> |
|
| 67 |
+ <c:import url="./apiSpec_tab3.jsp" /> |
|
| 73 | 68 |
</div> |
| 74 | 69 |
<!-- 전송결과조회(상세) --> |
| 75 | 70 |
<div class="fee_cont" id="tab1_4"> |
| 76 |
- <c:import url="./sendRESTAPI_infoPage3_r1_tab4.jsp" /> |
|
| 71 |
+ <c:import url="./apiSpec_tab4.jsp" /> |
|
| 77 | 72 |
</div> |
| 78 | 73 |
<!-- 발송가능건수 --> |
| 79 | 74 |
<div class="fee_cont" id="tab1_5"> |
| 80 |
- <c:import url="./sendRESTAPI_infoPage3_r1_tab5.jsp" /> |
|
| 75 |
+ <c:import url="./apiSpec_tab5.jsp" /> |
|
| 81 | 76 |
</div> |
| 82 | 77 |
</div> |
| 83 | 78 |
</div><!--// send top --> |
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab1.jsp
... | ... | @@ -0,0 +1,223 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | + | |
| 3 | + | |
| 4 | + <ul class="info"> | |
| 5 | + <li>- API를 통해서 동일한 내용의 문자를 대량으로 전송할 수 있습니다.</li> | |
| 6 | + <li>- 발신번호는 문자온 사이트를 통해 사전등록 후 이용하실 수 있습니다.(마이페이지-발신번호 관리 메뉴 이용)</li> | |
| 7 | + <li>- 문자 내용이 "90byte"를 초과하는 경우 장문(LMS)으로 자동 전환됩니다.</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>HHTP/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 | + </table> | |
| 39 | + </div> | |
| 40 | + </div> | |
| 41 | + <div class="type_table"> | |
| 42 | + <table> | |
| 43 | + <caption>문자발송 API Request 키 종류 및 설명, 타입, 필수 여부 테이블</caption> | |
| 44 | + <colgroup> | |
| 45 | + <col style="width:20%;"> | |
| 46 | + <col style="width:45%;"> | |
| 47 | + <col style="width:25%"> | |
| 48 | + <col style="width:10%"> | |
| 49 | + </colgroup> | |
| 50 | + <thead> | |
| 51 | + <tr> | |
| 52 | + <th>키</th> | |
| 53 | + <th>설명</th> | |
| 54 | + <th>타입</th> | |
| 55 | + <th>필수</th> | |
| 56 | + </tr> | |
| 57 | + </thead> | |
| 58 | + <tbody> | |
| 59 | + <tr> | |
| 60 | + <td><span class="font_b">mberId</span></td> | |
| 61 | + <td>사용자 ID</td> | |
| 62 | + <td>String</td> | |
| 63 | + <td><span class="select_o">O</span></td> | |
| 64 | + </tr> | |
| 65 | + <tr> | |
| 66 | + <td><span class="font_b">accessKey</span></td> | |
| 67 | + <td>인증용 API Key</td> | |
| 68 | + <td>String</td> | |
| 69 | + <td><span class="select_o">O</span></td> | |
| 70 | + </tr> | |
| 71 | + <tr> | |
| 72 | + <td><span class="font_b">callFrom</span></td> | |
| 73 | + <td>발신자 번호(아이디에 등록되어 있는 번호)</td> | |
| 74 | + <td>String</td> | |
| 75 | + <td><span class="select_o">O</span></td> | |
| 76 | + </tr> | |
| 77 | + <tr> | |
| 78 | + <td><span class="font_b">callToList</span></td> | |
| 79 | + <td>수신자 번호(콤마(,) 기준으로 입력)</td> | |
| 80 | + <td>String</td> | |
| 81 | + <td><span class="select_o">O</span></td> | |
| 82 | + </tr> | |
| 83 | + <tr> | |
| 84 | + <td><span class="font_b">smsTxt</span></td> | |
| 85 | + <td>메시지 내용</td> | |
| 86 | + <td>String(1~2,000Byte)</td> | |
| 87 | + <td><span class="select_o">O</span></td> | |
| 88 | + </tr> | |
| 89 | + <tr> | |
| 90 | + <td><span class="font_b">nameStr</span></td> | |
| 91 | + <td>메시지 내용에 [*이름*]이 있으면 치환용 이름 입력( | 로 구분 )</td> | |
| 92 | + <td>String</td> | |
| 93 | + <td><span class="select_x">X</span></td> | |
| 94 | + </tr> | |
| 95 | + <tr> | |
| 96 | + <td><span class="font_b">test_yn</span></td> | |
| 97 | + <td>테스트 데이터 여부</td> | |
| 98 | + <td>String</td> | |
| 99 | + <td><span class="select_x">X</span></td> | |
| 100 | + </tr> | |
| 101 | + </tbody> | |
| 102 | + </table> | |
| 103 | + <div class="table_info"> | |
| 104 | + <p>※ HTTPS 프로토콜을 사용하여 POST로 요청합니다.</p> | |
| 105 | + <p>※ 문자 텍스트 용량(byte) : 한글 1자당 2byte, 영문/숫자 1자당 1byte</p> | |
| 106 | + </div> | |
| 107 | + </div> | |
| 108 | + <div class="box"> | |
| 109 | + <div class="title">[Example]</div> | |
| 110 | + <div class="code_view"> | |
| 111 | + <p>{</p> | |
| 112 | + <div class="indent"> | |
| 113 | + <p><span>"mberId"</span>:"홍길동"</p> | |
| 114 | + <p>,<span>"accessKey"</span>:"XXXXXXXXXXXXXX414050694b953"</p> | |
| 115 | + <p>,<span>"callFrom"</span>:"01012341234"</p> | |
| 116 | + <p>,<span>"callToList"</span>:"01011111111,01022222222,01033333333"</p> | |
| 117 | + <p>,<span>"smsTxt"</span>:"문자 테스트~![*이름*]"</p> | |
| 118 | + <p>,<span>"nameStr"</span>:"홍길동1|홍길동2|홍길동3"</p> | |
| 119 | + <p>,<span>"test_yn"</span>:""</p> | |
| 120 | + </div> | |
| 121 | + <p class="l_code">}</p> | |
| 122 | + </div> | |
| 123 | + </div> | |
| 124 | + <!--// Request--> | |
| 125 | + <!-- Response--> | |
| 126 | + <div class="res_title">Response</div> | |
| 127 | + <div class="type_table"> | |
| 128 | + <table> | |
| 129 | + <caption>문자발송 API Response 키 종류 및 설명, 타입 테이블</caption> | |
| 130 | + <colgroup> | |
| 131 | + <col style="width:20%;"> | |
| 132 | + <col style="width:60%;"> | |
| 133 | + <col style="width:20%;"> | |
| 134 | + </colgroup> | |
| 135 | + <thead> | |
| 136 | + <tr> | |
| 137 | + <th>키</th> | |
| 138 | + <th>설명</th> | |
| 139 | + <th>타입</th> | |
| 140 | + </tr> | |
| 141 | + </thead> | |
| 142 | + <tbody> | |
| 143 | + <tr> | |
| 144 | + <td><span class="font_b">resultCode</span></td> | |
| 145 | + <td>성공 여부("0" 아니면 실패)</td> | |
| 146 | + <td>String</td> | |
| 147 | + </tr> | |
| 148 | + <tr> | |
| 149 | + <td><span class="font_b">data</span></td> | |
| 150 | + <td>결과값 객체(성공 : 데이터, 실패 : 메시지)</td> | |
| 151 | + <td>Object</td> | |
| 152 | + </tr> | |
| 153 | + <tr> | |
| 154 | + <td><span class="font_b">[data].msgGroupId</span></td> | |
| 155 | + <td>메시지 그룹 ID</td> | |
| 156 | + <td>String</td> | |
| 157 | + </tr> | |
| 158 | + <tr> | |
| 159 | + <td><span class="font_b">[data].msgType</span></td> | |
| 160 | + <td>메시지 타입(4 : 단문, 5 : 장문)</td> | |
| 161 | + <td>String</td> | |
| 162 | + </tr> | |
| 163 | + <tr> | |
| 164 | + <td><span class="font_b">[data].blockCnt</span></td> | |
| 165 | + <td>수신거부 건수</td> | |
| 166 | + <td>String</td> | |
| 167 | + </tr> | |
| 168 | + <tr> | |
| 169 | + <td><span class="font_b">[data].failCnt</span></td> | |
| 170 | + <td>전송 실패 건수</td> | |
| 171 | + <td>String</td> | |
| 172 | + </tr> | |
| 173 | + <tr> | |
| 174 | + <td><span class="font_b">[data].successCnt</span></td> | |
| 175 | + <td>성공 건수</td> | |
| 176 | + <td>String</td> | |
| 177 | + </tr> | |
| 178 | + <tr> | |
| 179 | + <td><span class="font_b">[data].test_yn</span></td> | |
| 180 | + <td>테스트 데이터 여부</td> | |
| 181 | + <td>String</td> | |
| 182 | + </tr> | |
| 183 | + </tbody> | |
| 184 | + </table> | |
| 185 | + <div class="table_info"> | |
| 186 | + <p>※ JSON 객체로 응답합니다.</p> | |
| 187 | + </div> | |
| 188 | + </div> | |
| 189 | + <div class="box"> | |
| 190 | + <div class="title_t1"><span class="ex">[Example]</span><span class="ex_success">O 성공 예시</span></div> | |
| 191 | + <div class="code_view"> | |
| 192 | + <p>{</p> | |
| 193 | + <div class="indent"> | |
| 194 | + <p><span>"resultCode"</span>:"0"</p> | |
| 195 | + <p>,<span>"data"</span>{</p> | |
| 196 | + <div class="indent_t1"> | |
| 197 | + <p><span>"msgGroupId"</span>:"MSGGID_0000000000000"</p> | |
| 198 | + <p>,<span>"msgType"</span>:"SMS"</p> | |
| 199 | + <p>,<span>"resultCode"</span>:"0"</p> | |
| 200 | + <p>,<span>"blockCnt"</span>:"0"</p> | |
| 201 | + <p>,<span>"failCnt"</span>:"0"</p> | |
| 202 | + <p>,<span>"successCnt"</span>:"3"</p> | |
| 203 | + <p>,<span>"test_yn"</span>:null</p> | |
| 204 | + </div> | |
| 205 | + <p>}</p> | |
| 206 | + </div> | |
| 207 | + <p class="l_code">}</p> | |
| 208 | + </div> | |
| 209 | + </div> | |
| 210 | + <div class="box"> | |
| 211 | + <div class="title_t1"><span class="ex">[Example]</span><span class="ex_fail">X 실패 예시</span></div> | |
| 212 | + <div class="code_view"> | |
| 213 | + <p>{</p> | |
| 214 | + <div class="indent"> | |
| 215 | + <p><span>"resultCode"</span>:"1040"</p> | |
| 216 | + <p>,<span>"data"</span>:"치환 데이터 오류"</p> | |
| 217 | + </div> | |
| 218 | + <p class="l_code">}</p> | |
| 219 | + </div> | |
| 220 | + </div> | |
| 221 | + <!--// Response--> | |
| 222 | + </div> | |
| 223 | + |
+++ src/main/webapp/WEB-INF/jsp/web/api/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>HHTP/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_o">...</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_o">O</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_o">O</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 : 단문, 5 : 장문)</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
... | ... | @@ -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>HHTP/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 : 단문, 5 : 장문)</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
... | ... | @@ -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>HHTP/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 : 단문, 5 : 장문)</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
... | ... | @@ -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>HHTP/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/appMgmt.jsp
... | ... | @@ -0,0 +1,427 @@ |
| 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 | +/* API KEY 사용/미사용 처리 */ | |
| 11 | +function fn_delete(p_accessNo, p_useYn){ | |
| 12 | + //frm = document.writeForm; | |
| 13 | + //var p_accessNo = frm.accessNo.value; | |
| 14 | + | |
| 15 | + if(confirm("API KEY 사용 상태 값을 변경합니까?")) { | |
| 16 | + $.ajax({ | |
| 17 | + type: "POST", | |
| 18 | + //url: "/uss/umt/user/selectMberSttusAjax.do", | |
| 19 | + url: "/uss/ion/apikey/UserAPIKEYDeleteAjax.do", | |
| 20 | + | |
| 21 | + data: { | |
| 22 | + "accessNo" : p_accessNo | |
| 23 | + , "useYn" : p_useYn | |
| 24 | + }, | |
| 25 | + | |
| 26 | + dataType:'json', | |
| 27 | + success: function (returnData, status) { | |
| 28 | + if(status == 'success'){ | |
| 29 | + alert("변경 처리 완료 하였습니다."); | |
| 30 | + location.reload(); | |
| 31 | + }else{ | |
| 32 | + alert("변경에 실패하였습니다.~1"); | |
| 33 | + location.reload(); | |
| 34 | + } | |
| 35 | + }, | |
| 36 | + error: function (e) { | |
| 37 | + alert("변경에 실패하였습니다.~2"); | |
| 38 | + location.reload(); | |
| 39 | + } | |
| 40 | + }); | |
| 41 | + } | |
| 42 | +} | |
| 43 | + | |
| 44 | +/* API KEY 실제 DB 삭제 - 임시 */ | |
| 45 | +function fn_delete_real(p_accessNo){ | |
| 46 | + //frm = document.writeForm; | |
| 47 | + //var p_accessNo = frm.accessNo.value; | |
| 48 | + | |
| 49 | + if(confirm("API신청 정보(API KEY, 발송서버 IP 데이터 모두 포함)를 삭제처리합니다.삭제후 복구 불가능합니다. 진행하시겠습니까?\n\n(임시 미사용시에는 API KEY 관리의 미사용처리 기능을 이용해주세요~)")) { | |
| 50 | + $.ajax({ | |
| 51 | + type: "POST", | |
| 52 | + //url: "/uss/umt/user/selectMberSttusAjax.do", | |
| 53 | + url: "/uss/ion/apikey/UserAPIKEYDeleteRealAjax.do", | |
| 54 | + | |
| 55 | + data: { | |
| 56 | + "accessNo" : p_accessNo | |
| 57 | + }, | |
| 58 | + | |
| 59 | + dataType:'json', | |
| 60 | + success: function (returnData, status) { | |
| 61 | + if(status == 'success'){ | |
| 62 | + alert("API KEY 정보 모두 삭제 하였습니다."); | |
| 63 | + location.reload(); | |
| 64 | + }else{ | |
| 65 | + alert("삭제에 실패하였습니다.~1"); | |
| 66 | + location.reload(); | |
| 67 | + } | |
| 68 | + }, | |
| 69 | + error: function (e) { | |
| 70 | + alert("삭제에 실패하였습니다.~2"); | |
| 71 | + location.reload(); | |
| 72 | + } | |
| 73 | + }); | |
| 74 | + } | |
| 75 | +} | |
| 76 | + | |
| 77 | +/* API KEY 변경 */ | |
| 78 | +function fn_update_apikey(p_accessNo){ | |
| 79 | + //frm = document.writeForm; | |
| 80 | + //var p_accessNo = frm.accessNo.value; | |
| 81 | + | |
| 82 | + if(confirm("API KEY 변경 후 복구 불가능합니다. 기존 API KEY는 사용할수 없습니다. 진행하시겠습니까?")) { | |
| 83 | + $.ajax({ | |
| 84 | + type: "POST", | |
| 85 | + //url: "/uss/umt/user/selectMberSttusAjax.do", | |
| 86 | + url: "/uss/ion/apikey/UserAPIUpdateAPIKEYAjax.do", | |
| 87 | + | |
| 88 | + data: { | |
| 89 | + "accessNo" : p_accessNo | |
| 90 | + }, | |
| 91 | + | |
| 92 | + dataType:'json', | |
| 93 | + success: function (returnData, status) { | |
| 94 | + if(status == 'success'){ | |
| 95 | + alert("API KEY 변경 하였습니다."); | |
| 96 | + location.reload(); | |
| 97 | + }else{ | |
| 98 | + alert("API KEY 변경 실패하였습니다.1"); | |
| 99 | + location.reload(); | |
| 100 | + } | |
| 101 | + }, | |
| 102 | + error: function (e) { | |
| 103 | + alert("API KEY 변경 실패하였습니다.2"); | |
| 104 | + location.reload(); | |
| 105 | + } | |
| 106 | + }); | |
| 107 | + } | |
| 108 | +} | |
| 109 | + | |
| 110 | +/* CALL INFO 호출정보 생성 */ | |
| 111 | +function fn_insert_callInfo(p_accessNo){ | |
| 112 | + //frm = document.writeForm; | |
| 113 | + //var p_accessNo = frm.accessNo.value; | |
| 114 | + | |
| 115 | + if ($("#callInfo").val()==''){ | |
| 116 | + alert("호출지 정보는 필수입니다."); | |
| 117 | + return false; | |
| 118 | + } | |
| 119 | + | |
| 120 | + $.ajax({ | |
| 121 | + type: "POST", | |
| 122 | + //url: "/uss/umt/user/selectMberSttusAjax.do", | |
| 123 | + url: "/uss/ion/apikey/UserAPIInsertCallInfoAjax.do", | |
| 124 | + | |
| 125 | + data: { | |
| 126 | + "accessNo" : p_accessNo | |
| 127 | + ,"callInfo" : $("#callInfo").val() | |
| 128 | + ,"callType" : 'IP' | |
| 129 | + }, | |
| 130 | + | |
| 131 | + dataType:'json', | |
| 132 | + success: function (returnData, status) { | |
| 133 | + if(status == 'success'){ | |
| 134 | + alert("API 호출정보생성 하였습니다."); | |
| 135 | + location.reload(); | |
| 136 | + }else{ | |
| 137 | + alert("호출정보생성에 실패하였습니다."); | |
| 138 | + location.reload(); | |
| 139 | + } | |
| 140 | + }, | |
| 141 | + error: function (e) { | |
| 142 | + alert("호출정보생성에 실패하였습니다."); | |
| 143 | + location.reload(); | |
| 144 | + } | |
| 145 | + }); | |
| 146 | +} | |
| 147 | + | |
| 148 | +/* CALL INFO 호출정보 삭제 */ | |
| 149 | +function fn_delete_callInfo(p_infoNo, p_accessNo | |
| 150 | + ){ | |
| 151 | + //frm = document.writeForm; | |
| 152 | + //var p_accessNo = frm.accessNo.value; | |
| 153 | + | |
| 154 | + if(confirm("삭제후 복구 불가능합니다. 진행하시겠습니까?")) { | |
| 155 | + $.ajax({ | |
| 156 | + type: "POST", | |
| 157 | + //url: "/uss/umt/user/selectMberSttusAjax.do", | |
| 158 | + url: "/uss/ion/apikey/UserAPIDeleteCallInfoAjax.do", | |
| 159 | + | |
| 160 | + data: { | |
| 161 | + "accessNo" : p_accessNo | |
| 162 | + ,"infoNo" : p_infoNo | |
| 163 | + }, | |
| 164 | + | |
| 165 | + dataType:'json', | |
| 166 | + success: function (returnData, status) { | |
| 167 | + if(status == 'success'){ | |
| 168 | + alert("API 호출정보삭제 하였습니다."); | |
| 169 | + location.reload(); | |
| 170 | + }else{ | |
| 171 | + alert("호출정보삭제에 실패하였습니다."); | |
| 172 | + location.reload(); | |
| 173 | + } | |
| 174 | + }, | |
| 175 | + error: function (e) { | |
| 176 | + alert("호출정보삭제에 실패하였습니다."); | |
| 177 | + location.reload(); | |
| 178 | + } | |
| 179 | + }); | |
| 180 | + } | |
| 181 | +} | |
| 182 | + | |
| 183 | +/* API KEY 생성11 */ | |
| 184 | +function fn_reg_user_4_apikey(){ | |
| 185 | + //frm = document.listForm; | |
| 186 | + var p_mberId = $('#mberId').val(); | |
| 187 | + | |
| 188 | + var form = document.checkForm; | |
| 189 | + var data = new FormData(form); | |
| 190 | + | |
| 191 | + $.ajax({ | |
| 192 | + type: "POST", | |
| 193 | + url: "/uss/ion/apikey/UserAPIInsertAPIKEYAjax.do", | |
| 194 | + data: { | |
| 195 | + "mberId": p_mberId | |
| 196 | + }, | |
| 197 | + dataType:'json', | |
| 198 | + success: function (returnData, status) { | |
| 199 | + if(returnData.result == 'success'){ | |
| 200 | + alert("API KEY 사용자 등록을 하였습니다."); | |
| 201 | + location.reload(); | |
| 202 | + }else if(returnData.result == 'db'){ | |
| 203 | + alert("API KEY 사용자 등록을 실패하였습니다.(아이디 중복여부 확인해주세요)"); | |
| 204 | + location.reload(); | |
| 205 | + }else if(returnData.result == 'fail'){ | |
| 206 | + alert("API KEY 사용자 등록을 실패하였습니다.(아이디 정상여부 확인해주세요)"); | |
| 207 | + //location.reload(); | |
| 208 | + }else{ | |
| 209 | + alert("API KEY 사용자 등록을 실패하였습니다.(아이디 중복 확인해주세요)"); | |
| 210 | + location.reload(); | |
| 211 | + } | |
| 212 | + }, | |
| 213 | + error: function (e) { | |
| 214 | + alert("API KEY 생성 실패하였습니다. 관리자에게 문의해 주세요"); | |
| 215 | + location.reload(); | |
| 216 | + } | |
| 217 | + }); | |
| 218 | + | |
| 219 | + | |
| 220 | +} | |
| 221 | + | |
| 222 | +</script> | |
| 223 | +<form id="checkForm" name="checkForm"> | |
| 224 | + <input type="hidden" id="mberId" value="<c:out value="${mberId }" />" /> | |
| 225 | +</form> | |
| 226 | +<!-- content 영역 --> | |
| 227 | +<div class="inner"> | |
| 228 | + <!-- send top --> | |
| 229 | + <div class="send_top"> | |
| 230 | + | |
| 231 | + <c:import url="./top_tepMenu.jsp" /> | |
| 232 | + | |
| 233 | + | |
| 234 | + <!-- 문자보내기 --> | |
| 235 | + <div class="top_content api_guide_cont current"> | |
| 236 | + <div class="heading"> | |
| 237 | + <h2>신청/관리<c:out value="${apiVO.useYn }" /></h2> | |
| 238 | + </div> | |
| 239 | + | |
| 240 | + <!--신청/관리 내용--> | |
| 241 | + <!--API 신청 정보 : 신청 전--> | |
| 242 | + <div class="api_admin"> | |
| 243 | + <div class="admin_title">API 신청 정보</div> | |
| 244 | + <div class="tb_wrap_t1"> | |
| 245 | + <table class="tType4"> | |
| 246 | + <caption>API 신청 일시, 승인 일시, 상태, 관리 테이블</caption> | |
| 247 | + <colgroup> | |
| 248 | + <col style="width:35%"> | |
| 249 | + <col style="width:35%"> | |
| 250 | + <col style="width:15%"> | |
| 251 | + <col style="width:15%"> | |
| 252 | + </colgroup> | |
| 253 | + <thead> | |
| 254 | + <tr> | |
| 255 | + <th>신청 일시</th> | |
| 256 | + <th>승인 일시</th> | |
| 257 | + <th>상태</th> | |
| 258 | + <th>관리</th> | |
| 259 | + </tr> | |
| 260 | + </thead> | |
| 261 | + <tbody> | |
| 262 | + <tr> | |
| 263 | + <c:choose> | |
| 264 | + <c:when test="${apiVO.useYn eq 'A'}"><!-- API 신청 중 --> | |
| 265 | + <td>${apiVO.frstRegistPnttm}</td> | |
| 266 | + <td>-</td> | |
| 267 | + <td>심사중</td> | |
| 268 | + <td><button type="button" class="btnType btnType23">신청 취소</button></td> | |
| 269 | + </c:when> | |
| 270 | + <c:when test="${apiVO.useYn eq 'N' and apiVO.accessKey eq ''}"><!-- API 미승인 --> | |
| 271 | + <td>${apiVO.frstRegistPnttm}</td> | |
| 272 | + <td>${apiVO.lastUpdtPnttm}</td> | |
| 273 | + <td>미승인</td> | |
| 274 | + <td> | |
| 275 | + <button type="button" class="btnType btnType23" onclick="fn_delete_real('${apiVO.accessNo}'); return false;">삭제</button> | |
| 276 | + <button type="button" class="btnType btnType14" onclick="fn_delete('${apiVO.accessNo}','A'); return false;">재신청</button> | |
| 277 | + </td> | |
| 278 | + </c:when> | |
| 279 | + <c:when test="${apiVO.useYn eq 'Y' or (apiVO.useYn eq 'N' and apiVO.accessKey ne '')}"><!-- API 사용 중 --> | |
| 280 | + <td>${apiVO.frstRegistPnttm}</td> | |
| 281 | + <td>${apiVO.lastUpdtPnttm}</td> | |
| 282 | + <td>승인</td> | |
| 283 | + <td> | |
| 284 | + <button type="button" class="btnType btnType23" onclick="fn_delete_real('${apiVO.accessNo}'); return false;">사용 취소</button> | |
| 285 | + </td> | |
| 286 | + </c:when> | |
| 287 | + <c:otherwise> | |
| 288 | + <td colspan="4">신청 내역이 없습니다.</td> | |
| 289 | + </c:otherwise> | |
| 290 | + </c:choose> | |
| 291 | + </tr> | |
| 292 | + </tbody> | |
| 293 | + </table> | |
| 294 | + </div> | |
| 295 | + <c:if test="${apiVO.useYn eq null}"> | |
| 296 | + <button type="button" class="btnType btnType2" onclick="fn_reg_user_4_apikey(); return false;">사용 신청</button> | |
| 297 | + </c:if> | |
| 298 | + </div> | |
| 299 | + <!--// API 신청 정보 : 신청 전--> | |
| 300 | + <!--API KEY 관리 : 발급 전--> | |
| 301 | + <div class="api_admin"> | |
| 302 | + <div class="admin_title">API KEY 관리</div> | |
| 303 | + <div class="tb_wrap_t1"> | |
| 304 | + <table class="tType4"> | |
| 305 | + <caption>API KEY 생성 일시, API KEY, 상태, 관리 테이블</caption> | |
| 306 | + <colgroup> | |
| 307 | + <col style="width:35%"> | |
| 308 | + <col style="width:35%"> | |
| 309 | + <col style="width:15%"> | |
| 310 | + <col style="width:15%"> | |
| 311 | + </colgroup> | |
| 312 | + <thead> | |
| 313 | + <tr> | |
| 314 | + <th>생성 일시</th> | |
| 315 | + <th>API KEY</th> | |
| 316 | + <th>상태</th> | |
| 317 | + <th>관리</th> | |
| 318 | + </tr> | |
| 319 | + </thead> | |
| 320 | + <tbody> | |
| 321 | + <tr> | |
| 322 | + <c:choose> | |
| 323 | + <c:when test="${apiVO.useYn eq 'Y'}"> | |
| 324 | + <td> | |
| 325 | + ${apiVO.lastUpdtPnttm} | |
| 326 | + </td> | |
| 327 | + <td> | |
| 328 | + ${apiVO.accessKey} | |
| 329 | + </td> | |
| 330 | + <td> | |
| 331 | + 사용 | |
| 332 | + </td> | |
| 333 | + <td> | |
| 334 | + <button type="button" class="btnType btnType23" onclick="fn_delete('${apiVO.accessNo}','N'); return false;">정지</button> | |
| 335 | + <button type="button" class="btnType btnType14" onclick="fn_update_apikey('14'); return false;">재발급</button> | |
| 336 | + </td> | |
| 337 | + </c:when> | |
| 338 | + <c:when test="${apiVO.useYn eq 'N'}"> | |
| 339 | + <td> | |
| 340 | + ${apiVO.lastUpdtPnttm} | |
| 341 | + </td> | |
| 342 | + <td> | |
| 343 | + ${apiVO.accessKey} | |
| 344 | + </td> | |
| 345 | + <td> | |
| 346 | + 미사용 | |
| 347 | + </td> | |
| 348 | + <td> | |
| 349 | + <button type="button" class="btnType btnType23" onclick="fn_delete('${apiVO.accessNo}','Y'); return false;">사용처리</button> | |
| 350 | + <button type="button" class="btnType btnType14" onclick="fn_update_apikey('${apiVO.accessNo}'); return false;">재발급</button> | |
| 351 | + </td> | |
| 352 | + </c:when> | |
| 353 | + <c:otherwise> | |
| 354 | + <td colspan="4">API KEY 발급 내역이 없습니다.</td> | |
| 355 | + </c:otherwise> | |
| 356 | + </c:choose> | |
| 357 | + </tr> | |
| 358 | + </tbody> | |
| 359 | + </table> | |
| 360 | + </div> | |
| 361 | + <p class="admin_info">* API KEY는 계정당 1개만 제공됩니다.</p> | |
| 362 | + </div> | |
| 363 | + <!--// API KEY 관리 : 발급 전--> | |
| 364 | + <!--API 사용 IP 관리 : IP등록 전--> | |
| 365 | + <div class="api_admin"> | |
| 366 | + <div class="admin_title">API 사용 IP 관리</div> | |
| 367 | + <div class="tb_wrap_t1"> | |
| 368 | + <table class="tType4"> | |
| 369 | + <caption>IP 등록 일시, IP, 관리 테이블</caption> | |
| 370 | + <colgroup> | |
| 371 | + <col style="width:35%"> | |
| 372 | + <col style="width:35%"> | |
| 373 | + <col style="width:30%"> | |
| 374 | + </colgroup> | |
| 375 | + <thead> | |
| 376 | + <tr> | |
| 377 | + <th>등록 일시</th> | |
| 378 | + <th>IP</th> | |
| 379 | + <th>관리</th> | |
| 380 | + </tr> | |
| 381 | + </thead> | |
| 382 | + <tbody> | |
| 383 | + <c:choose> | |
| 384 | + <c:when test="${apiVO.useYn eq 'Y' or apiVO.useYn eq 'N'}"> | |
| 385 | + <c:forEach var="result" items="${apiCallInfoVOList}" varStatus="status"> | |
| 386 | + <tr> | |
| 387 | + <td>${result.frstRegistPnttm}</td> | |
| 388 | + <td>${result.callInfo}</td> | |
| 389 | + <td><button type="button" class="btnType btnType23" onclick="fn_delete_callInfo('${result.infoNo}', '${result.accessNo}'); return false;">삭제</button></td> | |
| 390 | + </tr> | |
| 391 | + </c:forEach> | |
| 392 | + <c:if test="${apiCallInfoVOListSize eq 0}"> | |
| 393 | + <tr> | |
| 394 | + <td colspan="3">사용 IP 등록 내역이 없습니다.</td> | |
| 395 | + </tr> | |
| 396 | + </c:if> | |
| 397 | + </c:when> | |
| 398 | + <c:otherwise> | |
| 399 | + <tr> | |
| 400 | + <td colspan="3">사용 IP 등록 내역이 없습니다.</td> | |
| 401 | + </tr> | |
| 402 | + </c:otherwise> | |
| 403 | + </c:choose> | |
| 404 | + </tbody> | |
| 405 | + </table> | |
| 406 | + </div> | |
| 407 | + <!--사용 승인 될 경우에만 노출--> | |
| 408 | + <c:choose> | |
| 409 | + <c:when test="${apiVO.useYn eq 'Y' and apiCallInfoVOListSize lt 11}"> | |
| 410 | + <div class="input_box"> | |
| 411 | + <div class="box_in">IP입력 : <input type="text" id="callInfo" placeholder="IP를 입력해주세요"><button type="botton" class="btnType btnType2" onclick="fn_insert_callInfo('${apiVO.accessNo}'); return false;">IP 등록</button></div> | |
| 412 | + </div> | |
| 413 | + </c:when> | |
| 414 | + <c:otherwise> | |
| 415 | +<!-- <p class="admin_info">* IP는 10개 까지만 등록 가능합니다.</p> --> | |
| 416 | + </c:otherwise> | |
| 417 | + </c:choose> | |
| 418 | + <p class="admin_info">* 대역 등록을 원하실 경우 상위 IP만 작성하시면 됩니다. ex) 92.168.255.0 ~ 192.168.255.255 대역을 등록할 경우 192.168. 255. 입력</p> | |
| 419 | + <p class="admin_info">* IP는 최대 10개까지 등록 가능합니다. 단, IP 대역은 1개의 IP로 계산합니다.<c:out value="${apiCallInfoVOListSize }" /></p> | |
| 420 | + <!--//사용 승인 될 경우에만 노출--> | |
| 421 | + </div> | |
| 422 | + <!--// API 사용 IP 관리 : IP등록 전--> | |
| 423 | + <!--// 신청/관리 내용--> | |
| 424 | + </div> | |
| 425 | + | |
| 426 | + </div> | |
| 427 | +</div> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage2_r1.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/appMgmt_ori.jsp
... | ... | @@ -222,12 +222,7 @@ |
| 222 | 222 |
<!-- send top --> |
| 223 | 223 |
<div class="send_top"> |
| 224 | 224 |
|
| 225 |
- <ul class="tabType4"> |
|
| 226 |
- <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage1_r1.do'">문자API 소개</button></li> |
|
| 227 |
- <li class="tab active"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage2_r1.do'">신청/관리</button></li> |
|
| 228 |
- <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage3_r1.do'">API SPEC</button></li> |
|
| 229 |
- <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage4_r1.do'">예제 다운로드</button></li> |
|
| 230 |
- </ul><!--// tab button --> |
|
| 225 |
+ <c:import url="./top_tepMenu.jsp" /> |
|
| 231 | 226 |
|
| 232 | 227 |
<!-- tab button --> |
| 233 | 228 |
<div class="serv_content charg_cont current" id="tab5_1"> |
+++ src/main/webapp/WEB-INF/jsp/web/api/examDown.jsp
... | ... | @@ -0,0 +1,297 @@ |
| 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 | + $('#download_btn').click(function(){ | |
| 9 | + location.href="<c:out value='/sample_mjon/jsp_샘플_예제.zip' />"; | |
| 10 | + }); | |
| 11 | + | |
| 12 | + | |
| 13 | +}); | |
| 14 | + | |
| 15 | +</script> | |
| 16 | +<!-- content 영역 --> | |
| 17 | +<div class="inner"> | |
| 18 | + <!-- send top --> | |
| 19 | + <div class="send_top"> | |
| 20 | + <!-- tab button --> | |
| 21 | + <c:import url="./top_tepMenu.jsp" /> | |
| 22 | + <!--// tab button --> | |
| 23 | + | |
| 24 | + <div class="api_guide_cont current"> | |
| 25 | + <div class="heading"> | |
| 26 | + <h2>예제 다운로드</h2> | |
| 27 | + </div> | |
| 28 | + | |
| 29 | + <!--예제 다운로드 내용--> | |
| 30 | + <div class="api_download"> | |
| 31 | + <ul class="info"> | |
| 32 | + <li>- 아래 예제(JSP)를 참고하시어 쉽고 편리하게 API를 연동할 수 있습니다.</li> | |
| 33 | + <li>- JSP 외 타 예제는 계속해서 업데이트 될 예정입니다.</li> | |
| 34 | + </ul> | |
| 35 | + | |
| 36 | + <div class="list_tab_wrap2 type2"> | |
| 37 | + <!-- tab button --> | |
| 38 | + <ul class="list_tab"> | |
| 39 | + <li class="tab active"><button type="button" onclick="listTab3(this,'1');">JSP</button> | |
| 40 | + </li><!-- | |
| 41 | + <li class="tab"><button type="button" onclick="listTab3(this,'2');">ASP</button> | |
| 42 | + </li> | |
| 43 | + <li class="tab"><button type="button" onclick="listTab3(this,'3');">PHP</button> | |
| 44 | + </li> | |
| 45 | + <li class="tab"><button type="button" onclick="listTab3(this,'4');">.NET</button> | |
| 46 | + </li> | |
| 47 | + <li class="tab"><button type="button" onclick="listTab3(this,'5');">AOS</button> | |
| 48 | + </li> | |
| 49 | + <li class="tab"><button type="button" onclick="listTab3(this,'6');">IOS</button> | |
| 50 | + </li>--> | |
| 51 | + </ul> | |
| 52 | + <!--// tab button --> | |
| 53 | + </div> | |
| 54 | + | |
| 55 | + <!-- JSP 다운로드--> | |
| 56 | + <div class="download_cont current" id="listTab3_1"> | |
| 57 | + <div class="box"> | |
| 58 | + <div class="text"> | |
| 59 | + <h4>JSP Example</h4> | |
| 60 | + <table> | |
| 61 | + <caption>JSP 샘플 파일 설명 테이블</caption> | |
| 62 | + <colgroup> | |
| 63 | + <col style="width:35%;"> | |
| 64 | + <col style="width:65%;"> | |
| 65 | + </colgroup> | |
| 66 | + <tr> | |
| 67 | + <th>jsp_example_send_msg_r1.jsp</th> | |
| 68 | + <td>문자보내기(여러명에게 동일한문자)</td> | |
| 69 | + </tr> | |
| 70 | + <tr> | |
| 71 | + <th>sp_example_send_msgs_r1.jsp</th> | |
| 72 | + <td>문자보내기(여러명에게 다른문자)</td> | |
| 73 | + </tr> | |
| 74 | + <tr> | |
| 75 | + <th>jsp_example_hstry_r1.jsp</th> | |
| 76 | + <td>전송내역조회</td> | |
| 77 | + </tr> | |
| 78 | + <tr> | |
| 79 | + <th>jsp_example_hstry_detail_r1.jsp</th> | |
| 80 | + <td>상세전송내역조회</td> | |
| 81 | + </tr> | |
| 82 | + <tr> | |
| 83 | + <th>jsp_example_select_price_r1.jsp</th> | |
| 84 | + <td>발송가능건수</td> | |
| 85 | + </tr> | |
| 86 | + </table> | |
| 87 | + </div> | |
| 88 | + </div> | |
| 89 | + <div class="btn_area"> | |
| 90 | + <button type="button" class="btnType btnType11" id="download_btn" onclick="return false;">JSP용 예제 다운받기</button> | |
| 91 | + </div> | |
| 92 | + </div> | |
| 93 | + <!--// JSP 다운로드--> | |
| 94 | + <!--ASP 다운로드--> | |
| 95 | + <div class="download_cont" id="listTab3_2"> | |
| 96 | + <div class="box"> | |
| 97 | + <div class="text"> | |
| 98 | + <h4>ASP Example</h4> | |
| 99 | + <table> | |
| 100 | + <caption>ASP 샘플 파일 설명 테이블</caption> | |
| 101 | + <colgroup> | |
| 102 | + <col style="width:35%;"> | |
| 103 | + <col style="width:65%;"> | |
| 104 | + </colgroup> | |
| 105 | + <tr> | |
| 106 | + <th>파일명</th> | |
| 107 | + <td>파일 설명</td> | |
| 108 | + </tr> | |
| 109 | + <tr> | |
| 110 | + <th>파일명</th> | |
| 111 | + <td>파일 설명</td> | |
| 112 | + </tr> | |
| 113 | + <tr> | |
| 114 | + <th>파일명</th> | |
| 115 | + <td>파일 설명</td> | |
| 116 | + </tr> | |
| 117 | + <tr> | |
| 118 | + <th>파일명</th> | |
| 119 | + <td>파일 설명</td> | |
| 120 | + </tr> | |
| 121 | + <tr> | |
| 122 | + <th>파일명</th> | |
| 123 | + <td>파일 설명</td> | |
| 124 | + </tr> | |
| 125 | + </table> | |
| 126 | + </div> | |
| 127 | + </div> | |
| 128 | + <div class="btn_area"> | |
| 129 | + <button type="button" class="btnType btnType11">ASP용 예제 다운받기</button> | |
| 130 | + </div> | |
| 131 | + </div> | |
| 132 | + <!--// ASP 다운로드--> | |
| 133 | + <!--PHP 다운로드--> | |
| 134 | + <div class="download_cont" id="listTab3_3"> | |
| 135 | + <div class="box"> | |
| 136 | + <div class="text"> | |
| 137 | + <h4>PHP Example</h4> | |
| 138 | + <table> | |
| 139 | + <caption>PHP 샘플 파일 설명 테이블</caption> | |
| 140 | + <colgroup> | |
| 141 | + <col style="width:35%;"> | |
| 142 | + <col style="width:65%;"> | |
| 143 | + </colgroup> | |
| 144 | + <tr> | |
| 145 | + <th>파일명</th> | |
| 146 | + <td>파일 설명</td> | |
| 147 | + </tr> | |
| 148 | + <tr> | |
| 149 | + <th>파일명</th> | |
| 150 | + <td>파일 설명</td> | |
| 151 | + </tr> | |
| 152 | + <tr> | |
| 153 | + <th>파일명</th> | |
| 154 | + <td>파일 설명</td> | |
| 155 | + </tr> | |
| 156 | + <tr> | |
| 157 | + <th>파일명</th> | |
| 158 | + <td>파일 설명</td> | |
| 159 | + </tr> | |
| 160 | + <tr> | |
| 161 | + <th>파일명</th> | |
| 162 | + <td>파일 설명</td> | |
| 163 | + </tr> | |
| 164 | + </table> | |
| 165 | + </div> | |
| 166 | + </div> | |
| 167 | + <div class="btn_area"> | |
| 168 | + <button type="button" class="btnType btnType11">PHP용 예제 다운받기</button> | |
| 169 | + </div> | |
| 170 | + </div> | |
| 171 | + <!--// PHP 다운로드--> | |
| 172 | + <!--.NET 다운로드--> | |
| 173 | + <div class="download_cont" id="listTab3_4"> | |
| 174 | + <div class="box"> | |
| 175 | + <div class="text"> | |
| 176 | + <h4>.NET Example</h4> | |
| 177 | + <table> | |
| 178 | + <caption>.NET 샘플 파일 설명 테이블</caption> | |
| 179 | + <colgroup> | |
| 180 | + <col style="width:35%;"> | |
| 181 | + <col style="width:65%;"> | |
| 182 | + </colgroup> | |
| 183 | + <tr> | |
| 184 | + <th>파일명</th> | |
| 185 | + <td>파일 설명</td> | |
| 186 | + </tr> | |
| 187 | + <tr> | |
| 188 | + <th>파일명</th> | |
| 189 | + <td>파일 설명</td> | |
| 190 | + </tr> | |
| 191 | + <tr> | |
| 192 | + <th>파일명</th> | |
| 193 | + <td>파일 설명</td> | |
| 194 | + </tr> | |
| 195 | + <tr> | |
| 196 | + <th>파일명</th> | |
| 197 | + <td>파일 설명</td> | |
| 198 | + </tr> | |
| 199 | + <tr> | |
| 200 | + <th>파일명</th> | |
| 201 | + <td>파일 설명</td> | |
| 202 | + </tr> | |
| 203 | + </table> | |
| 204 | + </div> | |
| 205 | + </div> | |
| 206 | + <div class="btn_area"> | |
| 207 | + <button type="button" class="btnType btnType11">.NET용 예제 다운받기</button> | |
| 208 | + </div> | |
| 209 | + </div> | |
| 210 | + <!--// .NET 다운로드--> | |
| 211 | + <!--AOS 다운로드--> | |
| 212 | + <div class="download_cont" id="listTab3_5"> | |
| 213 | + <div class="box"> | |
| 214 | + <div class="text"> | |
| 215 | + <h4>AOS Example</h4> | |
| 216 | + <table> | |
| 217 | + <caption>AOS 샘플 파일 설명 테이블</caption> | |
| 218 | + <colgroup> | |
| 219 | + <col style="width:35%;"> | |
| 220 | + <col style="width:65%;"> | |
| 221 | + </colgroup> | |
| 222 | + <tr> | |
| 223 | + <th>파일명</th> | |
| 224 | + <td>파일 설명</td> | |
| 225 | + </tr> | |
| 226 | + <tr> | |
| 227 | + <th>파일명</th> | |
| 228 | + <td>파일 설명</td> | |
| 229 | + </tr> | |
| 230 | + <tr> | |
| 231 | + <th>파일명</th> | |
| 232 | + <td>파일 설명</td> | |
| 233 | + </tr> | |
| 234 | + <tr> | |
| 235 | + <th>파일명</th> | |
| 236 | + <td>파일 설명</td> | |
| 237 | + </tr> | |
| 238 | + <tr> | |
| 239 | + <th>파일명</th> | |
| 240 | + <td>파일 설명</td> | |
| 241 | + </tr> | |
| 242 | + </table> | |
| 243 | + </div> | |
| 244 | + </div> | |
| 245 | + <div class="btn_area"> | |
| 246 | + <button type="button" class="btnType btnType11">AOS용 예제 다운받기</button> | |
| 247 | + </div> | |
| 248 | + </div> | |
| 249 | + <!--// AOS 다운로드--> | |
| 250 | + <!--IOS 다운로드--> | |
| 251 | + <div class="download_cont" id="listTab3_6"> | |
| 252 | + <div class="box"> | |
| 253 | + <div class="text"> | |
| 254 | + <h4>IOS Example</h4> | |
| 255 | + <table> | |
| 256 | + <caption>IOS 샘플 파일 설명 테이블</caption> | |
| 257 | + <colgroup> | |
| 258 | + <col style="width:35%;"> | |
| 259 | + <col style="width:65%;"> | |
| 260 | + </colgroup> | |
| 261 | + <tr> | |
| 262 | + <th>파일명</th> | |
| 263 | + <td>파일 설명</td> | |
| 264 | + </tr> | |
| 265 | + <tr> | |
| 266 | + <th>파일명</th> | |
| 267 | + <td>파일 설명</td> | |
| 268 | + </tr> | |
| 269 | + <tr> | |
| 270 | + <th>파일명</th> | |
| 271 | + <td>파일 설명</td> | |
| 272 | + </tr> | |
| 273 | + <tr> | |
| 274 | + <th>파일명</th> | |
| 275 | + <td>파일 설명</td> | |
| 276 | + </tr> | |
| 277 | + <tr> | |
| 278 | + <th>파일명</th> | |
| 279 | + <td>파일 설명</td> | |
| 280 | + </tr> | |
| 281 | + </table> | |
| 282 | + </div> | |
| 283 | + </div> | |
| 284 | + <div class="btn_area"> | |
| 285 | + <button type="button" class="btnType btnType11">IOS용 예제 다운받기</button> | |
| 286 | + </div> | |
| 287 | + </div> | |
| 288 | + <!--// IOS 다운로드--> | |
| 289 | + </div> | |
| 290 | + <!--// 예제 다운로드 내용--> | |
| 291 | + </div> | |
| 292 | + </div> | |
| 293 | + | |
| 294 | + </div> | |
| 295 | + | |
| 296 | + | |
| 297 | + |
+++ src/main/webapp/WEB-INF/jsp/web/api/intrdView.jsp
... | ... | @@ -0,0 +1,93 @@ |
| 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 | +<!-- content 영역 --> | |
| 12 | +<div class="inner"> | |
| 13 | + <!-- send top --> | |
| 14 | + <div class="send_top"> | |
| 15 | + <c:import url="./top_tepMenu.jsp" /> | |
| 16 | + | |
| 17 | + <!-- tab button --> | |
| 18 | + <div class="api_guide_cont current"> | |
| 19 | + <div class="heading"> | |
| 20 | + <h2>문자 API 소개</h2> | |
| 21 | + </div> | |
| 22 | + | |
| 23 | + <!--소개 내용--> | |
| 24 | + <div class="api_visual_image"> | |
| 25 | + <img src="<c:url value='/publish/images/api_intro_cont/api_intro_visual.jpg' />" alt="문자 API도 이제 '문자온!'' 별도의 프로그램 설치 없이 누구나 쉽고 편리하게 문자를 발송할 수 있습니다." usemap="#image-map"> | |
| 26 | + <map name="image-map"> | |
| 27 | + <area target="_self" alt="문자 API 신청하기" title="문자 API 신청하기" href="#" coords="88,214,291,268" shape="rect"> | |
| 28 | + </map> | |
| 29 | + </div> | |
| 30 | + | |
| 31 | + <!--사용 절차 설명 --> | |
| 32 | + <div class="api_intro"> | |
| 33 | + <div class="title"> | |
| 34 | + <h3>문자 API 사용 절차</h3> | |
| 35 | + </div> | |
| 36 | + | |
| 37 | + <div class="title-line"> | |
| 38 | + <div class="left-line"></div> | |
| 39 | + <div class="right-line"></div> | |
| 40 | + </div> | |
| 41 | + | |
| 42 | + <div class="con"> | |
| 43 | + <ul class="api_process_guide"> | |
| 44 | + <li class="guide"> | |
| 45 | + <p class="step_title">STEP <span>01</span></p> | |
| 46 | + <div class="step_con"> | |
| 47 | + <div class="icon"><img src="<c:url value='/publish/images/api_intro_cont/api_guide_01.jpg' />" alt="문자 API 신청 아이콘"></div> | |
| 48 | + <dl> | |
| 49 | + <dt>문자 API 신청</dt> | |
| 50 | + <dd>관리자 승인 후 사용 가능</dd> | |
| 51 | + </dl> | |
| 52 | + </div> | |
| 53 | + </li> | |
| 54 | + <li class="guide"> | |
| 55 | + <p class="step_title">STEP <span>02</span></p> | |
| 56 | + <div class="step_con"> | |
| 57 | + <div class="icon"><img src="<c:url value='/publish/images/api_intro_cont/api_guide_02.jpg' />" alt="관리자 승인 아이콘"></div> | |
| 58 | + <dl> | |
| 59 | + <dt>관리자 승인</dt> | |
| 60 | + <dd>승인 완료 시 문자 안내</dd> | |
| 61 | + </dl> | |
| 62 | + </div> | |
| 63 | + </li> | |
| 64 | + <li class="guide"> | |
| 65 | + <p class="step_title">STEP <span>03</span></p> | |
| 66 | + <div class="step_con"> | |
| 67 | + <div class="icon"><img src="<c:url value='/publish/images/api_intro_cont/api_guide_03.jpg' />" alt="아이피(IP) 등록 아이콘"></div> | |
| 68 | + <dl> | |
| 69 | + <dt>아이피<span>(IP)</span> 등록</dt> | |
| 70 | + <dd>문자 API를 통해 문자 발송 서버 IP 등록</dd> | |
| 71 | + </dl> | |
| 72 | + </div> | |
| 73 | + </li> | |
| 74 | + <li class="guide"> | |
| 75 | + <p class="step_title">STEP <span>04</span></p> | |
| 76 | + <div class="step_con"> | |
| 77 | + <div class="icon"><img src="<c:url value='/publish/images/api_intro_cont/api_guide_04.jpg' />" alt="API 연동 아이콘"></div> | |
| 78 | + <dl> | |
| 79 | + <dt>API 연동</dt> | |
| 80 | + <dd>API 사용 매뉴얼 및 샘플링을 통해 누구나 손쉽게 연동 가능</dd> | |
| 81 | + </dt> | |
| 82 | + </div> | |
| 83 | + </li> | |
| 84 | + </ul> | |
| 85 | + </div> | |
| 86 | + </div> | |
| 87 | + <!--// 사용 절차 설명--> | |
| 88 | + <!--// 소개 내용--> | |
| 89 | + </div> | |
| 90 | + | |
| 91 | + | |
| 92 | + </div> | |
| 93 | +</div> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_send_r2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/sendRESTAPI_send_r2.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_send_r3.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/sendRESTAPI_send_r3.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_test_r1.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/sendRESTAPI_test_r1.jsp
| No changes |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_test_r12.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/sendRESTAPI_test_r12.jsp
| No changes |
+++ src/main/webapp/WEB-INF/jsp/web/api/top_tepMenu.jsp
... | ... | @@ -0,0 +1,37 @@ |
| 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 | + | |
| 4 | +<script type="text/javascript"> | |
| 5 | + | |
| 6 | +$(document).ready(function(){ | |
| 7 | + | |
| 8 | + // 현재 url 추출 | |
| 9 | + var url = window.location.pathname; | |
| 10 | +// console.log(url); | |
| 11 | + // 현재 url에서 uri만 추출 | |
| 12 | + var lastPart = url.split('/').pop(); | |
| 13 | +// console.log(lastPart); | |
| 14 | + /* | |
| 15 | + * top 메뉴중 onclick에 있는 uri을 가져와 | |
| 16 | + * 현재 호출된 페이지와 uri와 비교해서 맞다면 | |
| 17 | + * active로 활성화 시킴 | |
| 18 | + */ | |
| 19 | + $('.tabType4 .tab').each(function(index) { | |
| 20 | + var onclickAttr = $(this).children("button").attr("onclick"); | |
| 21 | +// console.log("Button " + (index + 1) + " onclick: " + onclickAttr); | |
| 22 | + if(onclickAttr.indexOf(lastPart) > -1){ | |
| 23 | + $(this).addClass('active'); | |
| 24 | + } | |
| 25 | + }); | |
| 26 | + | |
| 27 | +}); | |
| 28 | + | |
| 29 | +</script> | |
| 30 | + | |
| 31 | + | |
| 32 | + <ul class="tabType4"> | |
| 33 | + <li class="tab"><button type="button" onclick="location.href='<c:url value="/web/api/intrdView.do" />'">문자 API소개</button></li> | |
| 34 | + <li class="tab"><button type="button" onclick="location.href='<c:url value="/web/api/apiSpec.do" />'">API 사용안내</button></li> | |
| 35 | + <li class="tab"><button type="button" onclick="location.href='<c:url value="/web/api/examDown.do" />'">예제 다운로드</button></li> | |
| 36 | + <li class="tab"><button type="button" onclick="location.href='<c:url value="/web/api/appMgmt.do" />'">신청/관리</button></li> | |
| 37 | + </ul> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage1_r1.jsp
... | ... | @@ -1,101 +0,0 @@ |
| 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 | -<!-- content 영역 --> | |
| 12 | -<div class="inner"> | |
| 13 | - <!-- send top --> | |
| 14 | - <div class="send_top"> | |
| 15 | - | |
| 16 | - <ul class="tabType4"> | |
| 17 | - <li class="tab active"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage1_r1.do'">문자API 소개</button></li> | |
| 18 | - <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage2_r1.do'">신청/관리</button></li> | |
| 19 | - <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage3_r1.do'">API SPEC</button></li> | |
| 20 | - <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage4_r1.do'">예제 다운로드</button></li> | |
| 21 | - </ul><!--// tab button --> | |
| 22 | - | |
| 23 | - <!-- tab button --> | |
| 24 | - <div class="serv_content charg_cont current" id="tab5_1"> | |
| 25 | - <div class="heading"> | |
| 26 | - <h2>문자API 소개</h2> | |
| 27 | - </div> | |
| 28 | - | |
| 29 | - <!-- 문자보내기 --> | |
| 30 | - <div class="fee_cont current" id="tab1_1"> | |
| 31 | - <p class="tType1_title">RESTful API</p> | |
| 32 | - <span class="reqTxt4"> | |
| 33 | - 비즈니스 및 앱을 위한 프로페셔널 SMS 문자서비스 | |
| 34 | - </br> | |
| 35 | - 쉽고 간단한 API 연동으로 소중한 작업시간과 비용을 줄여드립니다. | |
| 36 | - </br> | |
| 37 | - </br> | |
| 38 | - <img src="/images/restapi/restapi_r1.png" alt="REST API CONCEPT"> | |
| 39 | - </br> | |
| 40 | - </br> | |
| 41 | - 1. Request HTTP TCP/IP 통신을 이용하며 Client는 REST API 규격에 맞춰서 메시지 전송 | |
| 42 | - </br> | |
| 43 | - 2. Response HTTP Server는 Client로부터 전달 받은 메시지 전송요청 응답 | |
| 44 | - </br> | |
| 45 | - 3. SEND SMS Server는 통신사에 메시지를 전송 | |
| 46 | - </br> | |
| 47 | - 4. Get Reports 통신사업자로부터 메시지 리포트 수신 | |
| 48 | - </br> | |
| 49 | - 5. Response Reports 메시지 리포트 정상 수신 여부에 대한 응답을 Server에 전달 | |
| 50 | - </br> | |
| 51 | - </span> | |
| 52 | - <!-- | |
| 53 | - </br> | |
| 54 | - </br> | |
| 55 | - | |
| 56 | - <ul class="clause_list"> | |
| 57 | - <li class="list_open on"> | |
| 58 | - <div class="clause_list_head"> | |
| 59 | - <div class="list_head_in"> | |
| 60 | - <span>Request</span> | |
| 61 | - </div> | |
| 62 | - </div> | |
| 63 | - <div class="clause_list_body"> | |
| 64 | - <table class="refund_info"> | |
| 65 | - <colgroup> | |
| 66 | - <col style="width: 25%"> | |
| 67 | - <col style="width: auto;"> | |
| 68 | - </colgroup> | |
| 69 | - <tbody> | |
| 70 | - <tr> | |
| 71 | - <td>Http Method</td> | |
| 72 | - <td>POST</td> | |
| 73 | - </tr> | |
| 74 | - <tr> | |
| 75 | - <td>프로토콜</td> | |
| 76 | - <td>HTTP/1.1</td> | |
| 77 | - </tr> | |
| 78 | - <tr> | |
| 79 | - <td>HOST</td> | |
| 80 | - <td>api.munjaon.co.kr</td> | |
| 81 | - </tr> | |
| 82 | - <tr> | |
| 83 | - <td>Service Port</td> | |
| 84 | - <td>443</td> | |
| 85 | - </tr> | |
| 86 | - </tbody> | |
| 87 | - </table> | |
| 88 | - </div> | |
| 89 | - </li> | |
| 90 | - </ul> | |
| 91 | - <span class="reqTxt4"> | |
| 92 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. 예약설정을 통해 예약문자로 등록이 가능하며, 파일첨부를 통해 MMS 전송이 가능합니다. | |
| 93 | - </span> | |
| 94 | - --> | |
| 95 | - </div> | |
| 96 | - | |
| 97 | - </div> | |
| 98 | - | |
| 99 | - | |
| 100 | - </div> | |
| 101 | -</div> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab1.jsp
... | ... | @@ -1,284 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - <p class="tType1_title">문자보내기</p> | |
| 6 | - <span class="reqTxt4"> | |
| 7 | - 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. | |
| 8 | - </br> | |
| 9 | - 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. | |
| 10 | - </br> | |
| 11 | - 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. | |
| 12 | - </span> | |
| 13 | - </br> | |
| 14 | - </br> | |
| 15 | - | |
| 16 | - | |
| 17 | - <p class="tType1_title"> | |
| 18 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Request] | |
| 19 | - </p> | |
| 20 | - <ul class="clause_list"> | |
| 21 | - <li class="list_open on"> | |
| 22 | - <div class="clause_list_head"> | |
| 23 | - <div class="list_head_in"> | |
| 24 | - <span>Request</span> | |
| 25 | - </div> | |
| 26 | - </div> | |
| 27 | - <div class="clause_list_body"> | |
| 28 | - <table class="refund_info"> | |
| 29 | - <colgroup> | |
| 30 | - <col style="width: 25%"> | |
| 31 | - <col style="width: auto;"> | |
| 32 | - </colgroup> | |
| 33 | - <tbody> | |
| 34 | - <tr> | |
| 35 | - <td>Http Method</td> | |
| 36 | - <td>POST</td> | |
| 37 | - </tr> | |
| 38 | - <tr> | |
| 39 | - <td>프로토콜</td> | |
| 40 | - <td>HTTP/1.1</td> | |
| 41 | - </tr> | |
| 42 | - <tr> | |
| 43 | - <td>HOST</td> | |
| 44 | - <td>api.munjaon.co.kr</td> | |
| 45 | - </tr> | |
| 46 | - <tr> | |
| 47 | - <td>Service Port</td> | |
| 48 | - <td>443</td> | |
| 49 | - </tr> | |
| 50 | - </tbody> | |
| 51 | - </table> | |
| 52 | - </div> | |
| 53 | - </li> | |
| 54 | - </ul> | |
| 55 | - <span class="reqTxt4"> | |
| 56 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. | |
| 57 | - </span> | |
| 58 | - | |
| 59 | - <table class="tType2"> | |
| 60 | - <caption></caption> | |
| 61 | - <colgroup> | |
| 62 | - <col style="width: 13%;"> | |
| 63 | - <col style="width: auto;"> | |
| 64 | - <col style="width: 15%;"> | |
| 65 | - <col style="width: 80px;"> | |
| 66 | - </colgroup> | |
| 67 | - <thead> | |
| 68 | - <tr> | |
| 69 | - <th>키</th> | |
| 70 | - <th>설명</th> | |
| 71 | - <th>타입</th> | |
| 72 | - <th>필수</th> | |
| 73 | - </tr> | |
| 74 | - </thead> | |
| 75 | - <tbody> | |
| 76 | - <tr> | |
| 77 | - <th>mberId</th> | |
| 78 | - <td>사용자 ID</td> | |
| 79 | - <td>String</td> | |
| 80 | - <td>O</td> | |
| 81 | - </tr> | |
| 82 | - <tr> | |
| 83 | - <th>accessKey</th> | |
| 84 | - <td>인증용 API Key</td> | |
| 85 | - <td>String</td> | |
| 86 | - <td>O</td> | |
| 87 | - </tr> | |
| 88 | - <tr> | |
| 89 | - <th>callFrom</th> | |
| 90 | - <td>발신자 번호 (아이디에 등록되어 있는 번호)</td> | |
| 91 | - <td>String</td> | |
| 92 | - <td>O</td> | |
| 93 | - </tr> | |
| 94 | - <tr> | |
| 95 | - <th>callToList</th> | |
| 96 | - <td>수신자 번호 (콤마(,) 기준으로 입력)</td> | |
| 97 | - <td>String</td> | |
| 98 | - <td>O</td> | |
| 99 | - </tr> | |
| 100 | - <tr> | |
| 101 | - <th>smsTxt</th> | |
| 102 | - <td>메세지 내용</td> | |
| 103 | - <td>String (1~2,000Byte)</td> | |
| 104 | - <td>O</td> | |
| 105 | - </tr> | |
| 106 | - <tr> | |
| 107 | - <th>nameStr</th> | |
| 108 | - <td>메세지 내용에 [*이름*]이 있으면 치환용 이름 입력( | 로 구분 )</td> | |
| 109 | - <td>String</td> | |
| 110 | - <td>X</td> | |
| 111 | - </tr> | |
| 112 | - <tr> | |
| 113 | - <th>test_yn</th> | |
| 114 | - <td>테스트 데이터 여부</td> | |
| 115 | - <td>String</td> | |
| 116 | - <td>X</td> | |
| 117 | - </tr> | |
| 118 | - </tbody> | |
| 119 | - </table> | |
| 120 | - <span class="reqTxt4">* 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지.</span> | |
| 121 | - | |
| 122 | - | |
| 123 | - <ul class="clause_list"> | |
| 124 | - <li class="list_open on"> | |
| 125 | - <div class="clause_list_head"> | |
| 126 | - <div class="list_head_in"> | |
| 127 | - <span>Example</span> | |
| 128 | - </div> | |
| 129 | - </div> | |
| 130 | - <div class="clause_list_body"> | |
| 131 | - <table class=""> | |
| 132 | - <colgroup> | |
| 133 | - <col style="width: auto;"> | |
| 134 | - </colgroup> | |
| 135 | - <tbody> | |
| 136 | - <tr> | |
| 137 | - <td class="padding_add"> | |
| 138 | - { | |
| 139 | - <p>"mberId":"홍길동"</p> | |
| 140 | - <p>,"accessKey":"XXXXXXXXXXXXXX414050694b953"</p> | |
| 141 | - <p>,"callFrom":"01012341234"</p> | |
| 142 | - <p>,"callToList":"01011111111,01022222222,01033333333"</p> | |
| 143 | - <p>,"smsTxt":"문자 테스트~![*이름*]"</p> | |
| 144 | - <p>,"nameStr":"홍길동1|홍길동2|홍길동3"</p> | |
| 145 | - <p>,"test_yn":""</p> | |
| 146 | - } | |
| 147 | - </td> | |
| 148 | - </tr> | |
| 149 | - </tbody> | |
| 150 | - </table> | |
| 151 | - </div> | |
| 152 | - </li> | |
| 153 | - </ul> | |
| 154 | - | |
| 155 | - | |
| 156 | - <p class="tType1_title"> | |
| 157 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Response] | |
| 158 | - </p> | |
| 159 | - <span class="reqTxt4"> | |
| 160 | - JSON 객체로 응답 합니다. | |
| 161 | - </span> | |
| 162 | - <table class="tType2"> | |
| 163 | - <caption></caption> | |
| 164 | - <colgroup> | |
| 165 | - <col style="width: 13%;"> | |
| 166 | - <col style="width: auto;"> | |
| 167 | - <col style="width: 20%;"> | |
| 168 | - </colgroup> | |
| 169 | - <thead> | |
| 170 | - <tr> | |
| 171 | - <th>키</th> | |
| 172 | - <th>설명</th> | |
| 173 | - <th>타입</th> | |
| 174 | - </tr> | |
| 175 | - </thead> | |
| 176 | - <tbody> | |
| 177 | - <tr> | |
| 178 | - <th>resultCode</th> | |
| 179 | - <td>성공 여부 ( "0" 아니면 실패 )</td> | |
| 180 | - <td>String</td> | |
| 181 | - </tr> | |
| 182 | - <tr> | |
| 183 | - <th>data</th> | |
| 184 | - <td>결과값 객체 ( 성공 : 데이터, 실패 : 메세지 )</td> | |
| 185 | - <td>Object</td> | |
| 186 | - </tr> | |
| 187 | - <tr> | |
| 188 | - <th>[data].msgGroupId</th> | |
| 189 | - <td>메세지 그룹 ID</td> | |
| 190 | - <td>String</td> | |
| 191 | - </tr> | |
| 192 | - <tr> | |
| 193 | - <th>[data].msgType</th> | |
| 194 | - <td>메세지 타입 ( 4: 단문, 5: 장문 )</td> | |
| 195 | - <td>String</td> | |
| 196 | - </tr> | |
| 197 | - <tr> | |
| 198 | - <th>[data].blockCnt</th> | |
| 199 | - <td>수신거부 건수</td> | |
| 200 | - <td>String</td> | |
| 201 | - </tr> | |
| 202 | - <tr> | |
| 203 | - <th>[data].failCnt</th> | |
| 204 | - <td>전송실패 건수</td> | |
| 205 | - <td>String</td> | |
| 206 | - </tr> | |
| 207 | - <tr> | |
| 208 | - <th>[data].successCnt</th> | |
| 209 | - <td>성공 건수</td> | |
| 210 | - <td>String</td> | |
| 211 | - </tr> | |
| 212 | - <tr> | |
| 213 | - <th>[data].test_yn</th> | |
| 214 | - <td>테스트 데이터 여부</td> | |
| 215 | - <td>String</td> | |
| 216 | - </tr> | |
| 217 | - </tbody> | |
| 218 | - </table> | |
| 219 | - | |
| 220 | - <span class="reqTxt4">* 성공 예시</span> | |
| 221 | - <ul class="clause_list"> | |
| 222 | - <li class="list_open on"> | |
| 223 | - <div class="clause_list_head"> | |
| 224 | - <div class="list_head_in"> | |
| 225 | - <span>Example</span> | |
| 226 | - </div> | |
| 227 | - </div> | |
| 228 | - <div class="clause_list_body"> | |
| 229 | - <table class=""> | |
| 230 | - <colgroup> | |
| 231 | - <col style="width: auto;"> | |
| 232 | - </colgroup> | |
| 233 | - <tbody> | |
| 234 | - <tr> | |
| 235 | - <td class="padding_add"> | |
| 236 | - { | |
| 237 | - <p>"resultCode":"0"</p> | |
| 238 | - <p>, "data":{</p> | |
| 239 | - <div> | |
| 240 | - <p>"msgGroupId":"MSGGID_0000000000000"</p> | |
| 241 | - <p>, "msgType":"SMS"</p> | |
| 242 | - <p>, "resultCode":"0"</p> | |
| 243 | - <p>, "blockCnt":"0"</p> | |
| 244 | - <p>, "failCnt":"0"</p> | |
| 245 | - <p>, "successCnt":"3"</p> | |
| 246 | - <p>, "test_yn":null</p> | |
| 247 | - </div> | |
| 248 | - <p>}</p> | |
| 249 | - } | |
| 250 | - </td> | |
| 251 | - </tr> | |
| 252 | - </tbody> | |
| 253 | - </table> | |
| 254 | - </div> | |
| 255 | - </li> | |
| 256 | - </ul> | |
| 257 | - <span class="reqTxt4">* 실패 예시</span> | |
| 258 | - <ul class="clause_list"> | |
| 259 | - <li class="list_open on"> | |
| 260 | - <div class="clause_list_head"> | |
| 261 | - <div class="list_head_in"> | |
| 262 | - <span>Example</span> | |
| 263 | - </div> | |
| 264 | - </div> | |
| 265 | - <div class="clause_list_body"> | |
| 266 | - <table class=""> | |
| 267 | - <colgroup> | |
| 268 | - <col style="width: auto;"> | |
| 269 | - </colgroup> | |
| 270 | - <tbody> | |
| 271 | - <tr> | |
| 272 | - <td class="padding_add"> | |
| 273 | - { | |
| 274 | - <p>"resultCode":"1040"</p> | |
| 275 | - <p>,"data":"치환 데이터 오류"</p> | |
| 276 | - } | |
| 277 | - </td> | |
| 278 | - </tr> | |
| 279 | - </tbody> | |
| 280 | - </table> | |
| 281 | - </div> | |
| 282 | - </li> | |
| 283 | - </ul> | |
| 284 | - |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp
... | ... | @@ -1,306 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - <p class="tType1_title">문자보내기(대량)</p> | |
| 6 | - <span class="reqTxt4"> | |
| 7 | - 다른 내용의 문자를 동시에 100명에게 전송하실 수 있습니다. | |
| 8 | - </br> | |
| 9 | - 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. | |
| 10 | - </br> | |
| 11 | - 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. | |
| 12 | - </span> | |
| 13 | - </br> | |
| 14 | - </br> | |
| 15 | - | |
| 16 | - | |
| 17 | - <p class="tType1_title"> | |
| 18 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Request] | |
| 19 | - </p> | |
| 20 | - <ul class="clause_list"> | |
| 21 | - <li class="list_open on"> | |
| 22 | - <div class="clause_list_head"> | |
| 23 | - <div class="list_head_in"> | |
| 24 | - <span>Request</span> | |
| 25 | - </div> | |
| 26 | - </div> | |
| 27 | - <div class="clause_list_body"> | |
| 28 | - <table class="refund_info"> | |
| 29 | - <colgroup> | |
| 30 | - <col style="width: 25%"> | |
| 31 | - <col style="width: auto;"> | |
| 32 | - </colgroup> | |
| 33 | - <tbody> | |
| 34 | - <tr> | |
| 35 | - <td>Http Method</td> | |
| 36 | - <td>POST</td> | |
| 37 | - </tr> | |
| 38 | - <tr> | |
| 39 | - <td>프로토콜</td> | |
| 40 | - <td>HTTP/1.1</td> | |
| 41 | - </tr> | |
| 42 | - <tr> | |
| 43 | - <td>HOST</td> | |
| 44 | - <td>api.munjaon.co.kr</td> | |
| 45 | - </tr> | |
| 46 | - <tr> | |
| 47 | - <td>Service Port</td> | |
| 48 | - <td>443</td> | |
| 49 | - </tr> | |
| 50 | - </tbody> | |
| 51 | - </table> | |
| 52 | - </div> | |
| 53 | - </li> | |
| 54 | - </ul> | |
| 55 | - <span class="reqTxt4"> | |
| 56 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. | |
| 57 | - </span> | |
| 58 | - | |
| 59 | - <table class="tType2"> | |
| 60 | - <caption></caption> | |
| 61 | - <colgroup> | |
| 62 | - <col style="width: 13%;"> | |
| 63 | - <col style="width: auto;"> | |
| 64 | - <col style="width: 15%;"> | |
| 65 | - <col style="width: 80px;"> | |
| 66 | - </colgroup> | |
| 67 | - <thead> | |
| 68 | - <tr> | |
| 69 | - <th>키</th> | |
| 70 | - <th>설명</th> | |
| 71 | - <th>타입</th> | |
| 72 | - <th>필수</th> | |
| 73 | - </tr> | |
| 74 | - </thead> | |
| 75 | - <tbody> | |
| 76 | - <tr> | |
| 77 | - <th>mberId</th> | |
| 78 | - <td>사용자 ID</td> | |
| 79 | - <td>String</td> | |
| 80 | - <td>O</td> | |
| 81 | - </tr> | |
| 82 | - <tr> | |
| 83 | - <th>accessKey</th> | |
| 84 | - <td>인증용 API Key</td> | |
| 85 | - <td>String</td> | |
| 86 | - <td>O</td> | |
| 87 | - </tr> | |
| 88 | - <tr> | |
| 89 | - <th>callFrom</th> | |
| 90 | - <td>발신자 번호 (아이디에 등록되어 있는 번호)</td> | |
| 91 | - <td>String</td> | |
| 92 | - <td>O</td> | |
| 93 | - </tr> | |
| 94 | - <tr> | |
| 95 | - <th>test_yn</th> | |
| 96 | - <td>테스트 데이터 여부</td> | |
| 97 | - <td>String</td> | |
| 98 | - <td>X</td> | |
| 99 | - </tr> | |
| 100 | - <tr> | |
| 101 | - <th>callTo_1</th> | |
| 102 | - <td>수신자 번호 1</td> | |
| 103 | - <td>String</td> | |
| 104 | - <td>O</td> | |
| 105 | - </tr> | |
| 106 | - <tr> | |
| 107 | - <th>smsTxt_1</th> | |
| 108 | - <td>메세지 내용 1</td> | |
| 109 | - <td>String (1~2,000Byte)</td> | |
| 110 | - <td>O</td> | |
| 111 | - </tr> | |
| 112 | - <tr> | |
| 113 | - <td colspan="4">ㆍㆍㆍㆍ </td> | |
| 114 | - </tr> | |
| 115 | - <tr> | |
| 116 | - <th>callTo_100</th> | |
| 117 | - <td>수신자 번호 100</td> | |
| 118 | - <td>String</td> | |
| 119 | - <td>O</td> | |
| 120 | - </tr> | |
| 121 | - <tr> | |
| 122 | - <th>smsTxt_100</th> | |
| 123 | - <td>메세지 내용 100</td> | |
| 124 | - <td>String (1~2,000Byte)</td> | |
| 125 | - <td>O</td> | |
| 126 | - </tr> | |
| 127 | - </tbody> | |
| 128 | - </table> | |
| 129 | - <span class="reqTxt4">* 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지.</span> | |
| 130 | - | |
| 131 | - | |
| 132 | - <ul class="clause_list"> | |
| 133 | - <li class="list_open on"> | |
| 134 | - <div class="clause_list_head"> | |
| 135 | - <div class="list_head_in"> | |
| 136 | - <span>Example</span> | |
| 137 | - </div> | |
| 138 | - </div> | |
| 139 | - <div class="clause_list_body"> | |
| 140 | - <table class=""> | |
| 141 | - <colgroup> | |
| 142 | - <col style="width: auto;"> | |
| 143 | - </colgroup> | |
| 144 | - <tbody> | |
| 145 | - <tr> | |
| 146 | - <td class="padding_add"> | |
| 147 | - { | |
| 148 | - <p>"mberId":"홍길동"</p> | |
| 149 | - <p>,"accessKey":"XXXXXXXXXXXXXX414050694b953"</p> | |
| 150 | - <p>,"callFrom":"01012341234"</p> | |
| 151 | - <p>,"test_yn":""</p> | |
| 152 | - <p>,"callTo_1":"01011111111"</p> | |
| 153 | - <p>,"smsTxt_1":"문자 테스트 1"</p> | |
| 154 | - <p>,"callTo_2":"01022222222"</p> | |
| 155 | - <p>,"smsTxt_2":"문자 테스트 2"</p> | |
| 156 | - } | |
| 157 | - </td> | |
| 158 | - </tr> | |
| 159 | - </tbody> | |
| 160 | - </table> | |
| 161 | - </div> | |
| 162 | - </li> | |
| 163 | - </ul> | |
| 164 | - | |
| 165 | - | |
| 166 | - <p class="tType1_title"> | |
| 167 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Response] | |
| 168 | - </p> | |
| 169 | - <span class="reqTxt4"> | |
| 170 | - JSON 객체로 응답 합니다. | |
| 171 | - </span> | |
| 172 | - <table class="tType2"> | |
| 173 | - <caption></caption> | |
| 174 | - <colgroup> | |
| 175 | - <col style="width: 13%;"> | |
| 176 | - <col style="width: auto;"> | |
| 177 | - <col style="width: 20%;"> | |
| 178 | - </colgroup> | |
| 179 | - <thead> | |
| 180 | - <tr> | |
| 181 | - <th>키</th> | |
| 182 | - <th>설명</th> | |
| 183 | - <th>타입</th> | |
| 184 | - </tr> | |
| 185 | - </thead> | |
| 186 | - <tbody> | |
| 187 | - <tr> | |
| 188 | - <th>resultCode</th> | |
| 189 | - <td>성공 여부 ( "0" 아니면 실패 )</td> | |
| 190 | - <td>String</td> | |
| 191 | - </tr> | |
| 192 | - <tr> | |
| 193 | - <th>data</th> | |
| 194 | - <td>결과값 객체 ( 성공 : 데이터, 실패 : 메세지 )</td> | |
| 195 | - <td>Object</td> | |
| 196 | - </tr> | |
| 197 | - <tr> | |
| 198 | - <th>[data].msgGroupIdList</th> | |
| 199 | - <td>메세지 그룹 ID 리스트</td> | |
| 200 | - <td>List String</td> | |
| 201 | - </tr> | |
| 202 | - <tr> | |
| 203 | - <th>[data].msgType</th> | |
| 204 | - <td>메세지 타입 ( 4: 단문, 5: 장문 )</td> | |
| 205 | - <td>String</td> | |
| 206 | - </tr> | |
| 207 | - <tr> | |
| 208 | - <th>[data].blockCnt</th> | |
| 209 | - <td>수신거부 건수</td> | |
| 210 | - <td>String</td> | |
| 211 | - </tr> | |
| 212 | - <tr> | |
| 213 | - <th>[data].failCnt</th> | |
| 214 | - <td>전송실패 건수</td> | |
| 215 | - <td>String</td> | |
| 216 | - </tr> | |
| 217 | - <tr> | |
| 218 | - <th>[data].successCnt</th> | |
| 219 | - <td>성공 건수</td> | |
| 220 | - <td>String</td> | |
| 221 | - </tr> | |
| 222 | - <tr> | |
| 223 | - <th>[data].test_yn</th> | |
| 224 | - <td>테스트 데이터 여부</td> | |
| 225 | - <td>String</td> | |
| 226 | - </tr> | |
| 227 | - </tbody> | |
| 228 | - </table> | |
| 229 | - | |
| 230 | - <span class="reqTxt4">* 성공 예시</span> | |
| 231 | - <ul class="clause_list"> | |
| 232 | - <li class="list_open on"> | |
| 233 | - <div class="clause_list_head"> | |
| 234 | - <div class="list_head_in"> | |
| 235 | - <span>Example</span> | |
| 236 | - </div> | |
| 237 | - </div> | |
| 238 | - <div class="clause_list_body"> | |
| 239 | - <table class=""> | |
| 240 | - <colgroup> | |
| 241 | - <col style="width: auto;"> | |
| 242 | - </colgroup> | |
| 243 | - <tbody> | |
| 244 | - <tr> | |
| 245 | - <td class="padding_add"> | |
| 246 | - { | |
| 247 | - <p> "resultCode":"0"</p> | |
| 248 | - <p> , "data":[</p> | |
| 249 | - <p>  "msgGroupIdList":[</p> | |
| 250 | - <p>   {</p> | |
| 251 | - <p>    "MSGGID_0000000013451"</p> | |
| 252 | - <p>   }</p> | |
| 253 | - <p>   ,{</p> | |
| 254 | - <p>    "MSGGID_0000000013452"</p> | |
| 255 | - <p>   }</p> | |
| 256 | - <p>  ]</p> | |
| 257 | - <p>  ,"msgTypeList":[</p> | |
| 258 | - <p>   {</p> | |
| 259 | - <p>    "SMS"</p> | |
| 260 | - <p>   }</p> | |
| 261 | - <p>   ,{</p> | |
| 262 | - <p>    "SMS"</p> | |
| 263 | - <p>   }</p> | |
| 264 | - <p>  ]</p> | |
| 265 | - <p>  ,"resultCode":"0"</p> | |
| 266 | - <p>  ,"successCnt":"2"</p> | |
| 267 | - <p>  ,"failCnt":"0"</p> | |
| 268 | - <p>  ,"blockCnt":"0"</p> | |
| 269 | - <p>  ,"test_yn":null</p> | |
| 270 | - <p> ]</p> | |
| 271 | - } | |
| 272 | - </td> | |
| 273 | - </tr> | |
| 274 | - </tbody> | |
| 275 | - </table> | |
| 276 | - </div> | |
| 277 | - </li> | |
| 278 | - </ul> | |
| 279 | - <span class="reqTxt4">* 실패 예시</span> | |
| 280 | - <ul class="clause_list"> | |
| 281 | - <li class="list_open on"> | |
| 282 | - <div class="clause_list_head"> | |
| 283 | - <div class="list_head_in"> | |
| 284 | - <span>Example</span> | |
| 285 | - </div> | |
| 286 | - </div> | |
| 287 | - <div class="clause_list_body"> | |
| 288 | - <table class=""> | |
| 289 | - <colgroup> | |
| 290 | - <col style="width: auto;"> | |
| 291 | - </colgroup> | |
| 292 | - <tbody> | |
| 293 | - <tr> | |
| 294 | - <td class="padding_add"> | |
| 295 | - { | |
| 296 | - <p>"resultCode":"1040"</p> | |
| 297 | - <p>,"data":"치환 데이터 오류"</p> | |
| 298 | - } | |
| 299 | - </td> | |
| 300 | - </tr> | |
| 301 | - </tbody> | |
| 302 | - </table> | |
| 303 | - </div> | |
| 304 | - </li> | |
| 305 | - </ul> | |
| 306 | - |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab3.jsp
... | ... | @@ -1,423 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - <p class="tType1_title">전송내역조회</p> | |
| 6 | - <span class="reqTxt4"> | |
| 7 | - 최근 요청 및 처리된 전송내역을 조회하실 수 있습니다. | |
| 8 | - </br> | |
| 9 | - 사이트 내 전송결과 조회 페이지와 동일한 내역이 조회되며, 날짜 기준으로 조회가 가능합니다. | |
| 10 | - </br> | |
| 11 | - 발신번호별 조회 기능은 제공이 되지 않습니다. | |
| 12 | - </br> | |
| 13 | - 조회 시작일을 지정하실 수 있으며, 시작일 이전 며칠까지 조회할지 설정이 가능합니다. | |
| 14 | - </br> | |
| 15 | - 조회 시 최근 발송내역 순서로 소팅됩니다. | |
| 16 | - </span> | |
| 17 | - </br> | |
| 18 | - </br> | |
| 19 | - | |
| 20 | - <p class="tType1_title"> | |
| 21 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Request] | |
| 22 | - </p> | |
| 23 | - <ul class="clause_list"> | |
| 24 | - <li class="list_open on"> | |
| 25 | - <div class="clause_list_head"> | |
| 26 | - <div class="list_head_in"> | |
| 27 | - <span>Request</span> | |
| 28 | - </div> | |
| 29 | - </div> | |
| 30 | - <div class="clause_list_body"> | |
| 31 | - <table class="refund_info"> | |
| 32 | - <colgroup> | |
| 33 | - <col style="width: 25%"> | |
| 34 | - <col style="width: auto;"> | |
| 35 | - </colgroup> | |
| 36 | - <tbody> | |
| 37 | - <tr> | |
| 38 | - <td>Http Method</td> | |
| 39 | - <td>POST</td> | |
| 40 | - </tr> | |
| 41 | - <tr> | |
| 42 | - <td>프로토콜</td> | |
| 43 | - <td>HTTP/1.1</td> | |
| 44 | - </tr> | |
| 45 | - <tr> | |
| 46 | - <td>HOST</td> | |
| 47 | - <td>api.munjaon.co.kr</td> | |
| 48 | - </tr> | |
| 49 | - <tr> | |
| 50 | - <td>Service Port</td> | |
| 51 | - <td>443</td> | |
| 52 | - </tr> | |
| 53 | - </tbody> | |
| 54 | - </table> | |
| 55 | - </div> | |
| 56 | - </li> | |
| 57 | - </ul> | |
| 58 | - <span class="reqTxt4"> | |
| 59 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. | |
| 60 | - </span> | |
| 61 | - | |
| 62 | - <!-- <p class="tType1_title"> | |
| 63 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> 문자 | |
| 64 | - </p> --> | |
| 65 | - <table class="tType2"> | |
| 66 | - <caption></caption> | |
| 67 | - <colgroup> | |
| 68 | - <col style="width: 13%;"> | |
| 69 | - <col style="width: auto;"> | |
| 70 | - <col style="width: 15%;"> | |
| 71 | - <col style="width: 80px;"> | |
| 72 | - </colgroup> | |
| 73 | - <thead> | |
| 74 | - <tr> | |
| 75 | - <th>키</th> | |
| 76 | - <th>설명</th> | |
| 77 | - <th>타입</th> | |
| 78 | - <th>필수</th> | |
| 79 | - </tr> | |
| 80 | - </thead> | |
| 81 | - <tbody> | |
| 82 | - <tr> | |
| 83 | - <th>mberId</th> | |
| 84 | - <td>사용자 ID</td> | |
| 85 | - <td>String</td> | |
| 86 | - <td>O</td> | |
| 87 | - </tr> | |
| 88 | - <tr> | |
| 89 | - <th>accessKey</th> | |
| 90 | - <td>인증용 API Key</td> | |
| 91 | - <td>String</td> | |
| 92 | - <td>O</td> | |
| 93 | - </tr> | |
| 94 | - <tr> | |
| 95 | - <th>page</th> | |
| 96 | - <td>페이지 번호</td> | |
| 97 | - <td>String</td> | |
| 98 | - <td>X</td> | |
| 99 | - </tr> | |
| 100 | - <tr> | |
| 101 | - <th>pageSize</th> | |
| 102 | - <td>페이지당 출력개수</td> | |
| 103 | - <td>String</td> | |
| 104 | - <td>X</td> | |
| 105 | - </tr> | |
| 106 | - <tr> | |
| 107 | - <th>startDate</th> | |
| 108 | - <td>시작일자</td> | |
| 109 | - <td>String</td> | |
| 110 | - <td>X</td> | |
| 111 | - </tr> | |
| 112 | - <tr> | |
| 113 | - <th>endDate</th> | |
| 114 | - <td>마감일자</td> | |
| 115 | - <td>String</td> | |
| 116 | - <td>X</td> | |
| 117 | - </tr> | |
| 118 | - <tr> | |
| 119 | - <th>test_yn</th> | |
| 120 | - <td>테스트 데이터 여부</td> | |
| 121 | - <td>String</td> | |
| 122 | - <td>X</td> | |
| 123 | - </tr> | |
| 124 | - </tbody> | |
| 125 | - </table> | |
| 126 | - | |
| 127 | - | |
| 128 | - <ul class="clause_list"> | |
| 129 | - <li class="list_open on"> | |
| 130 | - <div class="clause_list_head"> | |
| 131 | - <div class="list_head_in"> | |
| 132 | - <span>Example</span> | |
| 133 | - </div> | |
| 134 | - </div> | |
| 135 | - <div class="clause_list_body"> | |
| 136 | - <table class=""> | |
| 137 | - <colgroup> | |
| 138 | - <col style="width: auto;"> | |
| 139 | - </colgroup> | |
| 140 | - <tbody> | |
| 141 | - <tr> | |
| 142 | - <td class="padding_add"> | |
| 143 | - {<br /> | |
| 144 | - <p>"mberId":"홍길동"</p> | |
| 145 | - <p>,"accessKey":"XXXXXXXXXXXXXX414050694b953"</p> | |
| 146 | - <p>,"page":""</p> | |
| 147 | - <p>,"pageSize":""</p> | |
| 148 | - <p>,"startDate":""</p> | |
| 149 | - <p>,"endDate":""</p> | |
| 150 | - <p>,"test_yn":""</p> | |
| 151 | - } | |
| 152 | - </td> | |
| 153 | - </tr> | |
| 154 | - </tbody> | |
| 155 | - </table> | |
| 156 | - </div> | |
| 157 | - </li> | |
| 158 | - </ul> | |
| 159 | - | |
| 160 | - <p class="tType1_title"> | |
| 161 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Response] | |
| 162 | - </p> | |
| 163 | - <span class="reqTxt4"> | |
| 164 | - JSON 객체로 응답 합니다. | |
| 165 | - </span> | |
| 166 | - <table class="tType2"> | |
| 167 | - <caption></caption> | |
| 168 | - <colgroup> | |
| 169 | - <col style="width: 13%;"> | |
| 170 | - <col style="width: auto;"> | |
| 171 | - <col style="width: 20%;"> | |
| 172 | - </colgroup> | |
| 173 | - <thead> | |
| 174 | - <tr> | |
| 175 | - <th>키</th> | |
| 176 | - <th>설명</th> | |
| 177 | - <th>타입</th> | |
| 178 | - </tr> | |
| 179 | - </thead> | |
| 180 | - <tbody> | |
| 181 | - <tr> | |
| 182 | - <th>resultCode</th> | |
| 183 | - <td>성공 여부 ( "0" 아니면 실패 )</td> | |
| 184 | - <td>String</td> | |
| 185 | - </tr> | |
| 186 | - <tr> | |
| 187 | - <th>data</th> | |
| 188 | - <td>결과값 객체 ( 성공 : 데이터, 실패 : 메세지 )</td> | |
| 189 | - <td>Object</td> | |
| 190 | - </tr> | |
| 191 | - <tr> | |
| 192 | - <th>[data].message</th> | |
| 193 | - <td>문자</td> | |
| 194 | - <td>String</td> | |
| 195 | - </tr> | |
| 196 | - <tr> | |
| 197 | - <th>[data].next_yn</th> | |
| 198 | - <td>다음 페이지 여부</td> | |
| 199 | - <td>String</td> | |
| 200 | - </tr> | |
| 201 | - <tr> | |
| 202 | - <th>[data].objectList</th> | |
| 203 | - <td>결과값 목록</td> | |
| 204 | - <td>Object List</td> | |
| 205 | - </tr> | |
| 206 | - <tr> | |
| 207 | - <th>[data].msgGroupId</th> | |
| 208 | - <td>메세지 그룹 ID</td> | |
| 209 | - <td>String</td> | |
| 210 | - </tr> | |
| 211 | - <tr> | |
| 212 | - <th>[data].msgId</th> | |
| 213 | - <td>메세지 ID</td> | |
| 214 | - <td>String</td> | |
| 215 | - </tr> | |
| 216 | - <tr> | |
| 217 | - <th>[data].msgTypeName</th> | |
| 218 | - <td>문자 구분명(단문, 장문, 그림)</td> | |
| 219 | - <td>String</td> | |
| 220 | - </tr> | |
| 221 | - <tr> | |
| 222 | - <th>[data].msgType</th> | |
| 223 | - <td>메세지 타입 ( 4: 단문, 5: 장문 )</td> | |
| 224 | - <td>String</td> | |
| 225 | - </tr> | |
| 226 | - <tr> | |
| 227 | - <th>[data].callFrom</th> | |
| 228 | - <td>발신자 번호</td> | |
| 229 | - <td>String</td> | |
| 230 | - </tr> | |
| 231 | - <tr> | |
| 232 | - <th>[data].callTo</th> | |
| 233 | - <td>수신자 번호</td> | |
| 234 | - <td>String</td> | |
| 235 | - </tr> | |
| 236 | - <tr> | |
| 237 | - <th>[data].msgGroupCnt</th> | |
| 238 | - <td>문자 발송 건수</td> | |
| 239 | - <td>String</td> | |
| 240 | - </tr> | |
| 241 | - <tr> | |
| 242 | - <th>[data].sCnt</th> | |
| 243 | - <td>성공 건수</td> | |
| 244 | - <td>String</td> | |
| 245 | - </tr> | |
| 246 | - <tr> | |
| 247 | - <th>[data].fCnt</th> | |
| 248 | - <td>실패 건수</td> | |
| 249 | - <td>String</td> | |
| 250 | - </tr> | |
| 251 | - <tr> | |
| 252 | - <th>[data].wCnt</th> | |
| 253 | - <td>대기 건수</td> | |
| 254 | - <td>String</td> | |
| 255 | - </tr> | |
| 256 | - <tr> | |
| 257 | - <th>[data].msgResult</th> | |
| 258 | - <td>발송결과( 성공 : S, 실패 : F)</td> | |
| 259 | - <td>String</td> | |
| 260 | - </tr> | |
| 261 | - <tr> | |
| 262 | - <th>[data].smsTxt</th> | |
| 263 | - <td>문자내용</td> | |
| 264 | - <td>String</td> | |
| 265 | - </tr> | |
| 266 | - <tr> | |
| 267 | - <th>[data].subject</th> | |
| 268 | - <td>제목</td> | |
| 269 | - <td>String</td> | |
| 270 | - </tr> | |
| 271 | - <tr> | |
| 272 | - <th>[data].reqdate</th> | |
| 273 | - <td>발송 일자</td> | |
| 274 | - <td>String</td> | |
| 275 | - </tr> | |
| 276 | - <tr> | |
| 277 | - <th>[data].curState</th> | |
| 278 | - <td>전송 처리 결과값</td> | |
| 279 | - <td>String</td> | |
| 280 | - </tr> | |
| 281 | - <tr> | |
| 282 | - <th>[data].userId</th> | |
| 283 | - <td>사용자 ID</td> | |
| 284 | - <td>String</td> | |
| 285 | - </tr> | |
| 286 | - <tr> | |
| 287 | - <th>[data].regdate</th> | |
| 288 | - <td>등록 일자</td> | |
| 289 | - <td>String</td> | |
| 290 | - </tr> | |
| 291 | - <tr> | |
| 292 | - <th>[data].reserveCYn</th> | |
| 293 | - <td>예약 취소 여부</td> | |
| 294 | - <td>String</td> | |
| 295 | - </tr> | |
| 296 | - <tr> | |
| 297 | - <th>[data].ttlCnt</th> | |
| 298 | - <td>전체 요청 수</td> | |
| 299 | - <td>String</td> | |
| 300 | - </tr> | |
| 301 | - <tr> | |
| 302 | - <th>[data].remainMsgCnt</th> | |
| 303 | - <td>남은 문자 건수</td> | |
| 304 | - <td>String</td> | |
| 305 | - </tr> | |
| 306 | - <tr> | |
| 307 | - <th>[data].totMsgCnt</th> | |
| 308 | - <td>전체 문자 개수</td> | |
| 309 | - <td>String</td> | |
| 310 | - </tr> | |
| 311 | - </tbody> | |
| 312 | - </table> | |
| 313 | - | |
| 314 | - <span class="reqTxt4">* 성공 예시</span> | |
| 315 | - <ul class="clause_list"> | |
| 316 | - <li class="list_open on"> | |
| 317 | - <div class="clause_list_head"> | |
| 318 | - <div class="list_head_in"> | |
| 319 | - <span>Example</span> | |
| 320 | - </div> | |
| 321 | - </div> | |
| 322 | - <div class="clause_list_body"> | |
| 323 | - <table class=""> | |
| 324 | - <colgroup> | |
| 325 | - <col style="width: auto;"> | |
| 326 | - </colgroup> | |
| 327 | - <tbody> | |
| 328 | - <tr> | |
| 329 | - <td class="padding_add"> | |
| 330 | - { | |
| 331 | - <p> "resultCode":"0"</p> | |
| 332 | - <p> , "data":[</p> | |
| 333 | - <p>  {</p> | |
| 334 | - <p>   "resultCode":"0"</p> | |
| 335 | - <p>   , "message": null</p> | |
| 336 | - <p>   , "next_yn":"n"</p> | |
| 337 | - <p>   , "msgGroupId":"MSGGID_0000000000000"</p> | |
| 338 | - <p>   , "objectList":[</p> | |
| 339 | - <p>    {</p> | |
| 340 | - <p>     "msgTypeName":"단문(SMS)"</p> | |
| 341 | - <p>     ,"msgType":"4"</p> | |
| 342 | - <p>     ,"callFrom":"01011112222"</p> | |
| 343 | - <p>     ,"callTo":"01011112223"</p> | |
| 344 | - <p>     ,"msgGroupCnt":"2"</p> | |
| 345 | - <p>     ,"msgGroupId":"MSGGID_0000000013340"</p> | |
| 346 | - <p>     ,"msgId":"MSGID_0000000000001"</p> | |
| 347 | - <p>     ,"scnt":"2"</p> | |
| 348 | - <p>     ,"fcnt":"0"</p> | |
| 349 | - <p>     ,"wcnt":"0"</p> | |
| 350 | - <p>     ,"msgResult":"S"</p> | |
| 351 | - <p>     ,"smsTxt":"문자 내용 단문 예제"</p> | |
| 352 | - <p>     ,"subject":null</p> | |
| 353 | - <p>     ,"reqdate":"2023-06-13 17:48:07"</p> | |
| 354 | - <p>     ,"curState":"3"</p> | |
| 355 | - <p>     ,"userId":"testuser"</p> | |
| 356 | - <p>     ,"regdate":"2023-06-13 17:48:07"</p> | |
| 357 | - <p>     ,"reserveCYn":"N"</p> | |
| 358 | - <p>     ,"ttlCnt":"1"</p> | |
| 359 | - <p>     ,"remainMsgCnt":40"</p> | |
| 360 | - <p>     ,"totMsgCnt":"70"</p> | |
| 361 | - <p>    }</p> | |
| 362 | - <p>    , {</p> | |
| 363 | - <p>     "msgTypeName":"장문(LMS)"</p> | |
| 364 | - <p>     ,"msgType":"6"</p> | |
| 365 | - <p>     ,"callFrom":"01011112222"</p> | |
| 366 | - <p>     ,"callTo":"01011112223"</p> | |
| 367 | - <p>     ,"msgGroupCnt":"1"</p> | |
| 368 | - <p>     ,"msgGroupId":"MSGGID_0000000013341"</p> | |
| 369 | - <p>     ,"msgId":"MSGID_0000000000002"</p> | |
| 370 | - <p>     ,"scnt":"1"</p> | |
| 371 | - <p>     ,"fcnt":"0"</p> | |
| 372 | - <p>     ,"wcnt":"0"</p> | |
| 373 | - <p>     ,"msgResult":"S"</p> | |
| 374 | - <p>     ,"smsTxt":"문자 내용 장문 예제"</p> | |
| 375 | - <p>     ,"subject":null</p> | |
| 376 | - <p>     ,"reqdate":"2023-06-02 11:46:50"</p> | |
| 377 | - <p>     ,"curState":"3"</p> | |
| 378 | - <p>     ,"userId":"testuser"</p> | |
| 379 | - <p>     ,"regdate":"2023-06-02 11:46:49"</p> | |
| 380 | - <p>     ,"reserveCYn":"N"</p> | |
| 381 | - <p>     ,"ttlCnt":"1"</p> | |
| 382 | - <p>     ,"remainMsgCnt":"40"</p> | |
| 383 | - <p>     ,"totMsgCnt":"70"</p> | |
| 384 | - <p>    }</p> | |
| 385 | - <p>   ]</p> | |
| 386 | - | |
| 387 | - <p>  }</p> | |
| 388 | - <p> ]</p> | |
| 389 | - } | |
| 390 | - </td> | |
| 391 | - </tr> | |
| 392 | - </tbody> | |
| 393 | - </table> | |
| 394 | - </div> | |
| 395 | - </li> | |
| 396 | - </ul> | |
| 397 | - <span class="reqTxt4">* 실패 예시</span> | |
| 398 | - <ul class="clause_list"> | |
| 399 | - <li class="list_open on"> | |
| 400 | - <div class="clause_list_head"> | |
| 401 | - <div class="list_head_in"> | |
| 402 | - <span>Example</span> | |
| 403 | - </div> | |
| 404 | - </div> | |
| 405 | - <div class="clause_list_body"> | |
| 406 | - <table class=""> | |
| 407 | - <colgroup> | |
| 408 | - <col style="width: auto;"> | |
| 409 | - </colgroup> | |
| 410 | - <tbody> | |
| 411 | - <tr> | |
| 412 | - <td class="padding_add"> | |
| 413 | - { | |
| 414 | - <p>"resultCode":"3099"</p> | |
| 415 | - <p>,"data":"기타 시스템 오류"</p> | |
| 416 | - } | |
| 417 | - </td> | |
| 418 | - </tr> | |
| 419 | - </tbody> | |
| 420 | - </table> | |
| 421 | - </div> | |
| 422 | - </li> | |
| 423 | - </ul> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab4.jsp
... | ... | @@ -1,408 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - <p class="tType1_title">전송결과조회(상세)</p> | |
| 6 | - <span class="reqTxt4"> | |
| 7 | - msgGroupId를 사용하여 수신번호별 상태를 조회하실 수 있습니다. | |
| 8 | - </br> | |
| 9 | - 수신 전화번호별 전송상태를 조회하실 수 있으며 목록에 없거나 전송 중인 문자는 만 24시간 동안 전송 시도 중인 것입니다. | |
| 10 | - </br> | |
| 11 | - 최종 24시간이 경과 후 조회하셔야 완료된 내역을 확인하실 수 있습니다. | |
| 12 | - </span> | |
| 13 | - </br> | |
| 14 | - </br> | |
| 15 | - | |
| 16 | - <p class="tType1_title"> | |
| 17 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Request] | |
| 18 | - </p> | |
| 19 | - <ul class="clause_list"> | |
| 20 | - <li class="list_open on"> | |
| 21 | - <div class="clause_list_head"> | |
| 22 | - <div class="list_head_in"> | |
| 23 | - <span>Request</span> | |
| 24 | - </div> | |
| 25 | - </div> | |
| 26 | - <div class="clause_list_body"> | |
| 27 | - <table class="refund_info"> | |
| 28 | - <colgroup> | |
| 29 | - <col style="width: 25%"> | |
| 30 | - <col style="width: auto;"> | |
| 31 | - </colgroup> | |
| 32 | - <tbody> | |
| 33 | - <tr> | |
| 34 | - <td>Http Method</td> | |
| 35 | - <td>POST</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>프로토콜</td> | |
| 39 | - <td>HTTP/1.1</td> | |
| 40 | - </tr> | |
| 41 | - <tr> | |
| 42 | - <td>HOST</td> | |
| 43 | - <td>api.munjaon.co.kr</td> | |
| 44 | - </tr> | |
| 45 | - <tr> | |
| 46 | - <td>Service Port</td> | |
| 47 | - <td>443</td> | |
| 48 | - </tr> | |
| 49 | - </tbody> | |
| 50 | - </table> | |
| 51 | - </div> | |
| 52 | - </li> | |
| 53 | - </ul> | |
| 54 | - <span class="reqTxt4"> | |
| 55 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. | |
| 56 | - </span> | |
| 57 | - | |
| 58 | - <table class="tType2"> | |
| 59 | - <caption></caption> | |
| 60 | - <colgroup> | |
| 61 | - <col style="width: 13%;"> | |
| 62 | - <col style="width: auto;"> | |
| 63 | - <col style="width: 15%;"> | |
| 64 | - <col style="width: 80px;"> | |
| 65 | - </colgroup> | |
| 66 | - <thead> | |
| 67 | - <tr> | |
| 68 | - <th>키</th> | |
| 69 | - <th>설명</th> | |
| 70 | - <th>타입</th> | |
| 71 | - <th>필수</th> | |
| 72 | - </tr> | |
| 73 | - </thead> | |
| 74 | - <tbody> | |
| 75 | - <tr> | |
| 76 | - <th>mberId</th> | |
| 77 | - <td>사용자 ID</td> | |
| 78 | - <td>String</td> | |
| 79 | - <td>O</td> | |
| 80 | - </tr> | |
| 81 | - <tr> | |
| 82 | - <th>accessKey</th> | |
| 83 | - <td>인증용 API Key</td> | |
| 84 | - <td>String</td> | |
| 85 | - <td>O</td> | |
| 86 | - </tr> | |
| 87 | - <tr> | |
| 88 | - <th>msgGroupId</th> | |
| 89 | - <td>메시지그룹 ID</td> | |
| 90 | - <td>String</td> | |
| 91 | - <td>O</td> | |
| 92 | - </tr> | |
| 93 | - <tr> | |
| 94 | - <th>page</th> | |
| 95 | - <td>페이지 번호</td> | |
| 96 | - <td>String</td> | |
| 97 | - <td>X</td> | |
| 98 | - </tr> | |
| 99 | - <tr> | |
| 100 | - <th>pageSize</th> | |
| 101 | - <td>페이지당 출력개수</td> | |
| 102 | - <td>String</td> | |
| 103 | - <td>X</td> | |
| 104 | - </tr> | |
| 105 | - <tr> | |
| 106 | - <th>test_yn</th> | |
| 107 | - <td>테스트 데이터 여부</td> | |
| 108 | - <td>String</td> | |
| 109 | - <td>X</td> | |
| 110 | - </tr> | |
| 111 | - </tbody> | |
| 112 | - </table> | |
| 113 | - | |
| 114 | - | |
| 115 | - <ul class="clause_list"> | |
| 116 | - <li class="list_open on"> | |
| 117 | - <div class="clause_list_head"> | |
| 118 | - <div class="list_head_in"> | |
| 119 | - <span>Request</span> | |
| 120 | - </div> | |
| 121 | - </div> | |
| 122 | - <div class="clause_list_body"> | |
| 123 | - <table class=""> | |
| 124 | - <colgroup> | |
| 125 | - <col style="width: auto;"> | |
| 126 | - </colgroup> | |
| 127 | - <tbody> | |
| 128 | - <tr> | |
| 129 | - <td class="padding_add"> | |
| 130 | - {<br /> | |
| 131 | - <p>"mberId":"홍길동"</p> | |
| 132 | - <p>,"accessKey":"XXXXXXXXXXXXXX414050694b953"</p> | |
| 133 | - <p>,"msgGroupId":"MSGGID_0000000011452"</p> | |
| 134 | - <p>,"page":""</p> | |
| 135 | - <p>,"pageSize":""</p> | |
| 136 | - <p>,"test_yn":""</p> | |
| 137 | - } | |
| 138 | - </td> | |
| 139 | - </tr> | |
| 140 | - </tbody> | |
| 141 | - </table> | |
| 142 | - </div> | |
| 143 | - </li> | |
| 144 | - </ul> | |
| 145 | - <p class="tType1_title"> | |
| 146 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Response] | |
| 147 | - </p> | |
| 148 | - <span class="reqTxt4"> | |
| 149 | - JSON 객체로 응답 합니다. | |
| 150 | - </span> | |
| 151 | - <table class="tType2"> | |
| 152 | - <caption></caption> | |
| 153 | - <colgroup> | |
| 154 | - <col style="width: 13%;"> | |
| 155 | - <col style="width: auto;"> | |
| 156 | - <col style="width: 20%;"> | |
| 157 | - </colgroup> | |
| 158 | - <thead> | |
| 159 | - <tr> | |
| 160 | - <th>키</th> | |
| 161 | - <th>설명</th> | |
| 162 | - <th>타입</th> | |
| 163 | - </tr> | |
| 164 | - </thead> | |
| 165 | - <tbody> | |
| 166 | - <tr> | |
| 167 | - <th>resultCode</th> | |
| 168 | - <td>성공 여부 ( "0" 아니면 실패 )</td> | |
| 169 | - <td>String</td> | |
| 170 | - </tr> | |
| 171 | - <tr> | |
| 172 | - <th>data</th> | |
| 173 | - <td>결과값 객체 ( 성공 : 데이터, 실패 : 메세지 )</td> | |
| 174 | - <td>Object</td> | |
| 175 | - </tr> | |
| 176 | - <tr> | |
| 177 | - <th>[data].message</th> | |
| 178 | - <td>문자</td> | |
| 179 | - <td>String</td> | |
| 180 | - </tr> | |
| 181 | - <tr> | |
| 182 | - <th>[data].next_yn</th> | |
| 183 | - <td>다음 페이지 여부</td> | |
| 184 | - <td>String</td> | |
| 185 | - </tr> | |
| 186 | - <tr> | |
| 187 | - <th>[data].objectList</th> | |
| 188 | - <td>결과값 목록</td> | |
| 189 | - <td>Object List</td> | |
| 190 | - </tr> | |
| 191 | - <tr> | |
| 192 | - <th>[data].msgGroupId</th> | |
| 193 | - <td>메세지 그룹 ID</td> | |
| 194 | - <td>String</td> | |
| 195 | - </tr> | |
| 196 | - <tr> | |
| 197 | - <th>[data].msgId</th> | |
| 198 | - <td>메세지 ID</td> | |
| 199 | - <td>String</td> | |
| 200 | - </tr> | |
| 201 | - <tr> | |
| 202 | - <th>[data].msgTypeName</th> | |
| 203 | - <td>문자 구분명(단문, 장문, 그림)</td> | |
| 204 | - <td>String</td> | |
| 205 | - </tr> | |
| 206 | - <tr> | |
| 207 | - <th>[data].msgType</th> | |
| 208 | - <td>메세지 타입 ( 4: 단문, 5: 장문 )</td> | |
| 209 | - <td>String</td> | |
| 210 | - </tr> | |
| 211 | - <tr> | |
| 212 | - <th>[data].callFrom</th> | |
| 213 | - <td>발신자 번호</td> | |
| 214 | - <td>String</td> | |
| 215 | - </tr> | |
| 216 | - <tr> | |
| 217 | - <th>[data].callTo</th> | |
| 218 | - <td>수신자 번호</td> | |
| 219 | - <td>String</td> | |
| 220 | - </tr> | |
| 221 | - <tr> | |
| 222 | - <th>[data].msgGroupCnt</th> | |
| 223 | - <td>문자 발송 건수</td> | |
| 224 | - <td>String</td> | |
| 225 | - </tr> | |
| 226 | - <tr> | |
| 227 | - <th>[data].sCnt</th> | |
| 228 | - <td>성공 건수</td> | |
| 229 | - <td>String</td> | |
| 230 | - </tr> | |
| 231 | - <tr> | |
| 232 | - <th>[data].fCnt</th> | |
| 233 | - <td>실패 건수</td> | |
| 234 | - <td>String</td> | |
| 235 | - </tr> | |
| 236 | - <tr> | |
| 237 | - <th>[data].wCnt</th> | |
| 238 | - <td>대기 건수</td> | |
| 239 | - <td>String</td> | |
| 240 | - </tr> | |
| 241 | - <tr> | |
| 242 | - <th>[data].msgResult</th> | |
| 243 | - <td>발송결과( 성공 : S, 실패 : F)</td> | |
| 244 | - <td>String</td> | |
| 245 | - </tr> | |
| 246 | - <tr> | |
| 247 | - <th>[data].smsTxt</th> | |
| 248 | - <td>문자내용</td> | |
| 249 | - <td>String</td> | |
| 250 | - </tr> | |
| 251 | - <tr> | |
| 252 | - <th>[data].subject</th> | |
| 253 | - <td>제목</td> | |
| 254 | - <td>String</td> | |
| 255 | - </tr> | |
| 256 | - <tr> | |
| 257 | - <th>[data].reqdate</th> | |
| 258 | - <td>발송 일자</td> | |
| 259 | - <td>String</td> | |
| 260 | - </tr> | |
| 261 | - <tr> | |
| 262 | - <th>[data].curState</th> | |
| 263 | - <td>전송 처리 결과값</td> | |
| 264 | - <td>String</td> | |
| 265 | - </tr> | |
| 266 | - <tr> | |
| 267 | - <th>[data].userId</th> | |
| 268 | - <td>사용자 ID</td> | |
| 269 | - <td>String</td> | |
| 270 | - </tr> | |
| 271 | - <tr> | |
| 272 | - <th>[data].regdate</th> | |
| 273 | - <td>등록 일자</td> | |
| 274 | - <td>String</td> | |
| 275 | - </tr> | |
| 276 | - <tr> | |
| 277 | - <th>[data].reserveCYn</th> | |
| 278 | - <td>예약 취소 여부</td> | |
| 279 | - <td>String</td> | |
| 280 | - </tr> | |
| 281 | - <tr> | |
| 282 | - <th>[data].ttlCnt</th> | |
| 283 | - <td>전체 요청 수</td> | |
| 284 | - <td>String</td> | |
| 285 | - </tr> | |
| 286 | - <tr> | |
| 287 | - <th>[data].remainMsgCnt</th> | |
| 288 | - <td>남은 문자 건수</td> | |
| 289 | - <td>String</td> | |
| 290 | - </tr> | |
| 291 | - <tr> | |
| 292 | - <th>[data].totMsgCnt</th> | |
| 293 | - <td>전체 문자 개수</td> | |
| 294 | - <td>String</td> | |
| 295 | - </tr> | |
| 296 | - | |
| 297 | - </tbody> | |
| 298 | - </table> | |
| 299 | - | |
| 300 | - <span class="reqTxt4">* 성공 예시</span> | |
| 301 | - <ul class="clause_list"> | |
| 302 | - <li class="list_open on"> | |
| 303 | - <div class="clause_list_head"> | |
| 304 | - <div class="list_head_in"> | |
| 305 | - <span>Example</span> | |
| 306 | - </div> | |
| 307 | - </div> | |
| 308 | - <div class="clause_list_body"> | |
| 309 | - <table class=""> | |
| 310 | - <colgroup> | |
| 311 | - <col style="width: auto;"> | |
| 312 | - </colgroup> | |
| 313 | - <tbody> | |
| 314 | - <tr> | |
| 315 | - <td class="padding_add"> | |
| 316 | - { | |
| 317 | - <p> "resultCode":"0"</p> | |
| 318 | - <p> , "data":[</p> | |
| 319 | - <p>  {</p> | |
| 320 | - <p>   "resultCode":"0"</p> | |
| 321 | - <p>   , "message":null</p> | |
| 322 | - <p>   , "next_yn":null</p> | |
| 323 | - <p>   , "objectList":[</p> | |
| 324 | - <p>    {</p> | |
| 325 | - <p>     msgTypeName":"단문(SMS)"</p> | |
| 326 | - <p>     ,"msgType":"4"</p> | |
| 327 | - <p>     ,"callFrom":"01011112222"</p> | |
| 328 | - <p>     ,"callTo":"01011112223"</p> | |
| 329 | - <p>     ,"msgGroupCnt":"2"</p> | |
| 330 | - <p>     ,"msgGroupId":"MSGGID_0000000013340"</p> | |
| 331 | - <p>     ,"msgId":"MSGID_0000000000001"</p> | |
| 332 | - <p>     ,"scnt":null</p> | |
| 333 | - <p>     ,"fcnt":null</p> | |
| 334 | - <p>     ,"wcnt":null</p> | |
| 335 | - <p>     ,"msgResult":"S"</p> | |
| 336 | - <p>     ,"smsTxt":"문자 내용 단문 예제"</p> | |
| 337 | - <p>     ,"subject":null</p> | |
| 338 | - <p>     ,"reqdate":"2023-06-13 17:48:08"</p> | |
| 339 | - <p>     ,"curState":"3"</p> | |
| 340 | - <p>     ,"userId":"testuser"</p> | |
| 341 | - <p>     ,"regdate":"2023-06-13 17:48:07"</p> | |
| 342 | - <p>     ,"reserveCYn":"N"</p> | |
| 343 | - <p>     ,"ttlCnt":"10"</p> | |
| 344 | - <p>     ,"remainMsgCnt":"0"</p> | |
| 345 | - <p>     ,"totMsgCnt":"10"</p> | |
| 346 | - <p>    }</p> | |
| 347 | - <p>    , {</p> | |
| 348 | - <p>     msgTypeName":"단문(LMS)"</p> | |
| 349 | - <p>     ,"msgType":"4"</p> | |
| 350 | - <p>     ,"callFrom":"01011112222"</p> | |
| 351 | - <p>     ,"callTo":"01011112224"</p> | |
| 352 | - <p>     ,"msgGroupCnt":"2"</p> | |
| 353 | - <p>     ,"msgGroupId":"MSGGID_0000000013340"</p> | |
| 354 | - <p>     ,"msgId":"MSGID_0000000000002"</p> | |
| 355 | - <p>     ,"scnt":null</p> | |
| 356 | - <p>     ,"fcnt":null</p> | |
| 357 | - <p>     ,"wcnt":null</p> | |
| 358 | - <p>     ,"msgResult":"S"</p> | |
| 359 | - <p>     ,"smsTxt":"문자 내용 단문 예제"</p> | |
| 360 | - <p>     ,"subject":null</p> | |
| 361 | - <p>     ,"reqdate":"2023-06-13 17:48:09"</p> | |
| 362 | - <p>     ,"curState":"3"</p> | |
| 363 | - <p>     ,"userId":"testuser"</p> | |
| 364 | - <p>     ,"regdate":"2023-06-13 17:48:07"</p> | |
| 365 | - <p>     ,"reserveCYn":"N"</p> | |
| 366 | - <p>     ,"ttlCnt":"10"</p> | |
| 367 | - <p>     ,"remainMsgCnt":"0"</p> | |
| 368 | - <p>     ,"totMsgCnt":"10"</p> | |
| 369 | - <p>    }</p> | |
| 370 | - <p>   ]</p> | |
| 371 | - | |
| 372 | - <p>  }</p> | |
| 373 | - <p> ]</p> | |
| 374 | - } | |
| 375 | - </td> | |
| 376 | - </tr> | |
| 377 | - </tbody> | |
| 378 | - </table> | |
| 379 | - </div> | |
| 380 | - </li> | |
| 381 | - </ul> | |
| 382 | - <span class="reqTxt4">* 실패 예시</span> | |
| 383 | - <ul class="clause_list"> | |
| 384 | - <li class="list_open on"> | |
| 385 | - <div class="clause_list_head"> | |
| 386 | - <div class="list_head_in"> | |
| 387 | - <span>Example</span> | |
| 388 | - </div> | |
| 389 | - </div> | |
| 390 | - <div class="clause_list_body"> | |
| 391 | - <table class=""> | |
| 392 | - <colgroup> | |
| 393 | - <col style="width: auto;"> | |
| 394 | - </colgroup> | |
| 395 | - <tbody> | |
| 396 | - <tr> | |
| 397 | - <td class="padding_add"> | |
| 398 | - { | |
| 399 | - <p>"resultCode":"4099"</p> | |
| 400 | - <p>,"data":"기타 시스템 오류"</p> | |
| 401 | - } | |
| 402 | - </td> | |
| 403 | - </tr> | |
| 404 | - </tbody> | |
| 405 | - </table> | |
| 406 | - </div> | |
| 407 | - </li> | |
| 408 | - </ul> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab5.jsp
... | ... | @@ -1,254 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - <p class="tType1_title">발송가능건수</p> | |
| 6 | - <span class="reqTxt4"> | |
| 7 | - 보유한 잔여 포인트로 발송 가능한 잔여 건수를 문자 구분(유형) 별로 조회하실 수 있습니다. | |
| 8 | - </br> | |
| 9 | - SMS, LMS, MMS로 발송 시 가능한 잔여 건수이며 남은 충전금을 문자유형별로 보냈을 경우 가능한 잔여 건입니다. | |
| 10 | - </br> | |
| 11 | - 예를 들어 단문 발송 가능 건수 : 20 , 장문 발송 가능 건수 : 7 인 경우 단문 전송 시 20건이 가능하고, 장문으로 전송 시 7건이 가능합니다. | |
| 12 | - </span> | |
| 13 | - </br> | |
| 14 | - </br> | |
| 15 | - | |
| 16 | - <p class="tType1_title"> | |
| 17 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Request] | |
| 18 | - </p> | |
| 19 | - <ul class="clause_list"> | |
| 20 | - <li class="list_open on"> | |
| 21 | - <div class="clause_list_head"> | |
| 22 | - <div class="list_head_in"> | |
| 23 | - <span>Request</span> | |
| 24 | - </div> | |
| 25 | - </div> | |
| 26 | - <div class="clause_list_body"> | |
| 27 | - <table class="refund_info"> | |
| 28 | - <colgroup> | |
| 29 | - <col style="width: 25%"> | |
| 30 | - <col style="width: auto;"> | |
| 31 | - </colgroup> | |
| 32 | - <tbody> | |
| 33 | - <tr> | |
| 34 | - <td>Http Method</td> | |
| 35 | - <td>POST</td> | |
| 36 | - </tr> | |
| 37 | - <tr> | |
| 38 | - <td>프로토콜</td> | |
| 39 | - <td>HTTP/1.1</td> | |
| 40 | - </tr> | |
| 41 | - <tr> | |
| 42 | - <td>HOST</td> | |
| 43 | - <td>api.munjaon.co.kr</td> | |
| 44 | - </tr> | |
| 45 | - <tr> | |
| 46 | - <td>Service Port</td> | |
| 47 | - <td>443</td> | |
| 48 | - </tr> | |
| 49 | - </tbody> | |
| 50 | - </table> | |
| 51 | - </div> | |
| 52 | - </li> | |
| 53 | - </ul> | |
| 54 | - <span class="reqTxt4"> | |
| 55 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. | |
| 56 | - </span> | |
| 57 | - | |
| 58 | - <table class="tType2"> | |
| 59 | - <caption></caption> | |
| 60 | - <colgroup> | |
| 61 | - <col style="width: 13%;"> | |
| 62 | - <col style="width: auto;"> | |
| 63 | - <col style="width: 15%;"> | |
| 64 | - <col style="width: 80px;"> | |
| 65 | - </colgroup> | |
| 66 | - <thead> | |
| 67 | - <tr> | |
| 68 | - <th>키</th> | |
| 69 | - <th>설명</th> | |
| 70 | - <th>타입</th> | |
| 71 | - <th>필수</th> | |
| 72 | - </tr> | |
| 73 | - </thead> | |
| 74 | - <tbody> | |
| 75 | - <tr> | |
| 76 | - <th>mberId</th> | |
| 77 | - <td>사용자 ID</td> | |
| 78 | - <td>String</td> | |
| 79 | - <td>O</td> | |
| 80 | - </tr> | |
| 81 | - <tr> | |
| 82 | - <th>accessKey</th> | |
| 83 | - <td>인증용 API Key</td> | |
| 84 | - <td>String</td> | |
| 85 | - <td>O</td> | |
| 86 | - </tr> | |
| 87 | - </tbody> | |
| 88 | - </table> | |
| 89 | - | |
| 90 | - <ul class="clause_list"> | |
| 91 | - <li class="list_open on"> | |
| 92 | - <div class="clause_list_head"> | |
| 93 | - <div class="list_head_in"> | |
| 94 | - <span>Request</span> | |
| 95 | - </div> | |
| 96 | - </div> | |
| 97 | - <div class="clause_list_body"> | |
| 98 | - <table class=""> | |
| 99 | - <colgroup> | |
| 100 | - <col style="width: auto;"> | |
| 101 | - </colgroup> | |
| 102 | - <tbody> | |
| 103 | - <tr> | |
| 104 | - <td class="padding_add"> | |
| 105 | - {<br /> | |
| 106 | - <p>"mberId":"String"</p> | |
| 107 | - <p>,"accessKey":"String"</p> | |
| 108 | - } | |
| 109 | - </td> | |
| 110 | - </tr> | |
| 111 | - </tbody> | |
| 112 | - </table> | |
| 113 | - </div> | |
| 114 | - </li> | |
| 115 | - </ul> | |
| 116 | - | |
| 117 | - <p class="tType1_title"> | |
| 118 | - <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> [Response] | |
| 119 | - </p> | |
| 120 | - <span class="reqTxt4"> | |
| 121 | - JSON 객체로 응답 합니다. | |
| 122 | - </span> | |
| 123 | - <table class="tType2"> | |
| 124 | - <caption></caption> | |
| 125 | - <colgroup> | |
| 126 | - <col style="width: 13%;"> | |
| 127 | - <col style="width: auto;"> | |
| 128 | - <col style="width: 20%;"> | |
| 129 | - </colgroup> | |
| 130 | - <thead> | |
| 131 | - <tr> | |
| 132 | - <th>키</th> | |
| 133 | - <th>설명</th> | |
| 134 | - <th>타입</th> | |
| 135 | - </tr> | |
| 136 | - </thead> | |
| 137 | - <tbody> | |
| 138 | - <tr> | |
| 139 | - <th>resultCode</th> | |
| 140 | - <td>성공 여부 ( "0" 아니면 실패 )</td> | |
| 141 | - <td>String</td> | |
| 142 | - </tr> | |
| 143 | - <tr> | |
| 144 | - <th>data</th> | |
| 145 | - <td>결과값 객체 ( 성공 : 데이터, 실패 : 메세지 )</td> | |
| 146 | - <td>Object</td> | |
| 147 | - </tr> | |
| 148 | - <tr> | |
| 149 | - <th>[data].longPrice</th> | |
| 150 | - <td>장문 단가</td> | |
| 151 | - <td>String</td> | |
| 152 | - </tr> | |
| 153 | - <tr> | |
| 154 | - <th>[data].longSendPsbltEa</th> | |
| 155 | - <td>장문 발송 가능 건수</td> | |
| 156 | - <td>String</td> | |
| 157 | - </tr> | |
| 158 | - <tr> | |
| 159 | - <th>[data].mberMoney</th> | |
| 160 | - <td>현재 보유 금액</td> | |
| 161 | - <td>String</td> | |
| 162 | - </tr> | |
| 163 | - <tr> | |
| 164 | - <th>[data].message</th> | |
| 165 | - <td>문자</td> | |
| 166 | - <td>String</td> | |
| 167 | - </tr> | |
| 168 | - <tr> | |
| 169 | - <th>[data].picturePrice</th> | |
| 170 | - <td>그림문자 단가</td> | |
| 171 | - <td>String</td> | |
| 172 | - </tr> | |
| 173 | - <tr> | |
| 174 | - <th>[data].pictureSendPsbltEa</th> | |
| 175 | - <td>그림문자 발송 가능 건수</td> | |
| 176 | - <td>String</td> | |
| 177 | - </tr> | |
| 178 | - <tr> | |
| 179 | - <th>[data].shortPrice</th> | |
| 180 | - <td>단문 단가</td> | |
| 181 | - <td>String</td> | |
| 182 | - </tr> | |
| 183 | - <tr> | |
| 184 | - <th>[data].shortSendPsbltEa</th> | |
| 185 | - <td>단문 발송 가능 건수</td> | |
| 186 | - <td>String</td> | |
| 187 | - </tr> | |
| 188 | - </tbody> | |
| 189 | - </table> | |
| 190 | - | |
| 191 | - <span class="reqTxt4">* 성공 예시</span> | |
| 192 | - <ul class="clause_list"> | |
| 193 | - <li class="list_open on"> | |
| 194 | - <div class="clause_list_head"> | |
| 195 | - <div class="list_head_in"> | |
| 196 | - <span>Example</span> | |
| 197 | - </div> | |
| 198 | - </div> | |
| 199 | - <div class="clause_list_body"> | |
| 200 | - <table class=""> | |
| 201 | - <colgroup> | |
| 202 | - <col style="width: auto;"> | |
| 203 | - </colgroup> | |
| 204 | - <tbody> | |
| 205 | - <tr> | |
| 206 | - <td class="padding_add"> | |
| 207 | - { | |
| 208 | - <p> "resultCode":"0"</p> | |
| 209 | - <p> , "data":{</p> | |
| 210 | - <p>  "longPrice":"50"</p> | |
| 211 | - <p>  , "longSendPsbltEa": "19651"</p> | |
| 212 | - <p>  , "mberMoney": "982586.7"</p> | |
| 213 | - <p>  , "message": null</p> | |
| 214 | - <p>  , "picturePrice": "90"</p> | |
| 215 | - <p>  , "pictureSendPsbltEa": "10917"</p> | |
| 216 | - <p>  , "shortPrice": "18"</p> | |
| 217 | - <p>  , "shortSendPsbltEa": "54588"</p> | |
| 218 | - <p>  </p> | |
| 219 | - <p> }</p> | |
| 220 | - } | |
| 221 | - </td> | |
| 222 | - </tr> | |
| 223 | - </tbody> | |
| 224 | - </table> | |
| 225 | - </div> | |
| 226 | - </li> | |
| 227 | - </ul> | |
| 228 | - <span class="reqTxt4">* 실패 예시</span> | |
| 229 | - <ul class="clause_list"> | |
| 230 | - <li class="list_open on"> | |
| 231 | - <div class="clause_list_head"> | |
| 232 | - <div class="list_head_in"> | |
| 233 | - <span>Example</span> | |
| 234 | - </div> | |
| 235 | - </div> | |
| 236 | - <div class="clause_list_body"> | |
| 237 | - <table class=""> | |
| 238 | - <colgroup> | |
| 239 | - <col style="width: auto;"> | |
| 240 | - </colgroup> | |
| 241 | - <tbody> | |
| 242 | - <tr> | |
| 243 | - <td class="padding_add"> | |
| 244 | - { | |
| 245 | - <p>"resultCode":"5099"</p> | |
| 246 | - <p>,"data":"기타 시스템 오류"</p> | |
| 247 | - } | |
| 248 | - </td> | |
| 249 | - </tr> | |
| 250 | - </tbody> | |
| 251 | - </table> | |
| 252 | - </div> | |
| 253 | - </li> | |
| 254 | - </ul> |
--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage4_r1.jsp
... | ... | @@ -1,141 +0,0 @@ |
| 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 | - $('#download_btn').click(function(){ | |
| 9 | - location.href="<c:out value='/sample_mjon/jsp_샘플_예제.zip' />"; | |
| 10 | - }); | |
| 11 | - | |
| 12 | - | |
| 13 | -}); | |
| 14 | - | |
| 15 | -</script> | |
| 16 | -<!-- content 영역 --> | |
| 17 | -<div class="inner"> | |
| 18 | - <!-- send top --> | |
| 19 | - <div class="send_top"> | |
| 20 | - | |
| 21 | - <ul class="tabType4"> | |
| 22 | - <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage1_r1.do'">문자API 소개</button></li> | |
| 23 | - <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage2_r1.do'">신청/관리</button></li> | |
| 24 | - <li class="tab"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage3_r1.do'">API SPEC</button></li> | |
| 25 | - <li class="tab active"><button type="button" onclick="location.href='/web/user/sendRESTAPI_infoPage4_r1.do'">예제 다운로드</button></li> | |
| 26 | - </ul><!--// tab button --> | |
| 27 | - | |
| 28 | - <!-- tab button --> | |
| 29 | - <div class="serv_content charg_cont current" id="tab5_1"> | |
| 30 | - <div class="heading"> | |
| 31 | - <h2>예제 다운로드</h2> | |
| 32 | - </div> | |
| 33 | - | |
| 34 | - <!-- 문자보내기 --> | |
| 35 | - <div class="fee_cont current" id="tab1_1"> | |
| 36 | - <p class="tType1_title">RESTful API 연동 예제</p> | |
| 37 | - <span class="reqTxt4"> | |
| 38 | - API 연동시 API SPEC에 안내된 내용을 참고하셔서 진행에 주시기 바랍니다. | |
| 39 | - </br> | |
| 40 | - </br> | |
| 41 | - 아래의 예제를 참고하시면 보다 쉽게 문자온 RESTful API의 구현이 가능합니다. | |
| 42 | - </br> | |
| 43 | - | |
| 44 | - <p class="tType1_title">Example</p> | |
| 45 | - <!-- JSP --> | |
| 46 | - <ul class="clause_list"> | |
| 47 | - <li class="list_open on"> | |
| 48 | - <div class="clause_list_head"> | |
| 49 | - <div class="list_head_in"> | |
| 50 | - <span>JSP Example</span> | |
| 51 | - </div> | |
| 52 | - </div> | |
| 53 | - <div class="clause_list_body"> | |
| 54 | - <table class="refund_info"> | |
| 55 | - <colgroup> | |
| 56 | - <col style="width: 25%"> | |
| 57 | - <col style="width: auto;"> | |
| 58 | - </colgroup> | |
| 59 | - <tbody> | |
| 60 | - <tr> | |
| 61 | - <td>jsp_example_send_msg_r1.jsp</td> | |
| 62 | - <td>문자보내기(여러명에게 동일한문자)</td> | |
| 63 | - </tr> | |
| 64 | - <tr> | |
| 65 | - <td>jsp_example_send_msgs_r1.jsp</td> | |
| 66 | - <td>문자보내기(여러명에게 다른문자)</td> | |
| 67 | - </tr> | |
| 68 | - <tr> | |
| 69 | - <td>jsp_example_hstry_r1.jsp</td> | |
| 70 | - <td>전송내역조회</td> | |
| 71 | - </tr> | |
| 72 | - <tr> | |
| 73 | - <td>jsp_example_hstry_detail_r1.jsp</td> | |
| 74 | - <td>상세전송내역조회</td> | |
| 75 | - </tr> | |
| 76 | - <tr> | |
| 77 | - <td>jsp_example_select_price_r1.jsp</td> | |
| 78 | - <td>발송가능건수</td> | |
| 79 | - </tr> | |
| 80 | - </tbody> | |
| 81 | - </table> | |
| 82 | - </div> | |
| 83 | - </li> | |
| 84 | - </ul> | |
| 85 | - | |
| 86 | - <span class="reqTxt4"> | |
| 87 | - <div class="mem_btnWrap2"> | |
| 88 | - <button type="button" class="mem_btn3" id="download_btn" style="width: 100%;" id="sendMSG" onclick="return false;">JSP용 예제 다운받기</button> | |
| 89 | - </div> | |
| 90 | - </span> | |
| 91 | - | |
| 92 | - </span> | |
| 93 | - | |
| 94 | - <!-- | |
| 95 | - </br> | |
| 96 | - </br> | |
| 97 | - | |
| 98 | - <ul class="clause_list"> | |
| 99 | - <li class="list_open on"> | |
| 100 | - <div class="clause_list_head"> | |
| 101 | - <div class="list_head_in"> | |
| 102 | - <span>Request</span> | |
| 103 | - </div> | |
| 104 | - </div> | |
| 105 | - <div class="clause_list_body"> | |
| 106 | - <table class="refund_info"> | |
| 107 | - <colgroup> | |
| 108 | - <col style="width: 25%"> | |
| 109 | - <col style="width: auto;"> | |
| 110 | - </colgroup> | |
| 111 | - <tbody> | |
| 112 | - <tr> | |
| 113 | - <td>Http Method</td> | |
| 114 | - <td>POST</td> | |
| 115 | - </tr> | |
| 116 | - <tr> | |
| 117 | - <td>프로토콜</td> | |
| 118 | - <td>HTTP/1.1</td> | |
| 119 | - </tr> | |
| 120 | - <tr> | |
| 121 | - <td>HOST</td> | |
| 122 | - <td>api.munjaon.co.kr</td> | |
| 123 | - </tr> | |
| 124 | - <tr> | |
| 125 | - <td>Service Port</td> | |
| 126 | - <td>443</td> | |
| 127 | - </tr> | |
| 128 | - </tbody> | |
| 129 | - </table> | |
| 130 | - </div> | |
| 131 | - </li> | |
| 132 | - </ul> | |
| 133 | - <span class="reqTxt4"> | |
| 134 | - HTTPS 프로토콜을 사용하여 POST로 요청합니다. 예약설정을 통해 예약문자로 등록이 가능하며, 파일첨부를 통해 MMS 전송이 가능합니다. | |
| 135 | - </span> | |
| 136 | - --> | |
| 137 | - </div> | |
| 138 | - | |
| 139 | - </div> | |
| 140 | - </div> | |
| 141 | -</div> |
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?