{"id":332,"date":"2019-06-13T14:08:08","date_gmt":"2019-06-13T05:08:08","guid":{"rendered":"https:\/\/www.lpcloud.jp\/help\/?p=332"},"modified":"2025-07-03T20:55:42","modified_gmt":"2025-07-03T11:55:42","slug":"%e6%8f%90%e4%be%9bweb-api%e2%91%a1%ef%bc%9a%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e8%a9%b3%e7%b4%b0%e6%83%85%e5%a0%b1%e5%8f%96%e5%be%97","status":"publish","type":"post","link":"https:\/\/www.lpcloud.jp\/help\/webapi\/332\/","title":{"rendered":"\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"},"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\u306e\u8a73\u7d30\u60c5\u5831\u53d6\u5f97\u65b9\u6cd5<\/h3>\n<p>\u300c<a href=\"\/help\/webapi\/308\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u5e33\u7968\u5370\u5237API\uff08JS\u7248\uff09\u2460\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u306e\u53d6\u5f97<\/a>\u300d\u3067\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<\/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\u8a73\u7d30\u60c5\u5831\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.getFormDetailInfo<\/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>LPCA.getFormList\u306b\u3066\u53d6\u5f97\u3057\u305f\u60c5\u5831\u5185\u306b\u3042\u308b\u5bfe\u8c61\u306eform_id\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: red;\">\u5fc5\u9808\u3002<\/div>\n<div>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3002<br \/>\n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u8a73\u7d30\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<\/div>\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;\">\u7701\u7565\u53ef\u3002<\/div>\n<p>\u5f53\u51e6\u7406\u306f\u3001\u975e\u540c\u671f\u306e\u51e6\u7406\u3067\u3059\u3002<br \/>\n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u8a73\u7d30\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\u2463<\/td>\n<td>\n<div style=\"color: green;\">\u5f15\u6570\u2462\u3092\u7701\u7565\u3055\u308c\u305f\u5834\u5408\u306f\u7701\u7565\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<p>\u5f15\u6570\u2462\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\u306e\u8a73\u7d30\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.definition_name\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d<br \/>\n2.form_name\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u540d<br \/>\n3.last_update_date\uff1a\u6700\u7d42\u66f4\u65b0\u65e5<br \/>\n4.panenum\uff1a\u9762\u4ed8\u30bf\u30a4\u30d7\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5834\u5408\u306b\u3001\u305d\u306e\u9762\u4ed8\u6570<br \/>\n5.panesize\uff1a\u9762\u4ed8\u30bf\u30a4\u30d7\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5834\u5408\u306b\u3001\u305d\u306e\u9762\u30b5\u30a4\u30ba<br \/>\n6.papercate\uff1a\u5c02\u7528\u7d19\/\u767d\u7d19<br \/>\n7.papersize\uff1a\u7528\u7d19\u30b5\u30a4\u30ba<br \/>\n8.thumbnail\uff1a\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf<br \/>\n9.form_divide_flg\uff1a<br \/>\n\u3000\u3000true\uff1a\u30d5\u30a9\u30fc\u30e0\u632f\u308a\u5206\u3051\u8a2d\u5b9a\u3042\u308a<br \/>\n\u3000\u3000false\uff1a\u30d5\u30a9\u30fc\u30e0\u632f\u308a\u5206\u3051\u8a2d\u5b9a\u306a\u3057<\/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;\">\/\/\u4e0a\u8a18\u8868\u3000\u5f15\u6570\u2461\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570<\/span>\r\nfunction afterGetFormDetail(returnData){\r\n \u3000\u3000if(\"error\" in returnData){\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\u3000<span style=\"color: green;\">\/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u30d5\u30a9\u30fc\u30e0\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d<\/span>\r\n \u3000\u3000\u3000\u3000var form_category_name = returnData[\"form_info\"][\"definition_name\"];\r\n \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\u3000var template_name = returnData[\"form_info\"][\"form_name\"];\r\n \u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u6700\u7d42\u66f4\u65b0\u65e5<\/span>\r\n \u3000\u3000\u3000\u3000var last_update_date = returnData[\"form_info\"][\"last_update_date\"];\r\n \u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u9762\u4ed8\u30bf\u30a4\u30d7\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5834\u5408\u306b\u3001\u305d\u306e\u9762\u4ed8\u6570<\/span>\r\n \u3000\u3000\u3000\u3000var pane_num = returnData[\"form_info\"][\"panenum\"];\r\n \u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u9762\u4ed8\u30bf\u30a4\u30d7\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5834\u5408\u306b\u3001\u305d\u306e\u9762\u30b5\u30a4\u30ba<\/span>\r\n \u3000\u3000\u3000\u3000var pane_size = returnData[\"form_info\"][\"panesize\"];\r\n \u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u5c02\u7528\u7d19\/\u767d\u7d19<\/span>\r\n \u3000\u3000\u3000\u3000var paper_category = returnData[\"form_info\"][\"papercate\"];\r\n \u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u7528\u7d19\u30b5\u30a4\u30ba<\/span>\r\n \u3000\u3000\u3000\u3000var paper_size= returnData[\"form_info\"][\"papersize\"];\r\n \u3000\u3000\u3000\u3000<span style=\"color: green;\">\/\/\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf<\/span>\r\n \u3000\u3000\u3000\u3000var thumbnail_url = returnData[\"form_info\"][\"thumbnail\"];\r\n \u3000\u3000}\r\n}<\/span>\r\n<span style=\"font-size: 15px;\"><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}<\/span>\r\n<span style=\"font-size: 15px;\"><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}<\/span>\r\n<span style=\"font-size: 15px;\"><span style=\"color: green;\">\/\/\u5bfe\u8c61\u306eform_id<\/span>\r\nvar target_form_id = '\u25cf\u25cf'<\/span>\r\n<span style=\"font-size: 15px;\"><span style=\"color: green;\">\/\/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b<\/span>\r\nLPCA.getFormDetailInfo(target_form_id, afterGetFormDetail, waiting, waited);\r\n&lt;\/script&gt;\r\n<\/span><\/pre>\n<\/div><\/div><\/div><\/div><\/div>\n<p>&nbsp;<\/p>\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-332","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\/332","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=332"}],"version-history":[{"count":21,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":8228,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/332\/revisions\/8228"}],"wp:attachment":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}