﻿{"id":3496,"date":"2023-12-06T16:21:33","date_gmt":"2023-12-06T08:21:33","guid":{"rendered":"http:\/\/wmsapi.amtxts.com\/?p=3496"},"modified":"2024-09-27T16:32:23","modified_gmt":"2024-09-27T08:32:23","slug":"api%e7%96%91%e9%9a%be%e6%8e%92%e8%a7%a3","status":"publish","type":"post","link":"http:\/\/wmsapi.amtxts.com\/?p=3496","title":{"rendered":"API\u7591\u96be\u6392\u89e3"},"content":{"rendered":"<table style=\"border-collapse: collapse; width: 100%; height: 735px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 24px;\"><span style=\"font-size: 12pt;\"><strong>\u9879<\/strong><\/span><\/td>\n<td style=\"width: 30.2777%; height: 24px; text-align: center;\"><span style=\"font-size: 12pt;\"><strong>API\u9519\u8bef\u4fe1\u606f<\/strong><\/span><\/td>\n<td style=\"width: 61.1111%; height: 24px; text-align: center;\"><span style=\"font-size: 12pt;\"><strong>\u89e3\u51b3\u529e\u6cd5<\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 49px;\">1<\/td>\n<td style=\"width: 30.2777%; height: 49px;\">\u6765\u6e90IP\u88ab\u9650\u5236\u8bbf\u95ee [192.168.2.179]<\/td>\n<td style=\"width: 61.1111%; height: 49px;\">\u5728\u3010\u7cfb\u7edf\u8bbe\u5b9a\u3011\u4e2d\u8bbe\u7f6e\u767d\u540d\u5355\uff0c\u8be6\u7ec6\u70b9\u51fb\u67e5\u770b\u3010<a href=\".\/?p=3469\"><strong>WMS\u6807\u51c6API\u589e\u52a0\u767d\u540d\u5355\u53ca\u63a5\u53e3\u7684\u63a7\u5236<\/strong><\/a>\u3011<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 24px;\">2<\/td>\n<td style=\"width: 30.2777%; height: 24px;\">\u67e5\u8be2\u5931\u8d25:\u5f53\u524d\u63a5\u53e3\u672a\u5f00\u653e\u5916\u90e8\u8c03\u7528\uff01<\/td>\n<td style=\"width: 61.1111%; height: 24px;\">\u5728\u3010\u7cfb\u7edf\u8bbe\u5b9a\u3011\u4e2d\u8bbe\u7f6e\u5141\u8bb8\u5916\u90e8\u8c03\u7528\u63a5\u53e3\uff0c\u8be6\u7ec6\u70b9\u51fb\u67e5\u770b\u3010<a href=\".\/?p=3469\"><strong>WMS\u6807\u51c6API\u589e\u52a0\u767d\u540d\u5355\u53ca\u63a5\u53e3\u7684\u63a7\u5236<\/strong><\/a>\u3011<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 49px;\">3<\/td>\n<td style=\"width: 30.2777%; height: 49px;\">\u8fd9\u4e9b\u5217\u5f53\u524d\u4e0d\u5177\u6709\u552f\u4e00\u503c<\/td>\n<td style=\"width: 61.1111%; height: 49px;\">\u68c0\u67e5\u6570\u636e\u7684\u4e3b\u952e\u548c\u552f\u4e00\u9879\u6b21\uff08\u6bd4\u5982EST_ITM) \u662f\u5426\u552f\u4e00\uff0c\u5982\u679c\u662fWMS\u63a8\u9001\u5355\u636e\uff0c\u5219\u9700\u8981\u68c0\u67e5\u6765\u6e90\u5355\u7684\u6570\u636e\u662f\u5426\u5b58\u5728\u4ee5\u4e0a\u95ee\u9898\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 98px;\">4<\/td>\n<td style=\"width: 30.2777%; height: 98px;\">ERPAPI\uff1a\u8f93\u5165\u5b57\u7b26\u4e32\u7684\u683c\u5f0f\u4e0d\u6b63\u786e\u3002<\/td>\n<td style=\"width: 61.1111%; height: 98px;\">\u8be5\u63d0\u793a\u662fERP\u5728\u751f\u6210\u5355\u636e\u65f6\u67d0\u680f\u4f4d\u503c\u4e0d\u7b26\u5408\u6b64\u680f\u4f4d\u7c7b\u578b\u800c\u62a5\u5f02\u5e38\u3002\u9996\u5148\uff0c\u6839\u636eWMS\u63a8\u9001\u7684\u5185\u5bb9\u5bf9\u5e94\u5230ERP\u76f8\u5173\u680f\u4f4d\u503c\u7684\u7c7b\u578b\u662f\u5426\u7b26\u5408\uff0c\u5176\u6b21\uff0cERP\u5176\u4ed6\u680f\u4f4d\u53d6\u9ed8\u8ba4\u503c\u7684\u7c7b\u578b\u662f\u5426\u7b26\u5408\u3002\u603b\u4e4b\uff0c\u68c0\u67e5\u9700\u8981\u751f\u6210ERP\u5355\u636e\u7684\u5404\u4e2a\u680f\u4f4d\u503c\u4e0e\u76f8\u5e94\u680f\u4f4d\u7c7b\u578b\u662f\u5426\u7b26\u5408\u8981\u6c42\u3002<\/td>\n<\/tr>\n<tr style=\"height: 73px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 73px;\">5<\/td>\n<td style=\"width: 30.2777%; height: 73px;\">SqlDate Time overflow.Must be between 1\/1\/1753 12:00:00 AM and 12\/31\/9999 11:59:59 PM<\/td>\n<td style=\"width: 61.1111%; height: 73px;\">\u6b64\u63d0\u793a\u8868\u793aJSON\u91cc\u7684\u65f6\u95f4\u5b57\u6bb5\u683c\u5f0f\u4e0d\u7b26\u5408\u8981\u6c42\uff0cWMS\u8981\u6c42\u65f6\u95f4\u5b57\u6bb5\u683c\u5f0f\u5fc5\u987b\u662f\uff1aYYYY-MM-DD HH:mm:ss\uff0c\u8bf7\u5c06\u65f6\u95f4\u503c\u8f6c\u6362\u4e3a\u6b64\u683c\u5f0f\u540e\u518d\u4f20JSON\u3002<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 49px;\">6<\/td>\n<td style=\"width: 30.2777%; height: 49px;\">The remote server returned an error: (405) Method Not Allowed.<\/td>\n<td style=\"width: 61.1111%; height: 49px;\">\u8868\u793a\u670d\u52a1\u5668\u7981\u6b62\u4e86\u4f7f\u7528\u5f53\u524d HTTP \u65b9\u6cd5\u7684\u8bf7\u6c42\uff0c\u9700\u8981\u7f51\u7edc\u7ba1\u7406\u5458\u8fdb\u884c\u68c0\u67e5\u670d\u52a1\u5668\u7f51\u7edc\u95ee\u9898\u3002<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 49px;\">7<\/td>\n<td style=\"width: 30.2777%; height: 49px;\">The remote server returned an error: (500) Internal Server Error.<\/td>\n<td style=\"width: 61.1111%; height: 49px;\">\u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\uff0c\u8868\u793a\u63a5\u53e3\u4e0d\u901a\uff0c\u68c0\u67e5\u8bf7\u6c42\u5730\u5740\u662f\u5426\u6709\u8bef\uff0c\u5982\u63a5\u53e3\u901a\u8baf\u662f\u5426\u6b63\u5e38\u3001\u63a5\u53e3\u5730\u5740\u662f\u5426\u8f93\u5165\u6b63\u786e\u3001\u63a5\u53e3\u65b9\u6cd5\u540d\u662f\u5426\u6b63\u786e\u7b49\u3002<\/td>\n<\/tr>\n<tr style=\"height: 53px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 53px;\">8<\/td>\n<td style=\"width: 30.2777%; height: 53px;\">\u8fd4\u56de\u7a7a\u767d\uff0c\u4f46\u62a5&#8221;400 Bad Request&#8221;<\/td>\n<td style=\"width: 61.1111%; height: 53px;\">\u68c0\u67e5\u8bf7\u6c42\u5730\u5740\u662f\u5426\u6709\u8bef\uff0c\u5982\u5c06\u540e\u7aef\u5730\u5740\u201cWMS\u201d\u8f93\u9519\u4e3a\u524d\u7aef\u5730\u5740\u201cWMSWEB\u201d<\/td>\n<\/tr>\n<tr style=\"height: 73px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 73px;\">9<\/td>\n<td style=\"width: 30.2777%; height: 73px;\">Cannot set column &#8216;ERP_BIL_ID&#8217;. The value violates the Maxength limit of this column.<\/td>\n<td style=\"width: 61.1111%; height: 73px;\">\u8868\u793a\u67d0\u5b57\u6bb5\u503c\u8d85\u51fa\u9650\u5b9a\u7684\u957f\u5ea6\uff0c\u9700\u6839\u636e\u63a5\u53e3\u6587\u6863\u8981\u6c42\u7684\u5b57\u6bb5\u957f\u5ea6\u8fdb\u884c\u6838\u5b9e\uff0c\u4f20\u503c\u65f6\u5fc5\u987b\u662f\u5728\u8981\u6c42\u7684\u957f\u5ea6\u8303\u56f4\u5185\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 24px;\">10<\/td>\n<td style=\"width: 30.2777%; height: 24px;\">\n<div>\n<div>\n<div>&#8220;errors&#8221;:<span style=\"font-family: inherit; font-size: 0.875rem;\">&#8220;data.containerCode&#8221;:\u00a0<\/span><span style=\"font-family: inherit; font-size: 0.875rem;\">&#8220;The containerCode field is required.&#8221;<\/span><\/div>\n<\/div>\n<\/div>\n<p>&#8220;status&#8221;: 400<\/p>\n<\/td>\n<td style=\"width: 61.1111%; height: 24px;\">\u8868\u793a\u8bf7\u6c42\u7684JSON\u5185\u5bb9\u4e2d\u591a\u4e86\u6216\u8005\u5c11\u4e86\u67d0\u4e2a\u5b57\u6bb5\uff0c\u8bf7\u68c0\u67e5\uff0c\u4f8b\u5982\u8be5\u9519\u8bef\u4fe1\u606f\u5c31\u662f\u5c11\u4e86&#8221;<span style=\"font-family: inherit; font-size: 0.875rem;\">containerCode&#8221;\u53c2\u6570\u3002<\/span><\/td>\n<\/tr>\n<tr style=\"height: 73px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 73px;\">11<\/td>\n<td style=\"width: 30.2777%; height: 73px;\">\n<div>\n<div>\n<div>\u8fdc\u7a0b\u670d\u52a1\u5668\u8fd4\u56de\u9519\u8bef: (401) \u672a\u7ecf\u6388\u6743\u3002<\/div>\n<\/div>\n<\/div>\n<\/td>\n<td style=\"width: 61.1111%; height: 73px;\">\u8868\u793aWMS\u7cfb\u7edf\u672a\u6ce8\u518c\u6216\u5df2\u8fc7\u671f\uff0c\u6216WMS\u7684API\u6709\u6548\u65e5\u671f\u5df2\u8fc7\u671f\uff0c\u987b\u68c0\u67e5\u6ce8\u518c\u65e5\u671f\u662f\u5426\u5df2\u8fc7\u671f\uff0c\u82e5\u5ef6\u957f\u4e86\u6ce8\u518c\u65e5\u671f\uff0c\u987b\u5bf9WMS\u7cfb\u7edf\u91cd\u65b0\u6ce8\u518c\u7684\u3002<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 48px;\">12<\/td>\n<td style=\"width: 30.2777%; height: 48px;\">\n<div>\n<div>\n<div>An exception occurred during a WebClient request.<\/div>\n<\/div>\n<\/div>\n<\/td>\n<td style=\"width: 61.1111%; height: 48px;\">\u6b64\u95ee\u9898\u4e00\u822c\u662f\u8bf7\u6c42URL\u5730\u5740\u9519\u8bef\u5f15\u8d77\uff0c\u56e0\u6b64\uff0c\u987b\u68c0\u67e5\u8bf7\u6c42\u7684URL\u662f\u5426\u6b63\u786e\u3002<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 8.61107%; text-align: center; height: 49px;\">13<\/td>\n<td style=\"width: 30.2777%; height: 49px;\">\n<div>\n<div>\n<div>Value cannot be null. (Parameter &#8216;connectionString&#8217;)<\/div>\n<\/div>\n<\/div>\n<\/td>\n<td style=\"width: 61.1111%; height: 49px;\">\u8868\u793a\u63a5\u53e3\u8bf7\u6c42\u7684\u5e10\u5957\u4ee3\u53f7\u4e0d\u5b58\u5728\uff0c\u53ef\u68c0\u67e5\u63a5\u53e3\u7a0b\u5e8f\u6240\u8fde\u63a5\u7684\u5e10\u5957\u4ee3\u53f7\u662f\u5426\u6b63\u786e\uff0c\u5373web.config\u5bf9\u5e94\u7684\u5e10\u5957\u4ee3\u53f7\u503c\u662f\u5426\u6b63\u786e\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u9879 API\u9519\u8bef\u4fe1\u606f \u89e3\u51b3\u529e\u6cd5 1 \u6765\u6e90IP\u88ab\u9650\u5236\u8bbf\u95ee [19 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[68],"tags":[],"_links":{"self":[{"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=\/wp\/v2\/posts\/3496"}],"collection":[{"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3496"}],"version-history":[{"count":8,"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=\/wp\/v2\/posts\/3496\/revisions"}],"predecessor-version":[{"id":3849,"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=\/wp\/v2\/posts\/3496\/revisions\/3849"}],"wp:attachment":[{"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3496"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wmsapi.amtxts.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}