{"id":1184,"date":"2018-04-18T12:00:22","date_gmt":"2018-04-18T03:00:22","guid":{"rendered":"https:\/\/www.smartlabel.jp\/help\/?p=1184"},"modified":"2018-05-01T11:04:53","modified_gmt":"2018-05-01T02:04:53","slug":"formlist_api","status":"publish","type":"post","link":"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/formlist_api\/","title":{"rendered":"\u63d0\u4f9bWeb API\u2460\uff1a\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97"},"content":{"rendered":"<p><!--more--><\/p>\n<p class=\"apibox\">\u203b\u3053\u306e\u8a18\u4e8b\u306fSmartLabel Web API\u7528\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u304a\u6301\u3061\u306e\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u958b\u767a\u4f1a\u793e<\/a>\u300d\u69d8\u5411\u3051\u306e\u5185\u5bb9\u3068\u306a\u308a\u307e\u3059\u3002SmartLabel Web API\u306e\u6982\u8981\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/www.smartlabel.jp\/help\/guide\/whats_api\/\">\u3053\u3061\u3089<\/a>\u304b\u3089\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<br \/>\n \u307e\u305f\u3001\u672c\u8a18\u4e8b\u5185\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u7528\u8a9e\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u3053\u3061\u3089<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97\u65b9\u6cd5<\/h3>\n<p>SmartLabel Web API\u3092\u5229\u7528\u3057\u3066\u3001\u5bfe\u8c61\u30d5\u30a9\u30fc\u30e0(\u203b\u2460)\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u53d6\u5f97\u3057\u305f\u5404\u30d5\u30a9\u30fc\u30e0\u306e\u8a73\u7d30\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/form_info_api\/\">\u63d0\u4f9bWeb API\u2463\uff1a\u30d5\u30a9\u30fc\u30e0\u306e\u8a73\u7d30\u60c5\u5831\u3092\u53d6\u5f97<\/a>\u300d\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u203b\u2460\uff1a\u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30e0\u304c\u5bfe\u8c61\u30d5\u30a9\u30fc\u30e0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div>\u30fb\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u958b\u767a\u4f1a\u793e<\/a>\u300d\u69d8\u304c\u4f5c\u6210\u3057\u3001\u5bfe\u8c61\u306e\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u5229\u7528\u4f1a\u793e<\/a>\u300d\u69d8\u306b\u5bfe\u3057\u3066\u5171\u901a\u5316\u3057\u305f\u30d5\u30a9\u30fc\u30e0\u3002 <br \/>\n \u30fb\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u958b\u767a\u4f1a\u793e<\/a>\u300d\u69d8\u304c\u4f5c\u6210\u3057\u5171\u901a\u5316\u3057\u305f\u5b9a\u7fa9\u3092\u5229\u7528\u3057\u3066\u3001\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u5229\u7528\u4f1a\u793e<\/a>\u300d\u69d8\u304c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/user_api\/usecommon_api\/\">\u72ec\u81ea\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30fc\u30e0<\/a>\u3002<\/div>\n<p>&nbsp;<\/p>\n<p>\u8a8d\u8a3c\u30b3\u30fc\u30c9\u306b\u5f0a\u793e\u304c\u7528\u610f\u3057\u305fJavascript\u304c\u3042\u308a\u3001\u305d\u306e\u4e2d\u306b\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97\u51e6\u7406\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 20%; background-color: #e0ffff;\">\u95a2\u6570\u540d<\/td>\n<td style=\"width: 80%;\">SLA.getFormList<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6;\">\u5f15\u6570\u2460<\/td>\n<td>\n<div style=\"color: red;\">\u5fc5\u9808\u3002<\/div>\n<p>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3002<br \/>\n \u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u305f\u5f8c\u306b\u305d\u308c\u3089\u306e\u60c5\u5831\u3092\u6271\u3046\u3001\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u958b\u767a\u4f1a\u793e<\/a>\u300d\u69d8\u5074\u306e\u95a2\u6570\u3092\u3054\u6307\u5b9a\u304f\u3060\u3055\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6;\">\u5f15\u6570\u2461<\/td>\n<td>\n<div style=\"color: #008000;\">\u7701\u7565\u53ef\u3002<\/div>\n<p>\u5f53\u51e6\u7406\u306f\u3001\u975e\u540c\u671f\u306e\u51e6\u7406\u3067\u3059\u3002\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u60c5\u5831\u304c\u8fd4\u3063\u3066\u304f\u308b\u307e\u3067\u304a\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u753b\u9762\u4e0a\u306b\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3055\u308c\u305f\u3044\u5834\u5408\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u95a2\u6570\u3092\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/introduce_api\/\">\u958b\u767a\u4f1a\u793e<\/a>\u300d\u69d8\u5074\u3067\u3054\u7528\u610f\u3044\u305f\u3060\u304d\u3001\u305d\u306e\u95a2\u6570\u3092\u3053\u306e\u4e8c\u3064\u76ee\u306e\u5f15\u6570\u306b\u3054\u6307\u5b9a\u304f\u3060\u3055\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6;\">\u5f15\u6570\u2462<\/td>\n<td>\n<div style=\"color: #008000;\">\u5f15\u6570\u2461\u3092\u7701\u7565\u3055\u308c\u305f\u5834\u5408\u306f\u7701\u7565\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<p>\u5f15\u6570\u2461\u3092\u3054\u6307\u5b9a\u3055\u308c\u305f\u5834\u5408\u306b\u3001\u305d\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\uff08\u300c\u51e6\u7406\u4e2d\u300d\u7b49\uff09\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u305f\u3081\u306e\u51e6\u7406\u3092\u3054\u6307\u5b9a\u304f\u3060\u3055\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffe4e1;\">\u623b\u308a\u5024<\/td>\n<td>\u914d\u5217\u306e\u5f62\u5f0f\u3067\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u60c5\u5831\u3092\u623b\u3057\u307e\u3059\u3002<br \/>\n \u914d\u5217\u306e\u4e2d\u8eab\u306f\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n 1.form_id\uff1a\u30d5\u30a9\u30fc\u30e0\u306eID<br \/>\n 2.form_name\uff1a\u30d5\u30a9\u30fc\u30e0\u540d<br \/>\n 3.group_name\uff1a\u5206\u985e\u540d<br \/>\n 4.make_user\uff1a<br \/>\n <span style=\"margin-left: 20px;\">&#8220;user&#8221;\uff1a\u9023\u643a\u5229\u7528\u4f1a\u793e\u304c\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30fc\u30e0<\/span><br \/>\n <span style=\"margin-left: 20px;\">&#8220;developer&#8221;\uff1a\u958b\u767a\u4f1a\u793e\u304c\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30fc\u30e0<\/span> <\/p>\n<p> <span style=\"color: red;\">\u203b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u300c&#8221;error&#8221;\u300d\u3068\u3044\u3046\u60c5\u5831\u304c\u8fd4\u308a\u307e\u3059\u3002<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 20px;\">\u25cf\u30b5\u30f3\u30d7\u30eb<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"background-color: #fff8dc;\">&lt;script&gt;<br \/>\n <span style=\"color: green;\">\/\/formList\u306e\u60c5\u5831\u3092\u6271\u3046\u95a2\u6570<\/span><br \/>\n function afterGetFormList(formList){<br \/>\n <span style=\"margin-left: 20px;\">if(&#8220;error&#8221; in formList){<\/span><br \/>\n <span style=\"color: green; margin-left: 40px;\">\/\/\u30a8\u30e9\u30fc\u6642\u306e\u51e6\u7406<\/span><br \/>\n <span style=\"margin-left: 20px;\">}else{<\/span><br \/>\n <span style=\"color: green; margin-left: 40px;\">\/\/\u53d6\u5f97\u6210\u529f\u6642\u306e\u51e6\u7406<\/span><br \/>\n <span style=\"margin-left: 20px;\">}<\/span><br \/>\n }<\/p>\n<p> <span style=\"color: green;\">\/\/\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u95a2\u6570<\/span><br \/>\n function waiting(){<br \/>\n <span style=\"color: green; margin-left: 20px;\">\/\/\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u51e6\u7406<\/span><br \/>\n }<\/p>\n<p> <span style=\"color: green;\">\/\/\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u95a2\u6570<\/span><br \/>\n function waited(){<br \/>\n <span style=\"color: green; margin-left: 20px;\">\/\/\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u51e6\u7406<\/span><br \/>\n }<\/p>\n<p> <span style=\"color: green;\">\/\/\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b<\/span><br \/>\n SLA.getFormList(afterGetFormList, waiting, waited);<br \/>\n &lt;\/script&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"footnotes":""},"categories":[31],"tags":[],"class_list":["post-1184","post","type-post","status-publish","format-standard","hentry","category-howto_api"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/posts\/1184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/comments?post=1184"}],"version-history":[{"count":43,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/posts\/1184\/revisions"}],"predecessor-version":[{"id":1557,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/posts\/1184\/revisions\/1557"}],"wp:attachment":[{"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/media?parent=1184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/categories?post=1184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/tags?post=1184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}