问题描述
当我尝试通过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功能正在处理我的请求,但是我无法弄清为什么它看不到通用查询。