{"id":2071,"date":"2021-02-09T20:50:00","date_gmt":"2021-02-09T11:50:00","guid":{"rendered":"https:\/\/v7-manual.e-learning-asp.com\/?p=2071"},"modified":"2021-03-01T17:57:35","modified_gmt":"2021-03-01T08:57:35","slug":"lms-13-03-31","status":"publish","type":"post","link":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/2021\/02\/09\/lms-13-03-31\/","title":{"rendered":"13-03-31.Q&#038;A\u60c5\u5831\u767b\u9332API"},"content":{"rendered":"<table border=\"1px\">\n<tbody>\n<tr>\n<td style=\"background-color: #000896;\"><span style=\"color: #ffffff;\"><strong>API\u540d<\/strong><\/span><\/td>\n<td><strong>Q&amp;A\u60c5\u5831\u767b\u9332API<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #000896;\"><span style=\"color: #ffffff;\"><strong>ID<\/strong><\/span><\/td>\n<td><strong>el_qaInfo_upd_api<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>2.\u8a73\u7d30\u89e3\u8aac<\/h2>\n<p>Q&amp;A\u60c5\u5831\u3092\u767b\u9332\u3059\u308bAPI\u3067\u3059\u3002\u8cea\u554f\u81ea\u4f53\u306e\u65b0\u898f\u767b\u9332\u3084\u3001\u8cea\u554f\u5185\u5bb9\u3078\u306e\u56de\u7b54\u306e\u767b\u9332\u3001\u56de\u7b54\u3078\u306e\u518d\u8cea\u554f\u306a\u3069\u306f\u5168\u3066\u3053\u3061\u3089\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>$cstream-&gt;call_el_qaInfo_upd_api($input_array);<\/p>\n<h2>3.I\/O\u60c5\u5831<\/h2>\n<h3>INPUT<\/h3>\n<table width=\"902\">\n<tbody>\n<tr>\n<td colspan=\"2\" width=\"144\"><span style=\"font-size: 90%;\">No<\/span><\/td>\n<td width=\"145\"><span style=\"font-size: 90%;\">\u9805\u76ee\u540d<\/span><\/td>\n<td width=\"181\"><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\">\u5fc5\u9808<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">1<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/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>\u3007<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">2<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/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>\u3007<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u8cea\u554f\/\u56de\u7b54\u533a\u5206<\/span><\/td>\n<td><span style=\"font-size: 90%;\">question_answer_kbn<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">0:\u8cea\u554f\u30001:\u89e3\u7b54\u30002:\u518d\u8cea\u554f<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">\u8cea\u554fNo<\/span><\/td>\n<td><span style=\"font-size: 90%;\">qa_no<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 11.7px;\">\u8cea\u554f\u3092\u4e00\u610f\u306b\u8868\u3059No\u3000\u8cea\u554f\/\u56de\u7b54\u533a\u5206\u304c\u30001:\u89e3\u7b54\u30002:\u518d\u8cea\u554f\u3000\u306e\u5834\u5408\u5fc5\u9808<\/span><\/td>\n<td>\u25b3<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u8b1b\u5ea7ID<\/span><\/td>\n<td><span style=\"font-size: 90%;\">course_id<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 11.7px;\">\u8b1b\u5ea7\u3092\u4e00\u610f\u306b\u8868\u3059ID<\/span><\/td>\n<td>\u3007<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">\u8b1b\u7fa9ID<\/span><\/td>\n<td><span style=\"font-size: 90%;\">lecture_id<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8b1b\u7fa9\u3092\u4e00\u610f\u306b\u8868\u3059ID<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u8005ID\uff08\u8cea\u554f\u8005\uff09<\/span><\/td>\n<td><span style=\"font-size: 90%;\">userid<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u00a0\u8cea\u554f\/\u56de\u7b54\u533a\u5206 = 0\u3000\u306e\u5834\u5408\u3001\u5fc5\u9808\u3000\u8cea\u554f\u8005\u306e\u53d7\u8b1b\u8005ID<\/span><\/td>\n<td>\u25b3<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u8005ID\uff08\u56de\u7b54\u8005\uff09<\/span><\/td>\n<td><span style=\"font-size: 90%;\">lecturer_userid<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u00a0\u8cea\u554f\/\u56de\u7b54\u533a\u5206 = 1\u306e\u5834\u5408\u306f\u5fc5\u9808\u3000\u56de\u7b54\u8005\u306e\u53d7\u8b1b\u8005ID<br \/>\n\u203b\u3059\u3067\u306b\u56de\u7b54\u304c\u3042\u308b\u5834\u5408\u3001\u305d\u306e\u56de\u7b54\u8005\u3068\u540c\u3058\u53d7\u8b1b\u8005ID\u304c\u81ea\u52d5\u3067\u30bb\u30c3\u30c8\u3055\u308c\u308b\u305f\u3081\u5165\u529b\u4e0d\u8981<\/span><\/td>\n<td>\u25b3<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">QA\u30bf\u30a4\u30c8\u30eb<\/span><\/td>\n<td><span style=\"font-size: 90%;\">qa_title<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8cea\u554f\u3084\u56de\u7b54\u306e\u30bf\u30a4\u30c8\u30eb<\/span><\/td>\n<td>\u3007<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">QA\u5185\u5bb9<\/span><\/td>\n<td><span style=\"font-size: 90%;\">qa_naiyou<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 11.7px;\">\u8cea\u554f\u3084\u56de\u7b54\u306e\u5185\u5bb9<\/span><\/td>\n<td>\u3007<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u540d<\/span><\/td>\n<td><span style=\"font-size: 90%;\">qa_file_name<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 11.7px;\"><span style=\"font-size: 11.7px;\">\u8cea\u554f\u3084\u56de\u7b54\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u540d\uff08<\/span><\/span><span style=\"font-size: 11.7px;\">qa_file_base64\u304c\u3042\u308b\u5834\u5408\u5fc5\u9808\uff09<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb(base64)<\/span><\/td>\n<td><span style=\"font-size: 90%;\">qa_file_base64<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\"> \u8cea\u554f\u3084\u56de\u7b54\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092base64\u5f62\u5f0f\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305f\u3082\u306e\uff08\u5bb9\u91cf5MB\u307e\u3067\uff09<\/span><br \/>\n<span style=\"font-size: 90%;\">(qa_file_name\u304c\u3042\u308b\u5834\u5408\u5fc5\u9808)<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td><\/td>\n<td><span style=\"font-size: 11.7px;\">\u56de\u7b54\u30b9\u30c6\u30fc\u30bf\u30b9<\/span><\/td>\n<td><span style=\"font-size: 11.7px;\">answer_status<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">question_answer_kbn:1\u306e\u5834\u5408\u5fc5\u9808\u30020:\u4e00\u6642\u4fdd\u5b58\u30001:\u6709\u52b9(\u56de\u7b54)<\/span><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>OUTPUT<\/h3>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 36px;\"><span style=\"font-size: 90%;\">No<\/span><\/td>\n<td style=\"width: 198px;\"><span style=\"font-size: 90%;\">\u9805\u76ee\u540d<\/span><\/td>\n<td style=\"width: 211px;\"><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: 36px;\"><span style=\"font-size: 90%;\">1<\/span><\/td>\n<td style=\"width: 198px;\"><span style=\"font-size: 90%;\">\u5b9f\u884c\u30d5\u30e9\u30b0<\/span><\/td>\n<td style=\"width: 211px;\"><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: 36px;\"><span style=\"font-size: 90%;\">2<\/span><\/td>\n<td style=\"width: 198px;\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30bf\u30a4\u30d7<\/span><\/td>\n<td style=\"width: 211px;\"><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: 36px;\"><span style=\"font-size: 90%;\">3<\/span><\/td>\n<td style=\"width: 198px;\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<\/span><\/td>\n<td style=\"width: 211px;\"><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: 36px;\"><span style=\"font-size: 90%;\">5<\/span><\/td>\n<td style=\"width: 198px;\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/td>\n<td style=\"width: 211px;\"><span style=\"font-size: 90%;\">error_param [ ]<\/span><\/td>\n<td style=\"width: 50px;\" colspan=\"5\"><span style=\"font-size: 90%;\">\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305fINPUT\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u914d\u5217\u3067\u8868\u793a<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30a8\u30e9\u30fc<\/h3>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">\u30a8\u30e9\u30fc\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u30a8\u30e9\u30fc\u6982\u8981<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\u767a\u751f\u3055\u305b\u308b\u30e1\u30c3\u30bb\u30fc\u30b8<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">\u767a\u751f\u3055\u305b\u308bException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">0<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u4e0d\u9069\u5408\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u304c\u9069\u5408\u3057\u307e\u305b\u3093\u3002<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">AccessKeyException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">1<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u30db\u30b9\u30c8\u8a31\u53ef\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\u5bfe\u8c61\u306e\u30db\u30b9\u30c8\u304b\u3089\u306eAPI\u5b9f\u884c\u3092\u8a31\u53ef\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">HostRestrictException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">2<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u5f15\u6570\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\u5fc5\u9808\u547c\u51fa\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u305f\u3081\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">CallParameterException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">3<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u5b58\u5728\u30c1\u30a7\u30c3\u30af\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">NotExistException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">4<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">base64\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">base64\u5f62\u5f0f\u3067\u4fdd\u5b58\u3067\u304d\u307e\u305b\u3093<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">Base64FormatException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">5<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u672a\u56de\u7b54\u6642\u306e\u518d\u8cea\u554f\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\u8cea\u554f\u304c\u672a\u56de\u7b54\uff08\u307e\u305f\u306f\u56de\u7b54\u304c\u627f\u8a8d\u524d\u3084\u4e00\u6642\u4fdd\u5b58\uff09\u306e\u5834\u5408\u3001\u518d\u8cea\u554f\u3092\u884c\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">ReQuestionOnNotAnswerException<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 208.4px;\" colspan=\"2\">9<\/td>\n<td style=\"width: 480.8px;\" colspan=\"3\">\u30b7\u30b9\u30c6\u30e0\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30a8\u30e9\u30fc<\/td>\n<td style=\"width: 417.6px;\" colspan=\"3\">\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<\/td>\n<td style=\"width: 20px;\" colspan=\"2\">SystemMaintenanceException<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>4.\u5b9f\u88c5\u4f8b<\/h2>\n<pre class=\"toolbar:1 lang:default decode:true\"><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>API\u540d Q&amp;A\u60c5\u5831\u767b\u9332API ID el_qaInfo_upd_api 2.\u8a73\u7d30\u89e3\u8aac Q&amp;A\u60c5\u5831\u3092\u767b\u9332\u3059\u308bAPI\u3067\u3059\u3002\u8cea\u554f\u81ea\u4f53\u306e\u65b0\u898f\u767b\u9332\u3084\u3001\u8cea\u554f\u5185\u5bb9\u3078\u306e\u56de\u7b54\u306e\u767b\u9332\u3001\u56de\u7b54\u3078\u306e\u518d\u8cea\u554f\u306a\u3069 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2071","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/2071","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=2071"}],"version-history":[{"count":9,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/2071\/revisions"}],"predecessor-version":[{"id":2095,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/2071\/revisions\/2095"}],"wp:attachment":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/media?parent=2071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/categories?post=2071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/tags?post=2071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}