{"id":1225,"date":"2018-04-23T09:26:23","date_gmt":"2018-04-23T00:26:23","guid":{"rendered":"http:\/\/13.231.125.151\/?p=1225"},"modified":"2018-07-18T14:27:43","modified_gmt":"2018-07-18T05:27:43","slug":"lms-13-03-14","status":"publish","type":"post","link":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/2018\/04\/23\/lms-13-03-14\/","title":{"rendered":"13-03-14.\u53d7\u8b1b\u6a29\u9650\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>\u53d7\u8b1b\u6a29\u9650\u7de8\u96c6API\u00a0<\/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_userAuth_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\u6a29\u9650\u3092\u4ed8\u4e0e\u3057\u305f\u308a\u3001\u4ed8\u4e0e\u3057\u305f\u6a29\u9650\u3092\u89e3\u9664\u3057\u305f\u308a\u3001\u6a29\u9650\u306e\u6709\u52b9\u671f\u9650\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bAPI\u3067\u3059\u3002\u4e3b\u306b\u4f1a\u54e1\u767b\u9332\u6a5f\u80fd\u306a\u3069\u3067\u3001\u53d7\u8b1b\u8005\u60c5\u5831\u7de8\u96c6API\u3068\u3068\u3082\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>$cstream-&gt;call_el_userAuth_upd_api($input_array);<\/p>\n<h2>3.I\/O\u60c5\u5831<\/h2>\n<h3>INPUT<\/h3>\n<table>\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%;\">\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: 90%;\">0:\u6a29\u9650\u306e\u8ffd\u52a0\u66f4\u65b0\u30001\uff1a\u53d7\u8b1b\u671f\u9650\u65e5\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u66f4\u65b0\u3000\uff12\uff1aAPI\u9023\u643a\u9805\u76ee\u306e\u66f4\u65b0<\/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%;\">\u6a29\u9650\u30ea\u30b9\u30c8<\/span><\/td>\n<td><span style=\"font-size: 90%;\">auth_list<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">1\u3064\u4ee5\u4e0a\u5fc5\u9808<\/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><span style=\"font-size: 90%;\">5-1<\/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: 90%;\">\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u8b1b\u5ea7\u7b49\u306eID\u3000\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u30de\u30b9\u30bf\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b<\/span><br \/>\n<span style=\"font-size: 90%;\"> \u3000\u30fb\u8b1b\u5ea7\u3000\u30fb\u8b1b\u5ea7\u30b0\u30eb\u30fc\u30d7\u3000\u30fb\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\u3000\u30fb\u7d99\u7d9a\u6c7a\u6e08IF<\/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><span style=\"font-size: 90%;\">5-2<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u7533\u8fbc\u65e5<\/span><\/td>\n<td><span style=\"font-size: 90%;\">course_ap_date<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u53d7\u8b1b\u7533\u8fbc\u65e5\uff08YYYYMMDD\uff09<\/span><br \/>\n<span style=\"font-size: 90%;\"> \u66f4\u65b0\u7a2e\u985e\uff1a0\u306e\u5834\u5408\u5fc5\u9808<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u25b3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 90%;\">\u3000<\/span><\/td>\n<td><span style=\"font-size: 90%;\">5-3<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u671f\u9650\u65e5<\/span><\/td>\n<td><span style=\"font-size: 90%;\">course_end_date<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u53d7\u8b1b\u671f\u9650\u65e5\uff08YYYYMMDD\uff09<\/span><br \/>\n<span style=\"font-size: 90%;\"> \u5165\u529b\u3057\u306a\u3044\u5834\u5408\u8b1b\u5ea7\u307e\u305f\u306f\u8b1b\u5ea7\u30b0\u30eb\u30fc\u30d7\u3067\u6307\u5b9a\u3057\u305f\u671f\u9650\u306e\u8a08\u7b97\u65b9\u6cd5\u306b\u3088\u308a\u81ea\u52d5\u7684\u306b\u7b97\u51fa\u3055\u308c\u308b\u3002<\/span><\/td>\n<td><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%;\">5-4<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u30b9\u30c6\u30fc\u30bf\u30b9<\/span><\/td>\n<td><span style=\"font-size: 90%;\">attend_status<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">0\uff1a\u4eee\u767b\u9332\u30001\uff1a\u672c\u767b\u9332\u30009\uff1a\u30ad\u30e3\u30f3\u30bb\u30eb<br \/>\n\u66f4\u65b0\u7a2e\u985e\uff1a0\uff0c1\u306e\u5834\u5408\u5fc5\u9808<\/span><\/td>\n<td><span style=\"font-size: 11.7px;\">\u25b3<\/span><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">5-5<\/span><\/td>\n<td><span style=\"font-size: 11.7px;\">API\u9023\u643a\u9805\u76ee\uff11<\/span><\/td>\n<td><span style=\"font-size: 90%;\">api_val_courseuser1<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8b1b\u5ea7\u6a29\u9650\u306b\u5bfe\u3057\u3066\u4ed8\u4e0e\u3067\u304d\u308b\u9023\u643a\u9805\u76ee\u3002\u66f4\u65b0\u7a2e\u985e0\u304b\u3064\u8b1b\u5ea7ID\u306b\u300c\u8b1b\u5ea7\u300d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u307f\u6709\u52b9\u3002<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">5-6\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">API\u9023\u643a\u9805\u76ee\uff12<\/span><\/td>\n<td><span style=\"font-size: 90%;\">api_val_courseuser2<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8b1b\u5ea7\u6a29\u9650\u306b\u5bfe\u3057\u3066\u4ed8\u4e0e\u3067\u304d\u308b\u9023\u643a\u9805\u76ee\u3002\u66f4\u65b0\u7a2e\u985e0\u304b\u3064\u8b1b\u5ea7ID\u306b\u300c\u8b1b\u5ea7\u300d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u307f\u6709\u52b9\u3002<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">5-7\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">API\u9023\u643a\u9805\u76ee\uff13<\/span><\/td>\n<td><span style=\"font-size: 90%;\">api_val_courseuser3<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8b1b\u5ea7\u6a29\u9650\u306b\u5bfe\u3057\u3066\u4ed8\u4e0e\u3067\u304d\u308b\u9023\u643a\u9805\u76ee\u3002\u66f4\u65b0\u7a2e\u985e0\u304b\u3064\u8b1b\u5ea7ID\u306b\u300c\u8b1b\u5ea7\u300d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u307f\u6709\u52b9\u3002<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">5-8\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">API\u9023\u643a\u9805\u76ee\uff14<\/span><\/td>\n<td><span style=\"font-size: 90%;\">api_val_courseuser4<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8b1b\u5ea7\u6a29\u9650\u306b\u5bfe\u3057\u3066\u4ed8\u4e0e\u3067\u304d\u308b\u9023\u643a\u9805\u76ee\u3002\u66f4\u65b0\u7a2e\u985e0\u304b\u3064\u8b1b\u5ea7ID\u306b\u300c\u8b1b\u5ea7\u300d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u307f\u6709\u52b9\u3002<\/span><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><span style=\"font-size: 90%;\">5-9\u00a0<\/span><\/td>\n<td><span style=\"font-size: 90%;\">API\u9023\u643a\u9805\u76ee\uff15<\/span><\/td>\n<td><span style=\"font-size: 90%;\">api_val_courseuser5<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><span style=\"font-size: 90%;\">\u8b1b\u5ea7\u6a29\u9650\u306b\u5bfe\u3057\u3066\u4ed8\u4e0e\u3067\u304d\u308b\u9023\u643a\u9805\u76ee\u3002\u66f4\u65b0\u7a2e\u985e0\u304b\u3064\u8b1b\u5ea7ID\u306b\u300c\u8b1b\u5ea7\u300d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u307f\u6709\u52b9\u3002<\/span><\/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%;\">\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: 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%;\">\u53d7\u8b1b\u7533\u8fbc\u65e5<\/span><\/td>\n<td><span style=\"font-size: 90%;\">course_ap_date<\/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-3<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u671f\u9650\u65e5<\/span><\/td>\n<td><span style=\"font-size: 90%;\">course_end_date<\/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-4<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u652f\u6255\u65b9\u6cd5\u533a\u5206<\/span><\/td>\n<td><span style=\"font-size: 90%;\">payment_kbn<\/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-5<\/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%;\">\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-6<\/span><\/td>\n<td><span style=\"font-size: 90%;\">\u53d7\u8b1b\u30b9\u30c6\u30fc\u30bf\u30b9<\/span><\/td>\n<td><span style=\"font-size: 90%;\">attend_status<\/span><\/td>\n<td colspan=\"5\" width=\"360\"><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;\">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 \">$apiParamsAuth = array();\r\n\r\n$apiParamsAuth['userid'] = $output['userid'];\r\n$apiParamsAuth['upd_type'] = \"0\";\t\t\/\/\u6a29\u9650\u306e\u8ffd\u52a0\u66f4\u65b0\r\n\r\n$auth_list = array();\r\n$auth_list[0]['course_ap_date'] = date('Ymd');\/\/\u53d7\u8b1b\u7533\u8fbc\u65e5\r\n$auth_list[0]['course_end_date'] = \"\";\/\/\u53d7\u8b1b\u671f\u9650\u65e5(\u672a\u5165\u529b\u3060\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306b\u306a\u308b)\r\nif($payment_type == '\u632f\u8fbc'){\r\n\t$auth_list[0]['attend_status'] = \"0\";\t\/\/\u4eee\u767b\u9332(\u9280\u884c\u632f\u8fbc\u306e\u5834\u5408\u3044\u3063\u305f\u3093\u4eee\u767b\u9332\u306b\u3059\u308b)\r\n}else{\r\n\t$auth_list[0]['attend_status'] = \"1\";\t\/\/\u672c\u767b\u9332\r\n}\r\n$auth_list[0]['course_id'] = 'C000001';\/\/\u8b1b\u5ea7ID\r\n\r\n$apiParamsAuth['auth_list'] = $auth_list;\t\t\/\/\u6a29\u9650\u30ea\u30b9\u30c8\r\n\r\n\/\/ API\u547c\u3073\u51fa\u3057\r\n$output = $cstream-&gt;call_el_userAuth_upd_api($apiParamsAuth);\r\nif($output['exec_flg'] == 1){\r\n\t\/\/\u6a29\u9650\u4ed8\u4e0e\u6210\u529f\uff01\r\n}else{\r\n\r\n\t\/\/\u7570\u5e38\u6642\u51e6\u7406\r\n\t$err = 1;\r\n\r\n\tswitch($output['error_type']){\r\n\t\tcase '0':\r\n\t\t\techo $output['error_msg'];\r\n\t\t\tbreak;\r\n\t\tcase '1':\r\n\t\t\techo $output['error_msg'];\r\n\t\t\tbreak;\r\n\t\tcase '2':\r\n\t\t\techo $output['error_msg'];\r\n\t\t\tbreak;\r\n\t\tcase '3':\r\n\t\t\tprint_r($output['error_info']);\r\n\t\t\tbreak;\r\n\t}\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>API\u540d \u53d7\u8b1b\u6a29\u9650\u7de8\u96c6API\u00a0 ID el_userAuth_upd_api 2.\u8a73\u7d30\u89e3\u8aac \u7279\u5b9a\u306e\u53d7\u8b1b\u8005\u306b\u5bfe\u3057\u3066\u6a29\u9650\u3092\u4ed8\u4e0e\u3057\u305f\u308a\u3001\u4ed8\u4e0e\u3057\u305f\u6a29\u9650\u3092\u89e3\u9664\u3057\u305f\u308a\u3001\u6a29\u9650\u306e\u6709\u52b9\u671f\u9650\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bAPI\u3067 &#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-1225","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\/1225","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=1225"}],"version-history":[{"count":6,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1225\/revisions"}],"predecessor-version":[{"id":1396,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/posts\/1225\/revisions\/1396"}],"wp:attachment":[{"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/media?parent=1225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/categories?post=1225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v7-manual.e-learning-asp.com\/index.php\/wp-json\/wp\/v2\/tags?post=1225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}