{"id":1361,"date":"2018-07-05T10:12:30","date_gmt":"2018-07-05T01:12:30","guid":{"rendered":"http:\/\/13.231.125.151\/?p=1361"},"modified":"2018-07-05T10:12:30","modified_gmt":"2018-07-05T01:12:30","slug":"lms-13-03-26","status":"publish","type":"post","link":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/2018\/07\/05\/lms-13-03-26\/","title":{"rendered":"13-03-26.\u7d99\u7d9a\u6c7a\u6e08IF\u60c5\u5831\u7de8\u96c6API"},"content":{"rendered":"<table border=\"1px\">\n<tbody>\n<tr>\n<td style=\"background-color: #000f91;\"><span style=\"color: #ffffff;\"><strong>API\u540d<\/strong><\/span><\/td>\n<td><strong>\u7d99\u7d9a\u6c7a\u6e08IF\u60c5\u5831\u7de8\u96c6API<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #000f91;\"><span style=\"color: #ffffff;\"><strong>ID<\/strong><\/span><\/td>\n<td><strong>el_monthlypayIFInfo_upd_api<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>2.\u8a73\u7d30\u89e3\u8aac<\/h2>\n<p>\u7279\u5b9a\u306e\u53d7\u8b1b\u8005\u306b\u5bfe\u3057\u3066\u6708\u5b9a\u984d\u6c7a\u6e08\uff08\u7d99\u7d9a\u6c7a\u6e08IF\uff09\u3078\u306e\u63a5\u7d9a\u3092\u884c\u3044\u307e\u3059\u3002\u5f53\u8a72API\u5b9f\u884c\u524d\u306b\u3001\u4e8b\u524d\u306b\u30af\u30ec\u30b8\u30c3\u30c8\u6c7a\u6e08\u4ee3\u884c\u4f1a\u793e\u306b\u5bfe\u3057\u3001\u300c\u53d7\u8b1b\u8005ID\u300d\u3092\u4f1a\u54e1\u756a\u53f7\u306b\u3057\u3066\u30af\u30ec\u30b8\u30c3\u30c8\u6c7a\u6e08\u767b\u9332\u3092\u884c\u3063\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u8a72API\u306f\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u6c7a\u6e08\u4ee3\u884c\u4f1a\u793e\u304b\u3089\u306e\u6c7a\u6e08\u5b8c\u4e86\u5f8c\u306b\u9077\u79fb\u3059\u308b\u753b\u9762\u306b\u304a\u3044\u3066<\/p>\n<p>$cstream-&gt;call_el_monthlypayIFInfo_upd_api($input_array);<\/p>\n<h2>3.I\/O\u60c5\u5831<\/h2>\n<h3>INPUT<\/h3>\n<table width=\"709\">\n<tbody>\n<tr>\n<td colspan=\"2\" width=\"75\"><span style=\"font-size: 90%;\">No<\/span><\/td>\n<td width=\"111\"><span style=\"font-size: 90%;\">\u9805\u76ee\u540d<\/span><\/td>\n<td width=\"91\"><span style=\"font-size: 90%;\">\u9805\u76eeID<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u9805\u76ee\u8aac\u660e<\/span><\/td>\n<td width=\"72\"><span style=\"font-size: 90%;\">\u5fc5\u9808<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">1<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u4f1a\u793eID<\/span><\/td>\n<td><span style=\"font-size: 90%;\">kaisha_id<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u4f1a\u793e\u3092\u8868\u3059ID<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">2<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u30a2\u30af\u30bb\u30b9\u30ad\u30fc<\/span><\/td>\n<td><span style=\"font-size: 90%;\">access_key<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">API\u3092\u8a8d\u8a3c\u3059\u308b\u305f\u3081\u306e\u30a2\u30af\u30bb\u30b9\u30ad\u30fc<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">3<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u8005ID<\/span><\/td>\n<td><span style=\"font-size: 90%;\">userid<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">4<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u7d99\u7d9a\u6c7a\u6e08IF\u756a\u53f7<\/span><\/td>\n<td><span style=\"font-size: 90%;\">monthlypay_if_no<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 11.7px;\">\u66f4\u65b0\u3059\u308b\u7d99\u7d9a\u6c7a\u6e08IF\u306e\u756a\u53f7\uff08IF\u3007\u3007\u3007\u3007\uff09<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">5<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u66f4\u65b0\u7a2e\u985e<\/span><\/td>\n<td><span style=\"font-size: 90%;\">upd_type<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 11.7px;\">0:\u767b\u9332\u767b\u9332\u30009:\u9000\u4f1a<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td colspan=\"5\" width=\"360\"><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>OUTPUT<\/h3>\n<table width=\"637\">\n<tbody>\n<tr>\n<td colspan=\"2\" width=\"75\"><span style=\"font-size: 90%;\">No<\/span><\/td>\n<td width=\"111\"><span style=\"font-size: 90%;\">\u9805\u76ee\u540d<\/span><\/td>\n<td width=\"91\"><span style=\"font-size: 90%;\">\u9805\u76eeID<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u9805\u76ee\u8aac\u660e<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">1<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u5b9f\u884c\u30d5\u30e9\u30b0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">exec_flg<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">1:\u6b63\u5e38\u30009:\u30a8\u30e9\u30fc<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">2<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30bf\u30a4\u30d7<\/span><\/td>\n<td><span style=\"font-size: 90%;\">error_type<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u5b9f\u884c\u30d5\u30e9\u30b0\uff1d\u30a8\u30e9\u30fc\u306e\u5834\u5408\u633f\u5165\u3002\u3069\u306e\u3088\u3046\u306a\u7a2e\u985e\u306e\u30a8\u30e9\u30fc\u306a\u306e\u304b\u3092\u5224\u65ad\u3059\u308b\u30d5\u30e9\u30b0\u3002<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">3<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<\/span><\/td>\n<td><span style=\"font-size: 90%;\">error_msg<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u3054\u3068\u306b\u767a\u751f\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">4<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u60c5\u5831<\/span><\/td>\n<td><span style=\"font-size: 90%;\">error_info<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\uff08\u767b\u9332\u306b\u5931\u6557\u3057\u305f\u30b1\u30fc\u30b9\uff09<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">4-1<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u8005ID<\/span><\/td>\n<td><span style=\"font-size: 90%;\">userid<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">4-2<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u7d99\u7d9a\u6c7a\u6e08IF\u756a\u53f7<\/span><\/td>\n<td><span style=\"font-size: 90%;\">monthlypay_if_no<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">4-3<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u66f4\u65b0\u7a2e\u985e<\/span><\/td>\n<td><span style=\"font-size: 90%;\">upd_type<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30a8\u30e9\u30fc<\/h3>\n<table width=\"718\">\n<tbody>\n<tr>\n<td colspan=\"2\" width=\"75\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30bf\u30a4\u30d7<\/span><\/td>\n<td colspan=\"3\" width=\"283\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u6982\u8981<\/span><\/td>\n<td colspan=\"3\" width=\"216\"><span style=\"font-size: 90%;\">\u767a\u751f\u3055\u305b\u308b\u30e1\u30c3\u30bb\u30fc\u30b8<\/span><\/td>\n<td colspan=\"2\" width=\"144\"><span style=\"font-size: 90%;\">\u767a\u751f\u3055\u305b\u308bException<\/span><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">0<\/span><\/td>\n<td colspan=\"3\"><span style=\"font-size: 90%;\">\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u4e0d\u9069\u5408\u30a8\u30e9\u30fc<\/span><\/td>\n<td colspan=\"3\"><span style=\"font-size: 90%;\">\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u304c\u9069\u5408\u3057\u307e\u305b\u3093\u3002<\/span><\/td>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">AccessKeyException<\/span><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">1<\/span><\/td>\n<td colspan=\"3\"><span style=\"font-size: 90%;\">\u30db\u30b9\u30c8\u8a31\u53ef\u30a8\u30e9\u30fc<\/span><\/td>\n<td colspan=\"3\" width=\"216\"><span style=\"font-size: 90%;\">\u5bfe\u8c61\u306e\u30db\u30b9\u30c8\u304b\u3089\u306eAPI\u5b9f\u884c\u3092\u8a31\u53ef\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/span><\/td>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">HostRestrictException<\/span><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><span style=\"font-size: 11.7px;\">2<\/span><\/td>\n<td colspan=\"3\"><span style=\"font-size: 90%;\">\u5f15\u6570\u30a8\u30e9\u30fc<\/span><\/td>\n<td colspan=\"3\" width=\"216\"><span style=\"font-size: 90%;\">\u547c\u51fa\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u305f\u3081\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002<\/span><\/td>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">CallParameterException<\/span><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><span style=\"font-size: 11.7px;\">3<\/span><\/td>\n<td colspan=\"3\"><span style=\"font-size: 90%;\">\u767b\u9332\u30a8\u30e9\u30fc<\/span><\/td>\n<td colspan=\"3\" width=\"216\"><span style=\"font-size: 90%;\">\u767b\u9332\u304c\u5931\u6557\u3057\u307e\u3057\u305f<\/span><\/td>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">AddDataException<\/span><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><span style=\"font-size: 11.7px;\">9<\/span><\/td>\n<td colspan=\"3\"><span style=\"font-size: 90%;\">\u30b7\u30b9\u30c6\u30e0\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30a8\u30e9\u30fc<\/span><\/td>\n<td colspan=\"3\" width=\"216\"><span style=\"font-size: 90%;\">\u73fe\u5728\u30b7\u30b9\u30c6\u30e0\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4e2d\u3067\u3059\u3002YYYY\/MM\/DD HH &#8211; HH \u306e\u9593\u30b7\u30b9\u30c6\u30e0\u3092\u3054\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u3054\u4e0d\u4fbf\u304a\u304b\u3051\u3057\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u3002<\/span><\/td>\n<td colspan=\"2\"><span style=\"font-size: 90%;\">SystemMaintenanceException<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>4.\u5b9f\u88c5\u4f8b<\/h2>\n<pre class=\"toolbar:1 lang:default decode:true \">$apiParams = array();\r\n$apiParams['monthlypay_if_no'] = 'IF0001';\r\n$apiParams['userid'] = 'U007859';\r\n$apiParams['upd_type'] = '0';\r\n\r\ntry{\r\n\t$output = $cstream-&gt;call_el_monthlypayIFInfo_upd_api($apiParams);\r\n\r\n}catch (Exception $e) {\r\n\t$arrError[0] = $e-&gt;getMessage();\r\n\tif($output['exec_flg'] == 1){\r\n\t\t\/\/\u6210\u529f\uff01\r\n\t}else{\r\n\t\techo $output['error_msg'];\r\n\t}\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>API\u540d \u7d99\u7d9a\u6c7a\u6e08IF\u60c5\u5831\u7de8\u96c6API ID el_monthlypayIFInfo_upd_api 2.\u8a73\u7d30\u89e3\u8aac \u7279\u5b9a\u306e\u53d7\u8b1b\u8005\u306b\u5bfe\u3057\u3066\u6708\u5b9a\u984d\u6c7a\u6e08\uff08\u7d99\u7d9a\u6c7a\u6e08IF\uff09\u3078\u306e\u63a5\u7d9a\u3092\u884c\u3044\u307e\u3059\u3002\u5f53\u8a72API\u5b9f\u884c\u524d\u306b\u3001 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-1361","post","type-post","status-publish","format-standard","hentry","category-lms_othersystem"],"_links":{"self":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/comments?post=1361"}],"version-history":[{"count":2,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1361\/revisions"}],"predecessor-version":[{"id":1363,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1361\/revisions\/1363"}],"wp:attachment":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/media?parent=1361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/categories?post=1361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/tags?post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}