{"id":1188,"date":"2018-04-18T12:00:46","date_gmt":"2018-04-18T03:00:46","guid":{"rendered":"https:\/\/www.smartlabel.jp\/help\/?p=1188"},"modified":"2018-04-17T10:44:39","modified_gmt":"2018-04-17T01:44:39","slug":"print_api","status":"publish","type":"post","link":"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/print_api\/","title":{"rendered":"\u63d0\u4f9bWeb API\u2462\uff1a\u5dee\u3057\u8fbc\u307f\u5370\u5237"},"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>\u5dee\u3057\u8fbc\u307f\u5370\u5237\u306e\u65b9\u6cd5<\/h3>\n<p>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a9\u30fc\u30e0\u306b\u5bfe\u3057\u3001\u6307\u5b9a\u3055\u308c\u305f\u5370\u5237\u30c7\u30fc\u30bf\u3092\u5dee\u3057\u8fbc\u3080\u65b9\u6cd5\u3067\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.insertPrintData<\/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>\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/upload_api\/\">\u63d0\u4f9bWeb API\u2461\uff1a\u5370\u5237\u30c7\u30fc\u30bf\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/a>\u300d\u3092\u5229\u7528\u3057\u3001\u5bfe\u8c61\u306e\u5370\u5237\u30c7\u30fc\u30bf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u300cprintDataId\u300d\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5024\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: red;\">\u5fc5\u9808\u3002<\/div>\n<p>\u300c<a href=\"https:\/\/www.smartlabel.jp\/help\/smartapi\/howto_api\/formlist_api\/\">\u63d0\u4f9bAPI\u2460\uff1a\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97<\/a>\u300d\u3092\u5229\u7528\u3057\u53d6\u5f97\u3057\u305f\u3001\u5bfe\u8c61\u30d5\u30a9\u30fc\u30e0\u306e\u300cform_id\u300d\u3092\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: red;\">\u5fc5\u9808\u3002<\/div>\n<p>\u5dee\u3057\u8fbc\u307f\u3057\u305f\u7d50\u679c\u306e\u8868\u793a\u65b9\u6cd5\uff08\u4ee5\u4e0b\u306e\u6307\u5b9a\u756a\u53f7\uff09\u3092\u3054\u6307\u5b9a\u304f\u3060\u3055\u3044\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 20%; background-color: #f0fff0;\">\u6307\u5b9a\u756a\u53f7<\/td>\n<td style=\"width: 80%; background-color: #f0fff0;\">\u8868\u793a\u65b9\u6cd5<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u7de8\u96c6\u753b\u9762<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>PDF<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u30b9\u30bf\u30fc\u7cbe\u5bc6\u3000<a href=\"https:\/\/www.smartlabel.jp\/help\/guide\/whats_api\/#mobileapi\">\u5bfe\u5fdc\u30d7\u30ea\u30f3\u30bf<\/a>\u306b\u76f4\u63a5\u5370\u5237<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u203b\u300c\u7de8\u96c6\u753b\u9762\u300d\u306f\u30e2\u30d0\u30a4\u30eb\u7aef\u672b\uff08iOS\/Android\uff09\u306b\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6;\">\u5f15\u6570\u2463<\/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\u5dee\u3057\u8fbc\u307f\u7d50\u679c\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\u3054\u6307\u5b9a\u304f\u3060\u3055\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6;\">\u5f15\u6570\u2464<\/td>\n<td>\n<div style=\"color: #008000;\">\u5f15\u6570\u2463\u3092\u7701\u7565\u3055\u308c\u305f\u5834\u5408\u306f\u7701\u7565\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<p>\u5f15\u6570\u2463\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>\u5dee\u3057\u8fbc\u307f\u7d50\u679c\u3092\u5f15\u6570\u2462\u3067\u6307\u5b9a\u3055\u308c\u305f\u65b9\u6cd5\u3067\u8868\u793a\u3057\u307e\u3059\u3002<\/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;\">\/\/\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;\">\/\/\u300cprintDataId\u300d\u306e\u5024<\/span><br \/>\n var printDataId_val = &#8216;\u25cf\u25cf&#8217;;<br \/>\n <span style=\"color: green;\">\/\/\u300cform_id\u300d\u306e\u5024<\/span><br \/>\n var target_form_id = &#8216;\u25b3\u25b3&#8217;;<br \/>\n <span style=\"color: green;\">\/\/\u6307\u3057\u8fbc\u307f\u7d50\u679c\u306e\u8868\u793a\u65b9\u6cd5<\/span><br \/>\n var insertMethod_val = &#8216;\u25a1\u25a1&#8217;;<\/p>\n<p> <span style=\"color: green;\">\/\/\u5dee\u3057\u8fbc\u307f\u51e6\u7406\u958b\u59cb<\/span><br \/>\n SLA.insertPrintData(printDataId_val, target_form_id, insertMethod_val, 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-1188","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\/1188","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=1188"}],"version-history":[{"count":21,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/posts\/1188\/revisions"}],"predecessor-version":[{"id":1535,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/posts\/1188\/revisions\/1535"}],"wp:attachment":[{"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/media?parent=1188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/categories?post=1188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.smartlabel.jp\/help\/wp-json\/wp\/v2\/tags?post=1188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}