{"id":1253,"date":"2018-04-23T12:25:37","date_gmt":"2018-04-23T03:25:37","guid":{"rendered":"http:\/\/13.231.125.151\/?p=1253"},"modified":"2018-07-05T18:21:06","modified_gmt":"2018-07-05T09:21:06","slug":"lms-13-03-23","status":"publish","type":"post","link":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/2018\/04\/23\/lms-13-03-23\/","title":{"rendered":"13-03-23.\u9818\u53ce\u66f8\u60c5\u5831\u53d6\u5f97API"},"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>\u9818\u53ce\u66f8\u60c5\u5831\u53d6\u5f97API<\/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_ReceiptInfo_get_api<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>2.\u8a73\u7d30\u89e3\u8aac<\/h2>\n<p>\u9818\u53ce\u66f8\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308bAPI\u3067\u3059\u3002<\/p>\n<p>$cstream-&gt;call_el_ReceiptInfo_get_api($input_array);<\/p>\n<h2>3.I\/O\u60c5\u5831<\/h2>\n<h3>INPUT<\/h3>\n<table width=\"720\">\n<tbody>\n<tr>\n<td colspan=\"2\" width=\"144\"><span style=\"font-size: 90%;\">No<\/span><\/td>\n<td width=\"72\"><span style=\"font-size: 90%;\">\u9805\u76ee\u540d<\/span><\/td>\n<td width=\"72\"><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%;\">\u30aa\u30fc\u30c0\u30fcNo<\/span><\/td>\n<td><span style=\"font-size: 90%;\">order_no<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u30aa\u30fc\u30c0\u30fcID<\/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%;\">\u30b9\u30c6\u30fc\u30bf\u30b9<\/span><\/td>\n<td><span style=\"font-size: 90%;\">status<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>OUTPUT<\/h3>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 80px;\" colspan=\"2\"><span style=\"font-size: 90%;\">No<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u9805\u76ee\u540d<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">\u9805\u76eeID<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u9805\u76ee\u8aac\u660e<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><span style=\"font-size: 90%;\">1<\/span><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u5b9f\u884c\u30d5\u30e9\u30b0<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">exec_flg<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">1:\u6b63\u5e38\u30009:\u30a8\u30e9\u30fc<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><span style=\"font-size: 90%;\">2<\/span><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30bf\u30a4\u30d7<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">error_type<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><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 style=\"width: 31px;\"><span style=\"font-size: 90%;\">3<\/span><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">error_msg<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><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 style=\"width: 31px;\"><span style=\"font-size: 90%;\">4<\/span><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u60c5\u5831<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">error_info<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><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 style=\"width: 31px;\"><span style=\"font-size: 90%;\">5<\/span><\/td>\n<td style=\"width: 49px;\"><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 11.7px;\">\u9818\u53ce\u66f8\u60c5\u5831<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">ReceiptInfo<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u9818\u53ce\u66f8\u306e\u60c5\u5831\uff081\u4ef6\u306e\u307f\uff09<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 90%;\">5-1<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u30aa\u30fc\u30c0\u30fcNo<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">order_no<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\">5-2<\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u9818\u53ce\u66f8\u5b9b\u540d<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">receiptName<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\">5-3<\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u8acb\u6c42\u65e5\uff08\u5165\u91d1\u65e5\uff09<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">billing_date<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\">5-4<\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u91d1\u984d<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">payment_amount<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 11.7px;\">5-5<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u4f46\u3057\u66f8\u304d<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">paymentof<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 11.7px;\">5-6<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u767a\u884c\u5143\u4f1a\u793e\u540d<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">publisher<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 11.7px;\">5-7<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u767a\u884c\u5143\u4f4f\u6240<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">publisher_address<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 11.7px;\">5-8<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u62bc\u5370\u753b\u50cf<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">imprint<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 11.7px;\">5-9<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u30b9\u30c6\u30fc\u30bf\u30b9<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">status<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 31px;\"><\/td>\n<td style=\"width: 49px;\"><span style=\"font-size: 11.7px;\">5-10<\/span><\/td>\n<td style=\"width: 231px;\"><span style=\"font-size: 90%;\">\u9818\u53ce\u66f8URL<\/span><\/td>\n<td style=\"width: 116px;\"><span style=\"font-size: 90%;\">receipt_url<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u3000<\/span><\/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;\">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 \">\/\/\u9818\u53ce\u66f8\u53d6\u5f97\r\n$apiParams = array();\r\n$apiParams['order_no'] = $order_no;\r\n\r\n$output = $cstream-&gt;call_el_ReceiptInfo_get_api($apiParams);\r\n\r\nif($output['exec_flg'] == 1){\r\n\techo $output['ReceiptInfo']['receipt_url'];\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>API\u540d \u9818\u53ce\u66f8\u60c5\u5831\u53d6\u5f97API ID el_ReceiptInfo_get_api 2.\u8a73\u7d30\u89e3\u8aac \u9818\u53ce\u66f8\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308bAPI\u3067\u3059\u3002 $cstream-&gt;call_el_ReceiptInfo_g &#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-1253","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\/1253","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=1253"}],"version-history":[{"count":5,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1253\/revisions"}],"predecessor-version":[{"id":1373,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1253\/revisions\/1373"}],"wp:attachment":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/media?parent=1253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/categories?post=1253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/tags?post=1253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}