-1

当我在我的 asp.net 应用程序中访问 Quick book intuit 合作伙伴平台请求 URL 时,我遇到了以下问题:

<?xml version="1.0"?>
-<IntuitResponse requestId="d726443543j5h4377w49hj34734hd6" time="2013-10-11T05:32:55.345Z" xmlns="http://schema.intuit.com/finance/v3">
-<Fault type="AUTHENTICATION">
-<Error code="3102">
<Message>message=No apptoken detected; errorCode=003102; statusCode=401</Message>
</Error>
</Fault>
</IntuitResponse>

如何传递 apptoken?

4

1 回答 1

1

PFB 示例 web.config。您需要在此文件中设置 consumerkey、c​​onsumerSecret 和 apptoken。

https://github.com/IntuitDeveloperRelations/IPP_Sample_Code/blob/master/QuickbooksAPI/DotNet/WebForms%20application/QuickBooksApiDotNetWebFormsSampleApp/Web.config

.Net 示例应用程序可在此处获得 - https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/sample_code

使用一些 RESTClients(如 mozilla 的 Rest 客户端插件),请验证您的 OAuth 令牌是否正确。

您可以使用 ApiExplorer 工具来调用这些端点。

https://developer.intuit.com/apiexplorer

谢谢

于 2013-10-11T07:55:10.383 回答