的Quickbooks API重新连接问题 [英] Quickbooks API reconnect issue

查看:229
本文介绍了的Quickbooks API重新连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过V3 API使用ColdFusion实现连接的Quickbooks,并拥有最一切除了重新连接工作(<一个href=\"https://appcenter.intuit.com/api/v1/connection/reconnect\">https://appcenter.intuit.com/api/v1/connection/reconnect).我能得到客户的信息,创建/更新发票等,但重新连接没有运气。

I've been implementing connectivity to Quickbooks via the v3 API with ColdFusion, and have most everything working except reconnect (https://appcenter.intuit.com/api/v1/connection/reconnect). I can get customer info, create/update invoices, etc, but no luck with reconnect.

这是我的应用程序我得到一个错误code 22(需要验证),但我要送,我送任何其他API调用来访问受保护的资源相同的AUTH头。 OAuth规范不明确有一个重新连接的动作,所以我的问题是具体的OAuth的性能有什么需要被列入AUTH头为QuickBooks的重新连接电话?

From my app I get an Error Code 22 (Authentication required), but I'm sending the same auth header that I send for any of the other API call to access a protected resource. The oauth spec does not specifically have a "reconnect" action so my question is what specific oauth properties need to be included in the auth header for the Quickbooks reconnect call?

从的OAuth 1.0规范是它的消费者请求访问令牌头吗?
结果
oauth_consumer_key结果
组oauth_token结果
oauth_signature_method结果
oauth_signature结果
oauth_timestamp结果
oauth_nonce结果
oauth_version结果
oauth_verifier结果

From the oauth 1.0 spec is it the headers for Consumer Requests an Access Token?
oauth_consumer_key
oauth_token
oauth_signature_method
oauth_signature
oauth_timestamp
oauth_nonce
oauth_version
oauth_verifier

或者是找来的标题访问受保护的资源的结果
oauth_consumer_key结果
组oauth_token结果
oauth_signature_method结果
oauth_signature:结果
oauth_timestamp结果
oauth_nonce结果
oauth_version结果

Or is it the header sent for accessing a protected resource
oauth_consumer_key
oauth_token
oauth_signature_method
oauth_signature:
oauth_timestamp
oauth_nonce
oauth_version

或者是一些其他的报头组?

Or, is it some other header set?

另外,我使用开发Playgorund 的测试重新连接尝试,并从那里我得到一个结果
24 - 无效应用程序令牌

Also, I've tried using the Dev Playgorund to test reconnect, and from there I get a
24 - Invalid App Token

所以我在在这一点上的损失。对于什么是值得断开正常工作:)

So I'm at a loss at this point. For what it's worth Disconnect works fine :)

任何帮助,指导,建议将是AP preciated。

Any help, guidance, suggestions would be appreciated.

感谢

推荐答案

要测试从开发商的操场重新连接,请使用以下步骤 -
1.导航到IPP Playground-转到管理我的Apps->点击您的应用程序

To test reconnect from developer playground, use the following steps- 1. Navigate to IPP Playground- Go to Manage My Apps->Click on your app

在消费的关键,并在下面的链接,消费者填写的秘密。

Fill in consumer key and consumer secret in links below.

正式版: https://appcenter.intuit.com/Playground/OAuth/ IA / CK = &LT;?>&安培; CS = LT;>
第一阶段: https://appcenter-stage.intuit.com/Playground/OAuth / IA / CK = &LT;?>&安培; CS = LT;>

Prod: https://appcenter.intuit.com/Playground/OAuth/IA/?ck=<>&cs=<> Stage: https://appcenter-stage.intuit.com/Playground/OAuth/IA/?ck=<>&cs=<>

另外,您也可以导航到该管理页面,您的应用程序在舞台上或督促并点击测试连接到应用程序(的OAuth)。屏幕截图附后。
2.输入您希望在访问令牌Duration字段已发行OAuth凭证(例如,3600成功重新连接)的持续时间。屏幕截图附后。
3.单击连接到QuickBooks的按钮,通过OAuth的流程授权,以一种境界的连接。
4.在产生后连接互动标题,单击重新连接API测试。屏幕截图附后。
5.新页面将推出,其中显示您的OAuth令牌。这些值复制到你的应用程序来测试重新连接

Alternatively, you can navigate to the Manage page for your app on stage or prod and click ‘Test connect to app (OAuth)’. Screen shot attached. 2. Enter the duration you would like for the issued OAuth tokens (e.g., 3600 for successful Reconnect) in the ‘Access Token Duration’ field. Screen shot attached. 3. Click on the Connect to QuickBooks button, go through OAuth flow to authorize a connection to a realm. 4. Under the resulting Post-Connection Interactions heading, click ‘Reconnect API Test’. Screen shot attached. 5. A new page will launch where your OAuth tokens are displayed. Copy these values to your application to test Reconnect

由于震动提到,开发/应用现场,有一个调用此API以刷新访问令牌的6个月的生活的一个窗口,它必须在最近30天之内。

As Jarred mentioned that for dev/live apps, there is a window for calling this API to refresh the 6 month life of the access token, it must be called in the last 30 days.

这篇关于的Quickbooks API重新连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆