当我尝试使用 PUT 访问 Acumatica Odata 链接时(已登录)
https://www.myaccumatica.com/MyCompany/odata/JSM Sync INTran?$format=json&$top=10
与 PUT 一起发送的数据是一个空集 {}。
PUT 返回以下错误
"odata.error": {
"code": "",
"message": {
"lang": "en-US",
"value": "No HTTP resource was found that matches the request URI 'https://www.myaccumatica.com/MyCompany/odata/JSM Sync INTran?$format=json&$top=10'."
},
"innererror": {
"message": "No routing convention was found to select an action for the OData path with template '~/entityset'.",
"type": "",
"stacktrace": ""
}
}
通用查询根据需要在站点地图中。
错误是 odata.error,所以我认为 Acumatica Odata 功能正在处理我的请求,但我无法弄清楚为什么它看不到通用查询。
