简体   繁体   English

QBO REST API-允许用户选择他们的公司

[英]QBO REST API - Allow user to pick their company

The Intuit API Browser does something I would like to do in my application. Intuit API浏览器在我的应用程序中做了我想做的事情。 It authenticates you and then provides a dropdown box that allows you tin interact with one or more tenants that your account may have access to. 它对您进行身份验证,然后提供一个下拉框,允许您与您的帐户可能有权访问的一个或多个租户进行交互。

How can I duplicate this behavior in my app? 如何在我的应用中复制此行为?

I would expect that I could call: 我希望可以打电话给:

https://quickbooks.api.intuit.com/v3/company/ https://quickbooks.api.intuit.com/v3/company/

To get back a list of all companies I have access to. 要获取我有权访问的所有公司的列表。

Searching the doco doesn't show anything like this. 搜索doco不会显示类似的内容。

Thoughts? 思考?

It is not possible to get a list of companies for a particular user. 无法获得特定用户的公司列表。 The OAuth flow will only grant tokens for 1 company (realm). OAuth流将仅授予1个公司(领域)的令牌。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM