{"id":22076,"date":"2019-09-21T08:31:04","date_gmt":"2019-09-20T23:31:04","guid":{"rendered":"https:\/\/agrimo.jp\/wp\/?page_id=22076"},"modified":"2020-01-17T08:17:04","modified_gmt":"2020-01-16T23:17:04","slug":"%ef%bc%91%ef%bc%8erestful-api","status":"publish","type":"page","link":"https:\/\/agrimo.jp\/wp\/?page_id=22076","title":{"rendered":"\uff11\uff0eRESTful API"},"content":{"rendered":"<p>\u5149CTI\u30b9\u30de\u30fc\u30c8\u30b3\u30cd\u30af\u30c8\u30b5\u30fc\u30d3\u30b9\u306f\u3001\u4ee5\u4e0b\u306eRESTful API\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3010RESTful API \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u4ed5\u69d8\u3000\u3000\uff08\u4f8b\uff0e\u53ce\u5bb9\u56de\u7dda\uff09\u3011<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<th style=\"width: 23%;\">\u51e6\u7406<\/th>\n<th style=\"width: 17%;\">HTTP\u30e1\u30bd\u30c3\u30c9<\/th>\n<th style=\"width: 60%;\">URI<\/th>\n<\/tr>\n<tr>\n<td style=\"width: 23%;\">\u5168\u30ec\u30b3\u30fc\u30c9\u3092\u53d6\u5f97<\/td>\n<td style=\"width: 17%;\">GET<\/td>\n<td style=\"width: 60%;\">\/CTI_SmartConnectService\/RestService\/ContainmentLine<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 23%;\">\uff11\u30ec\u30b3\u30fc\u30c9\u3092\u53d6\u5f97<\/td>\n<td style=\"width: 17%;\">GET<\/td>\n<td style=\"width: 60%;\">\/CTI_SmartConnectService\/RestService\/ContainmentLine\/\uff08\u56de\u7ddaNo\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 23%;\">\uff11\u30ec\u30b3\u30fc\u30c9\u3092\u65b0\u898f\u767b\u9332<\/td>\n<td style=\"width: 17%;\">POST<\/td>\n<td style=\"width: 60%;\">\/CTI_SmartConnectService\/RestService\/ContainmentLine<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 23%;\">\uff11\u30ec\u30b3\u30fc\u30c9\u3092\u66f4\u65b0<\/td>\n<td style=\"width: 17%;\">PUT<\/td>\n<td style=\"width: 60%;\">\/CTI_SmartConnectService\/RestService\/ContainmentLine\/\uff08\u56de\u7ddaNo\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 23%;\">\uff11\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664<\/td>\n<td style=\"width: 17%;\">DELETE<\/td>\n<td style=\"width: 60%;\">\/CTI_SmartConnectService\/RestService\/ContainmentLine\/\uff08\u56de\u7ddaNo\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u3010RESTful API \u547c\u51fa\u65b9\u6cd5\u3011<\/p>\n<p style=\"padding-left: 40px;\">\u4ee5\u4e0b\u306e\u30a2\u30c9\u30ec\u30b9\u306bHTTP\u30e1\u30bd\u30c3\u30c9\uff08GET\u3001POST\u3001PUT\u3001DELETE\uff09\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3084\u30ec\u30b3\u30fc\u30c9\u5358\u4f4d\u3067\u306e\u65b0\u898f\u767b\u9332\u30fb\u66f4\u65b0\u30fb\u524a\u9664\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306fJSON\u5f62\u5f0f\u3067\u3084\u308a\u53d6\u308a\uff08\u30ea\u30af\u30a8\u30b9\u30c8\uff06\u30ec\u30b9\u30dd\u30f3\u30b9\uff09\u3057\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 40px;\"><strong>http:\/\/\uff08\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u884c\u4e2d\u306e\u30d1\u30bd\u30b3\u30f3\u306eIP\u30a2\u30c9\u30ec\u30b9\uff09:55963\/CTI_SmartConnectService\/RestService\/\uff08URI\uff09<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u25c6GET\u306e\u4f8b<\/p>\n<p style=\"padding-left: 80px;\">\u30fb\u53ce\u5bb9\u56de\u7dda\u306e\u5168\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b<\/p>\n<p style=\"padding-left: 120px;\">GET\u3000http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine<\/p>\n<p style=\"padding-left: 80px;\">\u30fb\u56de\u7ddaNo.1\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b<\/p>\n<p style=\"padding-left: 120px;\">GET\u3000http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\/1<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u25c6POST\u306e\u4f8b<\/p>\n<p style=\"padding-left: 80px;\">\u30fb\u56de\u7dda\u306e\u60c5\u5831\u3092\u65b0\u898f\u767b\u9332\u3059\u308b<\/p>\n<p style=\"padding-left: 120px;\">POST\u3000http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u25c6PUT\u306e\u4f8b<\/p>\n<p style=\"padding-left: 80px;\">\u30fb\u56de\u7ddaNo.2\u306e\u60c5\u5831\u3092\u66f4\u65b0\u3059\u308b<\/p>\n<p style=\"padding-left: 120px;\">PUT\u3000http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\/2<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u25c6DELETE\u306e\u4f8b<\/p>\n<p style=\"padding-left: 80px;\">\u30fb\u56de\u7ddaNo.3\u306e\u60c5\u5831\u3092\u524a\u9664\u3059\u308b<\/p>\n<p style=\"padding-left: 120px;\">DELETE\u3000http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\/3<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u25c6\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\uff08JSON\u5f62\u5f0f\uff09\u306e\u4f8b<\/p>\n<p style=\"padding-left: 80px;\">{ &#8220;\u56de\u7ddaNo&#8221; : &#8220;1&#8221;, &#8220;\u7740\u4fe1TEL&#8221; : &#8220;0731235678&#8221;, &#8220;\u4ee3\u8868TEL&#8221; : &#8220;0731237777&#8221;, &#8220;\u7a2e\u5225&#8221; : &#8220;\u96fb\u8a71&#8221;, &#8220;\u4ee3\u7406\u5185\u7dda\u756a\u53f7&#8221; : &#8220;30&#8221; }<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 80px;\">\u203bPOST\u3001PUT\u3059\u308b\u969b\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f\u30011\u30ec\u30b3\u30fc\u30c9GET\u6642\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3068\u540c\u3058\u3067\u3059\u3002<br \/>\n<span style=\"color: #ff0000;\">\uff08\u4f46\u3057\u3001\u5148\u982d\u3068\u672b\u5c3e\u306e\u4e2d\u62ec\u5f27 [ ] \u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\uff09<\/span><\/p>\n<p style=\"padding-left: 80px;\">\u203bPOST\u3059\u308b\u969b\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u30ad\u30fc\u9805\u76ee\uff08ID\u3001\u9867\u5ba2ID\u3001\u56de\u7ddaNo\u306a\u3069\uff09\u306b\u306f 0\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\uff08\u3069\u306e\u3088\u3046\u306a\u6570\u5024\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3082\u81ea\u52d5\u7684\u306b\u6700\u5927\u756a\u53f7\u3067\u65b0\u898f\u767b\u9332\u3055\u308c\u307e\u3059\u3002\uff09<\/p>\n<p style=\"padding-left: 80px;\">\u203bPUT\u3059\u308b\u969b\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u30ad\u30fc\u9805\u76ee\uff08ID\u3001\u9867\u5ba2ID\u3001\u56de\u7ddaNo\u306a\u3069\uff09\u306b\u3069\u306e\u3088\u3046\u306a\u6570\u5024\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3082\u3001URI\u672b\u5c3e\u306e\u6570\u5b57\uff08\u6570\u5024\uff09\u3092\u30ad\u30fc\u306b\u3057\u3066\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u25c6\u30ec\u30b9\u30dd\u30f3\u30b9\u30c7\u30fc\u30bf\uff08JSON\u5f62\u5f0f\uff09\u306e\u4f8b<\/p>\n<p style=\"padding-left: 80px;\">{ &#8220;result&#8221; : &#8220;True&#8221;, &#8220;msg&#8221; : &#8220;\u6b63\u5e38\u7d42\u4e86&#8221; }<\/p>\n<p style=\"padding-left: 80px;\">\u203bPOST\u3001PUT\u3001DELETE \u306e\u623b\u308a\u5024\u306f\u3001\u5168\u3066\u3053\u306e\u5f62\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 80px;\">\u203bGET\u306e\u623b\u308a\u5024\u306f\u3000[{ \u30c7\u30fc\u30bf },{ \u30c7\u30fc\u30bf }, \u30fb\u30fb\u30fb]\u3000\u306e\u5f62\u3067\u3059\u3002\u30c7\u30fc\u30bf\u304c\u7a7a\u306e\u6642\u306f\u3000[ ]\u3000\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3010\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5229\u7528\u65b9\u6cd5\u3011<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>\u30b5\u30fc\u30d0\u30fc\u306b\u3059\u308b\u30d1\u30bd\u30b3\u30f3\u306b\u300c\u5149CTI\u30b9\u30de\u30fc\u30c8\u30b3\u30cd\u30af\u30c8\u30b5\u30fc\u30d3\u30b9\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<li>\u4ee5\u4e0b\u306e\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08JavaScript\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u3011\u3092\u53c2\u8003\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u4f5c\u6210\u3057\u305f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08JavaScript\uff09\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u4e0a\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002\uff08\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304f\uff09<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u3010\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u3011<\/p>\n<ul>\n<li>55963\u30dd\u30fc\u30c8\uff08\u30b5\u30fc\u30d3\u30b9\u5074\u306e\u30d1\u30bd\u30b3\u30f3\u3067\u30aa\u30fc\u30d7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002\uff09<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08JavaScript\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2460\u3000GET\u306e\u4f8b\u3011<\/p>\n<pre class=\"lang:default decode:true\" title=\"get.html\">&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"\/&gt;\r\n  &lt;title&gt;&lt;\/title&gt;\r\n  &lt;script type=\"text\/javascript\"&gt;\r\n    var xhr = new XMLHttpRequest();\r\n    xhr.open(\"GET\", \"http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\", true);\r\n    xhr.setRequestHeader('Content-type','application\/json; charset=utf-8');\r\n    xhr.setRequestHeader('DataType', 'json');\r\n    xhr.setRequestHeader('Accept', '*\/*');\r\n    xhr.setRequestHeader('Accept-Language','ja,en-US;q=0.9,en;q=0.8');\r\n    \r\n    xhr.onload = function (e) {\r\n      if (xhr.readyState === 4) {\r\n        if (xhr.status === 200) {\r\n          console.log(xhr.responseText);\r\n        } else {\r\n          console.error(xhr.statusText);\r\n        }\r\n      }\r\n    };\r\n\r\n    xhr.onerror = function (e) {\r\n      console.error(xhr.statusText);\r\n    };\r\n    \r\n    xhr.send(null); \r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08JavaScript\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2461\u3000POST\u306e\u4f8b\u3011<\/p>\n<pre class=\"lang:default decode:true\" title=\"post.html\">&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"\/&gt;\r\n  &lt;title&gt;&lt;\/title&gt;\r\n  &lt;script type=\"text\/javascript\"&gt;\r\n    var data = {};\r\n    data.\u56de\u7ddaNo  = \"1\";\r\n    data.\u7740\u4fe1TEL = \"0731235678\";\r\n    data.\u4ee3\u8868TEL = \"0731237777\";\r\n    data.\u7a2e\u5225    = \"\u96fb\u8a71\";\r\n    data.\u4ee3\u7406\u5185\u7dda\u756a\u53f7  = \"30\";\r\n    var json = JSON.stringify(data);\r\n\r\n    var xhr = new XMLHttpRequest();\r\n    xhr.open(\"POST\", \"http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\", true);\r\n    xhr.setRequestHeader('Content-type','application\/json; charset=utf-8');\r\n    xhr.setRequestHeader('DataType', 'json');\r\n    xhr.setRequestHeader('Accept', '*\/*');\r\n    xhr.setRequestHeader('Accept-Language','ja,en-US;q=0.9,en;q=0.8');\r\n\r\n    xhr.onload = function () {\r\n      var lines = JSON.parse(xhr.responseText);\r\n      if (xhr.readyState === 4) {\r\n        if(xhr.status === 201) {\r\n          console.table(lines);\r\n        } else {\r\n          console.error(lines);\r\n        }\r\n      }\r\n    };\r\n    \r\n    xhr.send(json);\r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08JavaScript\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2462\u3000PUT\u306e\u4f8b\u3011<\/p>\n<pre class=\"lang:default decode:true \" title=\"put.html\">&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"\/&gt;\r\n  &lt;title&gt;&lt;\/title&gt;\r\n  &lt;script type=\"text\/javascript\"&gt;\r\n    var data = {};\r\n    data.\u56de\u7ddaNo  = \"1\";\r\n    data.\u7740\u4fe1TEL = \"0731231111\";\r\n    data.\u4ee3\u8868TEL = \"0731238888\";\r\n    data.\u7a2e\u5225    = \"FAX\";\r\n    data.\u4ee3\u7406\u5185\u7dda\u756a\u53f7  = \"50\";\r\n    var json = JSON.stringify(data);\r\n\r\n    var xhr = new XMLHttpRequest();\r\n    xhr.open(\"PUT\", \"http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\/3\", true);\r\n    xhr.setRequestHeader('Content-type','application\/json; charset=utf-8');\r\n    xhr.setRequestHeader('DataType', 'json');\r\n    xhr.setRequestHeader('Accept', '*\/*');\r\n    xhr.setRequestHeader('Accept-Language','ja,en-US;q=0.9,en;q=0.8');\r\n\r\n    xhr.onload = function () {\r\n      var lines = JSON.parse(xhr.responseText);\r\n      if (xhr.readyState === 4) {\r\n        if(xhr.status === 200) {\r\n          console.table(lines);\r\n        } else {\r\n          console.error(lines);\r\n        }\r\n      }\r\n    };\r\n    \r\n    xhr.send(json);\r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08JavaScript\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2463\u3000DELETE\u306e\u4f8b\u3011<\/p>\n<pre class=\"lang:default decode:true \" title=\"delete.html\">&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"\/&gt;\r\n  &lt;title&gt;&lt;\/title&gt;\r\n  &lt;script type=\"text\/javascript\"&gt;\r\n    var xhr = new XMLHttpRequest();\r\n    xhr.open(\"DELETE\", \"http:\/\/localhost:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\/4\", true);\r\n    xhr.setRequestHeader('Content-type','application\/json; charset=utf-8');\r\n    xhr.setRequestHeader('DataType', 'json');\r\n    xhr.setRequestHeader('Accept', '*\/*');\r\n    xhr.setRequestHeader('Accept-Language','ja,en-US;q=0.9,en;q=0.8');\r\n    \r\n    xhr.onload = function (e) {\r\n      if (xhr.readyState === 4) {\r\n        if (xhr.status === 200) {\r\n          console.log(xhr.responseText);\r\n        } else {\r\n          console.error(xhr.statusText);\r\n        }\r\n      }\r\n    };\r\n\r\n    xhr.onerror = function (e) {\r\n      console.error(xhr.statusText);\r\n    };\r\n    \r\n    xhr.send(null); \r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3010\u5b9f\u884c\u753b\u9762\u30b5\u30f3\u30d7\u30eb\u3011<\/p>\n<p style=\"padding-left: 40px;\">\u2460GET\u306e\u4f8b<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22824\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45-300x169.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45-1024x576.png 1024w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45-50x28.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45-820x461.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_45.png 1362w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u2461POST\u306e\u4f8b<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22825\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31-300x168.png\" alt=\"\" width=\"300\" height=\"168\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31-300x168.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31-1024x574.png 1024w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31-50x28.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31-820x460.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_05h46_31.png 1365w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u2462PUT\u306e\u4f8b<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22831\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05-300x169.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05-1024x575.png 1024w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05-50x28.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05-820x461.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h41_05.png 1365w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">\u2463DELETE\u306e\u4f8b<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22833\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38-300x169.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38-1024x575.png 1024w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38-50x28.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38-820x461.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2019\/11\/2019-11-12_12h54_38.png 1365w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u3010\u5149CTI\u30b9\u30de\u30fc\u30c8\u30b3\u30cd\u30af\u30c8\u30b5\u30fc\u30d3\u30b9RESTful API\u4ed5\u69d8\u3011<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 1199px;\">\n<thead>\n<tr style=\"height: 24px;\">\n<th style=\"height: 24px; width: 30%;\" scope=\"row\">\u30c7\u30fc\u30bf\u540d\u79f0<\/th>\n<th style=\"height: 24px; width: 30%;\" scope=\"row\">\u30c7\u30fc\u30bf\u306e\u8981\u6c42\u30fb\u5fdc\u7b54\u306e\u30bf\u30a4\u30d7<\/th>\n<th style=\"height: 24px; width: 40%;\" scope=\"row\">URI<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u53ce\u5bb9\u56de\u7dda<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/ContainmentLine<\/p>\n<p>\/ContainmentLine\/\uff08\u56de\u7ddaNo\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">SIP\u30b5\u30fc\u30d0\u30fc\u63a5\u7d9a\u8a2d\u5b9a<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/SIP-ServerConnection<\/p>\n<p>\/SIP-ServerConnection\/\uff08ID\uff09<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bID \u306f2\u4ee5\u4e0a<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; width: 30%;\">\u63a5\u7d9a\u4e2d\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 23px; width: 30%;\">\u30c7\u30fc\u30bf\u5fdc\u7b54\u306e\u307fJSON<\/td>\n<td style=\"height: 23px; width: 40%;\">\/ConnectedClient<\/p>\n<p>\/ConnectedClient\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u9867\u5ba2\u30a2\u30c9\u30ec\u30b9\u5e33<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/CustomerAddress<\/p>\n<p>\/CustomerAddress\/\uff08\u9867\u5ba2ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u7740\u4fe1\u8a18\u9332<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/ReceivedCall-Record<\/p>\n<p>\/ReceivedCall-Record\/\uff08ID\uff09<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\">\u203b\u4ee5\u4e0b\u306f\u3001GET\u306e\u307f\u6709\u52b9<\/span><\/p>\n<p>\/ReceivedCall-Record\/\uff08TOP\uff09\/\uff08DESCENDING\uff09\/\uff08K_ID\uff09\/\uff08FROM\uff09<\/p>\n<ul>\n<li>TOP=0 \u2026 \u5168\u4ef6\uff08\u5168ID\uff09<br \/>\nTOP=0\u4ee5\u5916 \u2026 \u6700\u5927\u8868\u793a\u4ef6\u6570<\/li>\n<li>DESCENDING=True(true) \u2026 \u964d\u9806<br \/>\nDESCENDING=False(false) \u2026 \u6607\u9806<\/li>\n<li>K_ID=0 \u2026 \u5168\u9867\u5ba2<br \/>\nK_ID=0\u4ee5\u5916 \u2026 \u7279\u5b9a\u306e\u9867\u5ba2ID\u3067\u62bd\u51fa<\/li>\n<li>FROM=Null \u2026 \u76f8\u624bTEL\u3092\u6307\u5b9a\u3057\u306a\u3044<br \/>\nFROM=\u76f8\u624bTEL&amp;\u76f8\u624bTEL&amp; \u2026\u00a0 = \u76f8\u624bTEL\u3092\u6700\u59276\u3064\u307e\u3067\u6307\u5b9a\u53ef\u80fd\uff08\u76f8\u624bTEL\u3068\u76f8\u624bTEL\u306e\u9593\u306e\u533a\u5207\u308a\u306f\u300c&amp;\u300d\u3092\u633f\u5165\u3059\u308b\uff09<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u7740\u4fe1\u6642URL\u547c\u51fa<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/IncomingCall-URL<\/p>\n<p>\/IncomingCall-URL\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u7740\u4fe1\u6642\u30b3\u30de\u30f3\u30c9\u547c\u51fa<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/IncomingCall-Command<\/p>\n<p>\/IncomingCall-Command\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u901a\u77e5\u5148LINE\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/Notification-LINE-AccessToken<\/p>\n<p>\/Notification-LINE-AccessToken\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u901a\u77e5\u5148\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/Notification-Email-Address<\/p>\n<p>\/Notification-Email-Address\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px; width: 30%;\">\u96fb\u8a71\u756a\u53f7\u691c\u7d22\u30b5\u30a4\u30c8<\/td>\n<td style=\"height: 24px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 24px; width: 40%;\">\/PhoneNumber-SearchSite<\/p>\n<p>\/PhoneNumber-SearchSite\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30e1\u30c3\u30bb\u30fc\u30b8\u5b9a\u7fa9_\u30e1\u30fc\u30eb\u7528<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/MessDef-Mail<\/p>\n<p>\/MessDef-Mail\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30e1\u30c3\u30bb\u30fc\u30b8\u5b9a\u7fa9_LINE\u7528<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/MessDef-Line<\/p>\n<p>\/MessDef-Line\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30e1\u30c3\u30bb\u30fc\u30b8\u5b9a\u7fa9_\u30c8\u30fc\u30b9\u30c8\u7528<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/MessDef-Toast<\/p>\n<p>\/MessDef-Toast\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30e1\u30fc\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/Mail-Account<\/p>\n<p>\/Mail-Account\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30aa\u30f3\u30e9\u30a4\u30f3\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/Online-Activation<\/p>\n<p>\/Online-Activation\/\uff08ID\uff09<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bID \u306f2\u4ee5\u4e0a<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/DataBackup<\/p>\n<p>\/DataBackup\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/UserManagement<\/p>\n<p>\/UserManagement\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">CSV\u30c7\u30fc\u30bf\u51fa\u529b<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/Output-CSV<\/p>\n<p>\/Output-CSV\/\uff08ID\uff09<\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px; width: 30%;\">EXCEL\u30c7\u30fc\u30bf\u51fa\u529b<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\">\u203bGET\u3001POST\u3001PUT\u306e\u307f<\/span><\/p>\n<\/td>\n<td style=\"height: 96px; width: 30%;\">\u30c7\u30fc\u30bf\u8981\u6c42\u30fb\u5fdc\u7b54\u3068\u3082\u306bJSON<\/td>\n<td style=\"height: 96px; width: 40%;\">\/Output-EXCEL<\/p>\n<p>\/Output-EXCEL\/\uff08ID\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5149CTI\u30b9\u30de\u30fc\u30c8\u30b3\u30cd\u30af\u30c8\u30b5\u30fc\u30d3\u30b9\u306f\u3001\u4ee5\u4e0b\u306eRESTful API\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002 &nbsp; \u3010RESTful [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-22076","page","type-page","status-publish","hentry"],"wppr_data":{"cwp_meta_box_check":"No"},"_links":{"self":[{"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/22076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22076"}],"version-history":[{"count":222,"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/22076\/revisions"}],"predecessor-version":[{"id":22972,"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/22076\/revisions\/22972"}],"wp:attachment":[{"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}