{"id":22974,"date":"2020-01-17T21:51:47","date_gmt":"2020-01-17T12:51:47","guid":{"rendered":"https:\/\/agrimo.jp\/wp\/?page_id=22974"},"modified":"2020-01-18T08:04:15","modified_gmt":"2020-01-17T23:04:15","slug":"%ef%bc%91%ef%bc%8erestful-api-3","status":"publish","type":"page","link":"https:\/\/agrimo.jp\/wp\/?page_id=22974","title":{"rendered":"\uff14\uff0eRESTful API\uff08Xamarin.Forms\uff09"},"content":{"rendered":"<p><strong>\u2605\u3054\u6ce8\u610f<\/strong><\/p>\n<p style=\"padding-left: 40px;\">\u4ee5\u4e0b\u306f\u3001Microsoft Visual Studio Community 2019 \u306e Xamarin.Forms \u3092\u4f7f\u7528\u3057\u3066\u3001Android\u30fbiOS\u30fbUWP\u5411\u3051\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3059\u308b\u5834\u5408\u3092\u60f3\u5b9a\u3057\u305f RESTful API \u306e\u3054\u8aac\u660e\u3068\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<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>Microsoft Visual Studio Community 2019 \u3067 Xamarin.Forms\u306e\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-08_23h48_38.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22940\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-08_23h48_38-300x208.png\" alt=\"\" width=\"300\" height=\"208\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-08_23h48_38-300x208.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-08_23h48_38-50x35.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-08_23h48_38-820x569.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-08_23h48_38.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>NuGet\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067 Xamarin.Forms \u4ed6\u3092\u6700\u65b0\u306e\u72b6\u614b\u306b\u66f4\u65b0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22997\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33-300x160.png\" alt=\"\" width=\"300\" height=\"160\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33-300x160.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33-1024x546.png 1024w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33-50x27.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33-820x437.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-18_07h58_33.png 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>UWP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u306f\u3001\u6a5f\u80fd\u306e\u300c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\uff08\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff09\u300d\u3068\u300c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u30fc\uff09\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22964\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06-300x160.png\" alt=\"\" width=\"300\" height=\"160\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06-300x160.png 300w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06-1024x547.png 1024w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06-50x27.png 50w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06-820x438.png 820w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/2020-01-17_07h54_06.png 1364w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>\u4ee5\u4e0b\u306e\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08Xamarin.Forms\u7528\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2460\u3000MainPage.xaml\u3011\u3092\u53c2\u8003\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u4ee5\u4e0b\u306e\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08Xamarin.Forms\u7528\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2461\u3000MainPage.xaml.cs\u3011\u3092\u53c2\u8003\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u4ee5\u4e0b\u306e\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08Xamarin.Forms\u7528\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2462\u3000\u53ce\u5bb9\u56de\u7dda.cs\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\uff08Xamarin.Forms\u7528\uff09\u3092\u30d3\u30eb\u30c9\u5f8c\u3001\u5b9f\u6a5f\uff08Android\u30fbiOS\u30fbUWP\uff09\u4e0a\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/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\uff08Xamarin.Forms\u7528\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2460\u3000MainPage.xaml\u3011<\/p>\n<pre class=\"lang:default decode:true\" title=\"MainPage.xaml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\" ?&gt;\r\n&lt;ContentPage xmlns=\"http:\/\/xamarin.com\/schemas\/2014\/forms\"\r\n             xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml\"\r\n             xmlns:d=\"http:\/\/xamarin.com\/schemas\/2014\/forms\/design\"\r\n             xmlns:mc=\"http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006\"\r\n             mc:Ignorable=\"d\"\r\n             x:Class=\"Client_REST_Sample.MainPage\"&gt;\r\n\r\n    &lt;StackLayout&gt;\r\n        &lt;!-- Place new controls here --&gt;\r\n        &lt;Label Text=\"Xamarin.Forms REST\u30b5\u30f3\u30d7\u30eb\" \r\n           HorizontalOptions=\"Center\"\r\n           VerticalOptions=\"CenterAndExpand\" \/&gt;\r\n        &lt;Button Text=\"GET\" x:Name=\"Btn_GET\" Clicked=\"Btn_GET_Clicked\" \/&gt;\r\n        &lt;Button Text=\"POST\" x:Name=\"Btn_POST\" Clicked=\"Btn_POST_Clicked\" \/&gt;\r\n        &lt;Button Text=\"PUT\" x:Name=\"Btn_PUT\" Clicked=\"Btn_PUT_Clicked\" \/&gt;\r\n        &lt;Button Text=\"DELETE\" x:Name=\"Btn_DELETE\" Clicked=\"Btn_DELETE_Clicked\" \/&gt;\r\n    &lt;\/StackLayout&gt;\r\n\r\n&lt;\/ContentPage&gt;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08Xamarin.Forms\u7528\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2461\u3000MainPage.xaml.cs\u3011<\/p>\n<pre class=\"lang:default decode:true \" title=\"MainPage.xaml.cs\">using Newtonsoft.Json;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.ComponentModel;\r\nusing System.Linq;\r\nusing System.Net.Http;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\nusing Xamarin.Forms;\r\n\r\nnamespace Client_REST_Sample\r\n{\r\n    \/\/ Learn more about making custom code visible in the Xamarin.Forms previewer\r\n    \/\/ by visiting https:\/\/aka.ms\/xamarinforms-previewer\r\n    [DesignTimeVisible(false)]\r\n    public partial class MainPage : ContentPage\r\n    {\r\n        HttpClient _client;\r\n\r\n        public MainPage()\r\n        {\r\n            InitializeComponent();\r\n\r\n            _client = new HttpClient();\r\n        }\r\n\r\n        private async Task&lt;List&lt;\u53ce\u5bb9\u56de\u7dda&gt;&gt; GET_DataAsync()\r\n        {\r\n            var uri = new Uri(string.Format(\"http:\/\/192.168.1.13:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\", string.Empty));\r\n            var response = await _client.GetAsync(uri);\r\n            if (response.IsSuccessStatusCode)\r\n            {\r\n                var content = await response.Content.ReadAsStringAsync();\r\n                var Items = JsonConvert.DeserializeObject&lt;List&lt;\u53ce\u5bb9\u56de\u7dda&gt;&gt;(content);\r\n                return Items;\r\n            }\r\n            else\r\n            {\r\n                return null;\r\n            }\r\n        }\r\n\r\n        private async Task&lt;bool&gt; POST_DataAsync(\u53ce\u5bb9\u56de\u7dda item, bool isNewItem = false)\r\n        {\r\n            var uri = new Uri(string.Format(\"http:\/\/192.168.1.13:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\", string.Empty));\r\n            var json = JsonConvert.SerializeObject(item);\r\n            var content = new StringContent(json, Encoding.UTF8, \"application\/json\");\r\n\r\n            HttpResponseMessage response = null;\r\n            if (isNewItem)\r\n            {\r\n                response = await _client.PostAsync(uri, content);\r\n            }\r\n\r\n            if (response.IsSuccessStatusCode)\r\n            {\r\n                return true;\r\n            }\r\n            else\r\n            {\r\n                return false;\r\n            }\r\n        }\r\n\r\n        private async Task&lt;bool&gt; PUT_DataAsync(\u53ce\u5bb9\u56de\u7dda item, bool isNewItem = false)\r\n        {\r\n            var uri = new Uri(string.Format(\"http:\/\/192.168.1.13:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\" + \"\/\" + item.\u56de\u7ddaNo.ToString(), string.Empty));\r\n            var json = JsonConvert.SerializeObject(item);\r\n            var content = new StringContent(json, Encoding.UTF8, \"application\/json\");\r\n\r\n            HttpResponseMessage response = null;\r\n            if (isNewItem)\r\n            {\r\n                response = await _client.PutAsync(uri, content);\r\n            }\r\n\r\n            if (response.IsSuccessStatusCode)\r\n            {\r\n                return true;\r\n            }\r\n            else\r\n            {\r\n                return false;\r\n            }\r\n        }\r\n\r\n        public async Task&lt;bool&gt; DELETE_DataAsync(long id)\r\n        {\r\n            var uri = new Uri(string.Format(\"http:\/\/192.168.1.13:55963\/CTI_SmartConnectService\/RestService\/ContainmentLine\" + \"\/\" + id.ToString(), string.Empty));\r\n            var response = await _client.DeleteAsync(uri);\r\n\r\n            if (response.IsSuccessStatusCode)\r\n            {\r\n                return true;\r\n            }\r\n            else\r\n            {\r\n                return false;\r\n            }\r\n        }\r\n\r\n        private async void Btn_GET_Clicked(object sender, EventArgs e)\r\n        {\r\n            try\r\n            {\r\n                var x = await GET_DataAsync();\r\n                foreach (\u53ce\u5bb9\u56de\u7dda item in x)\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\",\r\n                        \"\u56de\u7ddaNo: \" + item.\u56de\u7ddaNo + \"\\r\\n\" +\r\n                        \"\u7740\u4fe1TEL: \" + item.\u7740\u4fe1TEL + \"\\r\\n\" +\r\n                        \"\u4ee3\u8868TEL: \" + item.\u4ee3\u8868TEL + \"\\r\\n\" +\r\n                        \"\u7a2e\u5225: \" + item.\u7a2e\u5225 + \"\\r\\n\" +\r\n                        \"\u4ee3\u7406\u5185\u7dda\u756a\u53f7: \" + item.\u4ee3\u7406\u5185\u7dda\u756a\u53f7\r\n\r\n                        , \"OK\");\r\n                }\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                await DisplayAlert(\"\u30a8\u30e9\u30fc\", ex.Message, \"OK\");\r\n            }\r\n        }\r\n\r\n        private async void Btn_POST_Clicked(object sender, EventArgs e)\r\n        {\r\n            try\r\n            {\r\n                \u53ce\u5bb9\u56de\u7dda _item = new \u53ce\u5bb9\u56de\u7dda();\r\n                _item.\u56de\u7ddaNo = 0;\r\n                _item.\u7740\u4fe1TEL = \"0731112222\";\r\n                _item.\u4ee3\u8868TEL = \"0731111111\";\r\n                _item.\u7a2e\u5225 = \"\u96fb\u8a71\";\r\n                _item.\u4ee3\u7406\u5185\u7dda\u756a\u53f7 = \"3000\";\r\n\r\n                var x = await POST_DataAsync(_item, true);\r\n                if (x == true)\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\", \"\uff30\uff2f\uff33\uff34\u51fa\u6765\u307e\u3057\u305f\u3002\", \"OK\");\r\n                }\r\n                else\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\", \"\uff30\uff2f\uff33\uff34\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\", \"OK\");\r\n                }\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                await DisplayAlert(\"\u30a8\u30e9\u30fc\", ex.Message, \"OK\");\r\n            }\r\n        }\r\n\r\n        private async void Btn_PUT_Clicked(object sender, EventArgs e)\r\n        {\r\n            try\r\n            {\r\n                \u53ce\u5bb9\u56de\u7dda _item = new \u53ce\u5bb9\u56de\u7dda();\r\n                _item.\u56de\u7ddaNo = 4;\r\n                _item.\u7740\u4fe1TEL = \"0731113333\";\r\n                _item.\u4ee3\u8868TEL = \"0731111111\";\r\n                _item.\u7a2e\u5225 = \"\u96fb\u8a71\";\r\n                _item.\u4ee3\u7406\u5185\u7dda\u756a\u53f7 = \"2000\";\r\n\r\n                var x = await PUT_DataAsync(_item, true);\r\n                if (x == true)\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\", \"\uff30\uff35\uff34\u51fa\u6765\u307e\u3057\u305f\u3002\", \"OK\");\r\n                }\r\n                else\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\", \"\uff30\uff35\uff34\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\", \"OK\");\r\n                }\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                await DisplayAlert(\"\u30a8\u30e9\u30fc\", ex.Message, \"OK\");\r\n            }\r\n        }\r\n\r\n        private async void Btn_DELETE_Clicked(object sender, EventArgs e)\r\n        {\r\n            try\r\n            {\r\n                var x = await DELETE_DataAsync(4);\r\n                if (x == true)\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\", \"\uff24\uff25\uff2c\uff25\uff34\uff25\u51fa\u6765\u307e\u3057\u305f\u3002\", \"OK\");\r\n                }\r\n                else\r\n                {\r\n                    await DisplayAlert(\"\u53ce\u5bb9\u56de\u7dda\", \"\uff24\uff25\uff2c\uff25\uff34\uff25\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\", \"OK\");\r\n                }\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                await DisplayAlert(\"\u30a8\u30e9\u30fc\", ex.Message, \"OK\");\r\n            }\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\uff08Xamarin.Forms\u7528\uff09\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u2462\u3000\u53ce\u5bb9\u56de\u7dda.cs\u3011<\/p>\n<pre class=\"lang:default decode:true \" title=\"\u53ce\u5bb9\u56de\u7dda.cs\">using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace Client_REST_Sample\r\n{\r\n    class \u53ce\u5bb9\u56de\u7dda\r\n    {\r\n        public long \u56de\u7ddaNo { get; set; }\r\n        public string \u7740\u4fe1TEL { get; set; }\r\n        public string \u4ee3\u8868TEL { get; set; }\r\n        public string \u7a2e\u5225 { get; set; }\r\n        public string \u4ee3\u7406\u5185\u7dda\u756a\u53f7 { get; set; }\r\n    }\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u3010\u5b9f\u884c\u753b\u9762\u30b5\u30f3\u30d7\u30eb\u3011<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266674.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22984\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266674-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266674-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266674-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266674-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266674.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> <a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266678.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22985\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266678-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266678-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266678-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266678-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266678.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> <a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266681.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22986\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266681-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266681-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266681-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266681-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266681.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> <a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266685.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22987\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266685-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266685-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266685-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266685-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266685.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> <a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266689.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22988\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266689-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266689-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266689-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266689-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266689.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> <a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266694.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22989\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266694-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266694-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266694-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266694-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266694.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> <a href=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266699.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22990\" src=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266699-180x300.png\" alt=\"\" width=\"180\" height=\"300\" srcset=\"https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266699-180x300.png 180w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266699-614x1024.png 614w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266699-30x50.png 30w, https:\/\/agrimo.jp\/wp\/wp-content\/uploads\/2020\/01\/Screenshot_1579266699.png 768w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/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>\u2605\u3054\u6ce8\u610f \u4ee5\u4e0b\u306f\u3001Microsoft Visual Studio Community 2019 \u306e Xamar [&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-22974","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\/22974","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=22974"}],"version-history":[{"count":10,"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/22974\/revisions"}],"predecessor-version":[{"id":22999,"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/22974\/revisions\/22999"}],"wp:attachment":[{"href":"https:\/\/agrimo.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}