{"id":308,"date":"2019-06-12T19:15:07","date_gmt":"2019-06-12T10:15:07","guid":{"rendered":"https:\/\/www.lpcloud.jp\/help\/?p=308"},"modified":"2025-07-03T20:53:59","modified_gmt":"2025-07-03T11:53:59","slug":"%e6%8f%90%e4%be%9bweb-api%e2%91%a0%ef%bc%9a%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e4%b8%80%e8%a6%a7%e3%81%ae%e5%8f%96%e5%be%97","status":"publish","type":"post","link":"https:\/\/www.lpcloud.jp\/help\/webapi\/308\/","title":{"rendered":"\u5e33\u7968\u5370\u5237API\uff08JS\u7248\uff09\u2460\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97"},"content":{"rendered":"<p><!--more--><\/p>\n<p class=\"txtindent\">\u203bLinkPrint CLOUD Web API\u306e\u6982\u8981\u3084\u672c\u8a18\u4e8b\u5185\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u7528\u8a9e\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97\u65b9\u6cd5<\/h3>\n<p>LinkPrint CLOUD Web API\uff08JS\u7248\uff09\u3092\u5229\u7528\u3057\u3066\u3001\u5bfe\u8c61\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\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\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\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=\"\/help\/webapi\/332\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u5e33\u7968\u5370\u5237API\uff08JS\u7248\uff09\u2461\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u8a73\u7d30\u60c5\u5831\u53d6\u5f97<\/a>\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"txtindent\">\u203b\u2460\uff1a\u4ee5\u4e0b\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u304c\u5bfe\u8c61\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div>\u30fb\u6a19\u6e96\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0<\/div>\n<div>\u30fb<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u4f1a\u793e<\/a>\u69d8\u304c\u4f5c\u6210\u3057\u3001\u5bfe\u8c61\u306e<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u5229\u7528\u4f1a\u793e<\/a>\u69d8\u306b\u5bfe\u3057\u3066\u5171\u901a\u5316\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u3002\u00a0<\/div>\n<div>\u30fb<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u4f1a\u793e<\/a>\u69d8\u304c\u4f5c\u6210\u3057\u5171\u901a\u5316\u3057\u305f\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea\u3092\u5229\u7528\u3057\u3066\u3001<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u5229\u7528\u4f1a\u793e<\/a>\u69d8\u304c\u72ec\u81ea\u306b\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\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\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\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<div class=\"su-tabs su-tabs-style-default su-tabs-mobile-stack\" data-active=\"1\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-tabs-nav\"><span class=\"\" data-url=\"\" data-target=\"blank\" tabindex=\"0\" role=\"button\">\u53d6\u5f97\u65b9\u6cd5<\/span><span class=\"\" data-url=\"\" data-target=\"blank\" tabindex=\"0\" role=\"button\">\u30b5\u30f3\u30d7\u30eb<\/span><\/div><div class=\"su-tabs-panes\"><div class=\"su-tabs-pane su-u-clearfix su-u-trim\" data-title=\"\u53d6\u5f97\u65b9\u6cd5\">\n<table style=\"font-size: 15px;\">\n<tbody>\n<tr>\n<td style=\"background-color: #e0ffff; width: 15%;\">\u95a2\u6570\u540d<\/td>\n<td>LPCA.getFormList<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6; width: 15%;\">\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\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\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<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u4f1a\u793e<\/a>\u69d8\u5074\u306e\u95a2\u6570\u3092\u3054\u6307\u5b9a\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6; width: 15%;\">\u5f15\u6570\u2461<\/td>\n<td>\n<div style=\"color: green;\">\u7701\u7565\u53ef\u3002<\/div>\n<p>\u5f53\u51e6\u7406\u306f\u3001\u975e\u540c\u671f\u306e\u51e6\u7406\u3067\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\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<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u4f1a\u793e<\/a>\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<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6; width: 15%;\">\u5f15\u6570\u2462<\/td>\n<td>\n<div style=\"color: green;\">\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<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffe4e1; width: 15%;\">\u623b\u308a\u5024<\/td>\n<td>\n<p>\u914d\u5217\u306e\u5f62\u5f0f\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\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 \/>\n1.form_id\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306eID<br \/>\n2.form_name\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u540d<br \/>\n3.form_category_name\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea\u540d<br \/>\n4.form_make_user\uff1a<br \/>\n\u3000\u201cuser\u201d\uff1a<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u9023\u643a\u5229\u7528\u4f1a\u793e<\/a>\u304c\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0<br \/>\n\u3000\u201cdeveloper\u201d\uff1a<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u4f1a\u793e<\/a>\u304c\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0<br \/>\n\u3000\u201clpc_common\u201d\uff1a\u6a19\u6e96\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0<br \/>\n5.category_make_user\uff1a<br \/>\n\u3000\u201ddeveloper\u201d\uff1a<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u958b\u767a\u4f1a\u793e<\/a>\u304c\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea<br \/>\n\u3000\u201dlpc_common\u201d\uff1a\u6a19\u6e96\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea<\/p>\n<p style=\"color: red;\">\u203b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u300c\u201derror\u201d\u300d\u3068\u3044\u3046\u60c5\u5831\u304c\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"su-tabs-pane su-u-clearfix su-u-trim\" data-title=\"\u30b5\u30f3\u30d7\u30eb\"><div class=\"su-note\"  style=\"border-color:#e3dbcc;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fdf5e6;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n<pre style=\"background-color: rgba(0,0,0,0); border-color: rgba(0,0,0,0);\"><span style=\"font-size: 15px;\">&lt;script&gt;\r\n<span style=\"color: green;\">\/\/formList\u306e\u60c5\u5831\u3092\u6271\u3046\u95a2\u6570<\/span>\r\nfunction afterGetFormList(formListInfos){\r\n\u3000\u3000if(\"error\" in formListInfos){\r\n<span style=\"color: green;\">\u3000\u3000\u3000\u3000\/\/\u30a8\u30e9\u30fc\u6642\u306e\u51e6\u7406<\/span>\r\n\u3000\u3000}else{\r\n<span style=\"color: green;\">\u3000\u3000\u3000\u3000\/\/\u53d6\u5f97\u6210\u529f\u6642\u306e\u51e6\u7406<\/span>\r\n\u3000\u3000\u3000\u3000for(var i = 0; i &lt; formListInfos[\"formList\"].length; i++){\r\n\u3000\u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306eID<\/span>\r\n\u3000\u3000\u3000\u3000\u3000var template_id = formListInfos[\"formList\"][i][\"form_id\"];\r\n\u3000\u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u540d<\/span>\r\n\u3000\u3000\u3000\u3000\u3000var template_name = formListInfos[\"formList\"][i][\"form_name\"];\r\n\u3000\u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u5229\u7528\u3057\u3066\u3044\u308b\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea\u540d<\/span>\r\n\u3000\u3000\u3000\u3000\u3000var template_form_category_name = formListInfos[\"formList\"][i][\"form_category_name\"];\r\n\u3000\u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u4f5c\u6210\u8005<\/span>\r\n\u3000\u3000\u3000\u3000\u3000var template_make_user = formListInfos[\"formList\"][i][\"form_make_user\"];\r\n\u3000\u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u5229\u7528\u3057\u3066\u3044\u308b\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea\u306e\u4f5c\u6210\u8005<\/span>\r\n\u3000\u3000\u3000\u3000\u3000var template_category_make_user = formListInfos[\"formList\"][i][\"category_make_user\"];\r\n\u3000\u3000\u3000\u3000}\r\n\u3000\u3000}\r\n}<\/span>\r\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>\r\nfunction waiting(){\r\n<span style=\"color: green;\">\u3000\u3000\/\/\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u51e6\u7406<\/span>\r\n}\r\n<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>\r\nfunction waited(){\r\n<span style=\"color: green;\">\u3000\u3000\/\/\u300c\u51e6\u7406\u4e2d\u300d\u7b49\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u51e6\u7406<\/span>\r\n}\r\n<span style=\"color: green;\">\/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b<\/span>\r\nLPCA.getFormList(afterGetFormList, waiting, waited);\r\n&lt;\/script&gt;\r\n<\/pre>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-webapi"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":29,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":8227,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/308\/revisions\/8227"}],"wp:attachment":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/media?parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/categories?post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/tags?post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}