How to integrate QuickBooks Online to Asp.Net Application using V3? - quickbooks

1.How to programmatically connect with QuickBooks Online using .NET? We followed the below article but this needs manual intervention to connect.
http://ippdocs.intuit.com/0025_QuickBooksAPI/0010_Getting_Started/0020_Connect/0010_From_Within_Your_App/Test_the_In-App_Connect_Flow
Initially we developed the sample application using the code:
https://github.com/IntuitDeveloperRelations/IPP_Sample_Code/tree/master/QuickbooksAPI/DotNet/WebForms%20application
2.Which type of integration method we have to use Json or .NET SDK library? Most of the Json examples are code fragment only, Where we can download the sample application using Json with .NET

You cannot connect to Quickbooks APIs without manual intervention as it is a part of the 3 legged OAUTH flow.
The .Net SDK supports XML and JSON. There is no separate JSON library. The sample app for Dotnet in v3 is not yet available. Please refer to the docs for generating the JSON requests.
https://developer.intuit.com

If you want to create SaaS application and want to publish it in Appcenter then you need to implement OAuth flow which needs user's input for authorization. In the dev env, using the above sample app, you can get the OAuth tokens(consumer key, consumer secret, access key and access token) which you can use in your app to call all API endpoints.
https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0150_ipp_.net_devkit_3.0/0002_synchronous_calls/0001_data_service_apis#Step_3:_Build_the_ServiceContext
FAQ - https://developer.intuit.com/docs/0025_quickbooksapi/0058_faq
.Net V3 Link - https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0150_ipp_.net_devkit_3.0
But Intuit Quickbooks API(V2/V3) are only for SaaS app. If you want to create some custom solution for one company then you should use QBSDK.
Ref -https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0250_qb
Thanks

Related

How to make cloud REST API call in Jira atlas connect app

I'm new to jira development.
I created an app in atlas connect cloud app. I want to use REST api calls in this app to access jira core features.
When user installed my app I want to get his projects and other details using rest calls.
How can I authenticate user and use rest api calls.
Thx.
Depending on the setup of your JIRA instance, you can use the following ways to authenticate users:
OAuth
Basic authentication
Cookie-based authentication
For getting a list of projects and other details, you can use this resource to find out what is possible.
An introduction to the JIRA API can be found here.

Integrating Azure AD Access Control to social authentication for iOS app

I am writing an iOS app and using Azure Mobile Services for my identity management and DocumentDB for noSQL DB. However the only access control that I can see for DocumentDB is when we use Active Directory (which I am not currently using.)
I see from
https://azure.microsoft.com/en-us/documentation/articles/fundamentals-identity/
that there is a way of integrating access control service without using the active directory authentication.
However I can't find any documentation showing how this can be done. Has anyone done this? I am on a mac and developing for iOS.
The only documentation I see is for .NET and a ASP.NET MVC application: https://azure.microsoft.com/en-us/documentation/articles/active-directory-dotnet-how-to-use-access-control/
Also, does anyone know if Active Directory can be integrated with a JavaScript backend? All the docs show using Active Directory with a .NET backend.
Thank you.
Can you point to the docs you're referring to on securing DocDB with AAD?
You should be able to leverage resource tokens for Doc Db just fine, regardless of if you have an AAD identity. You can read more about resource tokens here: https://azure.microsoft.com/en-us/documentation/articles/documentdb-secure-access-to-data/.
To answer your question on AAD in the Node.JS backend, this is supported, but only through the server-orchestrated flow, as documented here: https://azure.microsoft.com/en-us/documentation/articles/mobile-services-ios-get-started-users/. If you were looking to use the ADAL library and get tokens on the client, this is only supported for the .NET runtime.
Also, for reference, Access Control Service is a specific service which is not currently receiving updates in favor of AAD which will take on that functionality. More about that here: http://blogs.technet.com/b/ad/archive/2013/06/22/azure-active-directory-is-the-future-of-acs.aspx

rails 3: Integrating QBO and QBD in rails 3.2 app

I want to integrate QBO and QBD in my rails 3.2 application that I am developing. Please help me how to integrate QBO and QBD API in my web application. I have tried http://developer.intuit.com and created application there. I have a consumer key and consumer secret also. Now i want to integrate these key to my web application how to do this? Any nice resources or gem...please help me!
Please refer:
https://developer.intuit.com/docs/0025_quickbooksapi/0010_getting_started
There are sample apps also available for .net and java. You can refer them for implementing the same logic in your application.
You can download sample apps from the GITHUB-
https://github.com/IntuitDeveloperRelations/IPP_Sample_Code
Set your keys in web.config and debug it for more information.
Steps to be followed:
1)Get the opened information for the user using SignIn with Intuit.
2) Then implement Connect to QuickBooks on your home page and redirect to your call back url. Create oauth session and redirect to OAUTH grant url.
3) On the OAUTh grant url page, call AUthorize url - https://workplace.intuit.com/Connect/Begin
4) You will then have the realm id and open id info. The Blue Dot menu will then load.
I published a two-part tutorial on getting started with QuickBooks integration inside of a Rails app using the Quickeeboks gem.
Update: I just added some more tutorials and screencasts demonstrating integrating a Rails app with the new version 3 QuickBooks API. The previously mentioned tutorial covers the version 2 API.
I am using quickeebook gem for quickbook integration. It supports lots of features but Quickbook::Online::Job model is not supported in quickeebook gem. Thats why I am searching for some alternatives.
For learning about quickeebook gem, follow : https://github.com/ruckus/quickeebooks
really nice place to integrate quickbook in rails 3 application

Google Reporting API with oauth 2.0

I want to use Google Reporting API to get the users' activity report (last login, etc).
My application is using oauth 2.0 to access other Google APIs. But it seems like Google Reporting API is not supporting oauth 2.0. Any suggestions how should I do it ? Implement oauth 1 or use different Google API (if it exists) to get users' activity report?
I think you are looking at the old documentation for the reporting API.
For the brand new reports API (https://developers.google.com/admin-sdk/reports/v1/guides/authorizing), it is encouraged to use OAuth 2.0.
Notice that the older API is called reporting API, but the new API that was just released at the IO is called reports API.

Confusion on the Old Google Data AP, new Google API, and the Google Apps Marketplace

Currently Google is migrating their old Google Data API to the new Google API.
When we do API queries over the old Google Data API, we usually use Zend Framework and the given consumer key/secret to do the authen/autho, which is fine.
Question is, is it possible to use the given consumer key/secret (from the Google Apps Marketplace listing) and the new OAuth 2 Library to call the API? What I have been having is the error message redirect_uri mismatched issue and obviously Google Apps Marketplace provides no way to change this value. Even though they had provided a link for us to go to the API Console from the listing page, I cannot see the OAuth 2.0 options in my API Access page at all.
Did I missed out anything?
If let's say I need to use the Google Apps Admin Settings API, does it mean I need to separately create a new OAuth 2.0 API Access in the API Console, then, when I need to access user data, I need to do the Auth flow again using this new consumer key/secret/redirect? I can't set this permission in the Listing Manifest? (Not supported?)
Thanks for the clarifications!
Google Apps Admin Settings is not yet migrated to the new google-api, AFAICS. Check out this list : http://code.google.com/p/google-api-java-client/wiki/APIs ;
you can however use the new google-api client libraries but you have to roll your own XML model for the given API, it is not so hard, I did a similar thing for the Contact API;
The consumer/key secret can be re-used normally if it is sufficiently scoped. A related project for your market app is automatically created in the Google Api console from what I remember..

Resources