REST API for Quick Books desktop - quickbooks

Is there any REST API associated with Quick books Desktop ?
I am aware of Quickbooks SDK and one can build its requests via QBFC or QBXML.
However,I have set of hardcoded request xmls ,I was wondering is it possible to test these XMLs by sending directly to Quickbooks Desktop via tool like SOAPUI.

Is there any REST API associated with Quick books Desktop
Yes, but it's deprecated. You can't build new apps for it -- only existing apps already using it are allowed to use it.
However,I have set of hardcoded request xmls ,I was wondering is it possible to test these XMLs by sending directly to Quickbooks Desktop via tool like SOAPUI.
You could easily write your own little SOAP server that sits and listens for requests and runs them against QuickBooks if you wanted to. Or use the SDK Test+ tool included with the SDK and feed them to QuickBooks directly from files.

Related

How can I automate GET calls to Microsoft Graph Explorer from a system and have the output stored via a script?

I want to download some data from Microsoft Planner and I have used the Microsoft Graph Explorer API online and have my three GET requests ready.
Let's say one of the GET requests is:
https://graph.microsoft.com/v1.0/planner/plans/E2d-w1xIyUOc6nZPfMerEmQAB266/buckets
This returns a JSON file in the 'Response Preview' pane in Microsoft Graph Explorer online.
I want to somehow initiate this GET request from a server using a script (.bat/.ps/.sh/.bash) and get this output JSON file stored on the same server.
If anyone can point me in the direction on how to achieve this, I'd be really glad?
since you want a background task to run you are best registering an application without a user then once you've authenticated you can run that in a script to run say via a cron job.
If you use Laravel I've written a wrapper for graph that supports both users and tenants https://github.com/daveismyname/laravel-microsoft-graph.
Otherwise, study https://learn.microsoft.com/en-us/graph/auth-v2-service

How to get INSTANT RESPONSE from Quickbooks Desktop

I'm using quickbooks-php to query/add customer from quickbooks desktop.
At this point, I want to write some rest apis to put new customer to quickbooks desktop and get instant response with customer's ID from QB.
I'm not sure even I can get instant reply from the qbxml query to quickbooks desktop.
What is the best experience for this one?
Using the library you linked to, you can't. It uses the Web Connector, and the Web Connector doesn't support real-time communication with QuickBooks.
If you want to, you can either use the QuickBooks SDK directly (C#, but be aware you'll have a lot of wrapper code to write if you want to make that work over HTTP or via a web service/website of any sort) or use a third-party solution (e.g. Autofy).

How should I import data into QuickBooks from my Rails application?

I'm working on a Rails project that needs to be able to import/export (mostly import) invoice data to/from QuickBooks. In Googling, the QuickBooks SDK and Web Connector come up often. However, both seem to only be for the Windows desktop versions. This QuickBooks instance is on a Mac.
The import can either be via an API or, if possible, a file could be generated from within the web app that could later be imported manually.
Currently, QuickBooks 2009 is what's being used. However, assume we can use nearly any version of QuickBooks. Online or desktop (Mac).
What would the best route be to get invoice data to/from the Rails application to QuickBooks?
Unfortunately, QuickBooks for Mac does not support any real method of integration. It's definitely the "black sheep" of the Intuit family.
The closest you can get is IIF file imports/exports.
There is detailed information on this (deprecated, and very limited) file format over here:
http://support.quickbooks.intuit.com/support/articles/HOW12778
You would be so, so, sooo much better off moving off of QuickBooks for Mac through, as the APIs for both QuickBooks for Windows (Web Connector/SDK/COM) and QuickBooks Online (REST v3 APIs) are much, much better than IIF imports/exports.

How to connect to Quickbooks premier desktop edition through qbxmlrp using java?

I have installed a quickbooks premier 2014 desktop edition in my system and wants to integrate it using QBXML Request processor API(QBXMLRP2) through java application.
I have gone through the QBXML SDK Documentation but didn't find a proper way on integration with java.
I found this from the documentation :
1.Open a connection to QuickBooks.
2.Start a session for working on a specific QuickBooks company file.
3.Send whatever requests you want to do something in QuickBooks.
4.When you’re done or before your application exits, end the session.
5.Then close the connection.
It will be greatly appreciated if some one could provide me some sample code to integrate with Quickbooks.
And also how to configure QBXMLRP2Lib files in my java application?.
Thanks in advance.
There is a product called QuickBooks Web Connector that allows your app to use QBXML through a web service. Intuit has created a sample java application that communicates with web connector that may provide what you need.
Also, if you're starting a new app from scratch you may want to consider using the newer "V3 QBD" API instead of QBXML.

Using QBWC 2.0 to sync QB files

I've just begun to read the QB Developer documentation and have come to the conclusion that to write a web-enabled application that will sync/remote backup QB files between two machines over the Internet, that the QBWC is the 'approved' way to accomplish this task. The .NET application samples in the QB SDK (V12) are not using WCF but WSDL and SOAP.
But before I commit to going that route, I am asking if anyone has a better approach. I'd prefer to use WCF and MS Sync Framework, but I don't want to head down that road if it will mean using a cannon to kill a mosquito.
Thanks
You really hinted at two separate goals here, so I'll address each specifically:
... remote backup QB files between two machines ...
If your goal is BACKUP then the Web Connector is certainly not the answer. The purpose of the Web Connector is to enable integration between QuickBooks and web applications, via the QuickBooks API/SDK. Since not all data stored within QuickBooks is accessible via the API, the Web Connector is not appropriate for backup. It is impossible to get a complete, accurate backup of the entire QuickBooks data set via the Web Connector.
On the other hand...
... web-enabled application that will sync ...
If your goal is to allow integration/sync of data between your web app and QuickBooks, the Web Connector is a decent solution. Yes, it uses SOAP (with a grand total of only about 5 very simple methods). No, you can't use WCF/anything else without writing your own version of the Web Connector.
If you add more details about specifically what you're looking to do with specifically what data, you'll probably get some better answers and suggestions about approach.

Resources