Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Intuit.Ipp.Security exposes OAuthRequestValidator
- //IntuitAnywhere.utils exposes Initializer
- OAuthRequestValidator oauthValidator = Initializer.InitializeOAuthValidator(accessToken, accessTokenSecret, consumerKey, consumerSecret);
- //Intuit.Ipp.Core exposes ServiceContext
- ServiceContext context = Initializer.InitializeServiceContext(oauthValidator, realmId, appToken, string.Empty, dataSourcetype);
- //Intuit.Ipp.Services exposes DataServices
- DataServices commonService = new DataServices(context);
- var cust = new Intuit.Ipp.Data.Qbd.Customer()
- {
- Name = "John Smith",
- };
- var custResponse = commonService.Add(cust);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement