我发布(使用POST方法)此请求(针对新帐户)到网址https://services.intuit.com/sb/account/v2/570357950
123456789 CurrentAccount true Expense Expense 1111
但是得到了这个错误:
我正在使用Intuit OAuth API控制台发布测试请求。 虽然我能够在同一场景中从QB桌面(通过IDS和Sync Manager)获取数据。
任何解决方案?
答案 0 :(得分:0)
该URL对POST数据无效。
如果您引用the documentation,您会发现创建帐户的正确网址格式为:
https://services.intuit.com/sb/<objectName>/v2/<realmID>
您使用的网址是:
https://services.intuit.com/sb/account/v2/
缺少组件(它应该是一个大约6到12位的整数)
修正您的网址。
答案 1 :(得分:0)
我的问题已解决。 使用intuit中的这个新实用程序来测试:http://apiexplorer.developer.intuit.com