简体   繁体   English

将客户添加到在线Quickbooks(qbXML)

[英]Add a customer to Quickbooks Online (qbXML)

I want to simply add a customer to Quickbooks Online from my .NET app. 我只想通过.NET应用程序将客户添加到Quickbooks Online。 What is the best way to do this and what would the code look like? 最好的方法是什么,代码将是什么样?

There are 2 ways to do this: you can use the QuickBooks SDK , construct an add customer XML message and send it to QuickBooks Online Edition (QBOE). 有两种方法可以执行此操作:可以使用QuickBooks SDK ,构造一条添加客户XML消息并将其发送到QuickBooks Online Edition(QBOE)。 Since you're in .NET you can also use the QBFC library which manages the XML for you and provides a structured API which is easier and safer to use than raw XML. 由于您使用的是.NET,因此您还可以使用QBFC库来为您管理XML,并提供结构化的API,该API比原始XML更易于使用和安全。

Or you can make a REST call using the Intuit Partner Platform (IPP). 或者,您可以使用Intuit合作伙伴平台 (IPP)进行REST调用。 The REST API for QBOE was still in Beta last I checked, but this is definitely the way of the future and will probably have more full featured support for QBOE eventually (There have always been fewer supported features for QBOE in the SDK vs. the desktop edition). 上次我检查过,用于QBOE的REST API仍处于Beta版,但这绝对是未来的方式,并且最终可能会提供对QBOE的更多全功能支持(相对于台式机,SDK中对QBOE的支持功能始终较少版)。

In both cases you'll have to deal with authentication. 在这两种情况下,您都必须处理身份验证。 For the SDK, you have to authorize the app and get a connection ticket. 对于SDK,您必须授权该应用并获得连接票。 For the IPP, you'll have to authorize the app and negotiate with the SAML gateway. 对于IPP,您必须授权应用程序并与SAML网关协商。

If you're just doing a custom application or messing around, you'll probably want to use the SDK because it's easier, particularly the authentication. 如果您只是在做一个自定义应用程序或搞乱,您可能会想使用SDK,因为它更容易实现,尤其是身份验证。 If you're building a product, IPP is worth a serious look. 如果您要构建产品,那么IPP值得一看。 If you are building a product, you should be aware that Microsoft currently has a support program called Frontrunner that provides some goodies if you use the IPP. 如果要构建产品,则应注意,Microsoft当前有一个名为Frontrunner的支持程序,如果您使用IPP,它会提供一些好处。

For QBOE, you can post XML to authenticate and add customers. 对于QBOE,您可以发布XML进行身份验证并添加客户。 Here is a link to get started: 这是入门的链接:

QBOE Integration QBOE整合

You'll need to use QBXML v 6, though you can get the XML here: 您将需要使用QBXML v 6,尽管您可以在此处获得XML:

http://developer.intuit.com/qbsdk-current/common/newosr/index.html http://developer.intuit.com/qbsdk-current/common/newosr/index.html

You can use XML Serialization to parse the XML into strongly typed classes, so you can program against them. 您可以使用XML序列化将XML解析为强类型的类,以便可以针对它们进行编程。

I also offer C# kits for QB Desktop, QBOE, and QBPOS, if you are interested. 如果您有兴趣,我还将为QB Desktop,QBOE和QBPOS提供C#工具包。

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

相关问题 QuickBooks使用我们的客户ID添加客户 - QuickBooks Add Customer with our customer id 在QuickBooks Online的行对象中添加日记帐分录行详细信息的位置 - Where to add journal entry line details in a line object for QuickBooks Online Quickbooks API /工具,用于将自定义应用程序与Quickbooks Desktop和Quickbooks Online集成 - Quickbooks API / tool to Integrate custom app with Quickbooks Desktop & Quickbooks Online 如何使用Rest API v2 with .NET将销售收据添加到QuickBooks Online中 - How can I add a sales receipt using the Rest API v2 with .NET into QuickBooks Online Intuit Quickbooks在线API-如何购买 - Intuit Quickbooks Online API - How to get purchases 如何在QuickBooks Online中创建日记条目 - How to create Journal entry in QuickBooks Online 获取问题 QuickBooks 客户备注列表 => QuickBooks Desktop SDK for .NET C# - Getting Issue QuickBooks Customer Notes List => QuickBooks Desktop SDK for .NET C# 如何在已安装的应用程序(不是Web应用程序)中的QuickBooks Online中执行身份验证? - How to perform authentication in QuickBooks Online in installed app (NOT a web app)? QBO / .NET SDK [Quickbooks Online] - 如何删除空发票行项目? - QBO/.NET SDK [Quickbooks Online] - How to remove empty invoice line item? 客户服务加速器与CRM集成,在线显示错误 - Customer care accelerator integration with CRM, Online showing error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM