Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Retrieve Active QBD Customers with a minimum balance
- //Documentation: http://goo.gl/jUdxR
- var oauthValidator = new OAuthRequestValidator(accessToken, accessTokenSecret, consumerKey,consumerSecret);
- var context = new ServiceContext(oauthValidator, realmId, IntuitServicesType.QBD);
- var commonService = new DataServices(context);
- var qbdCustomerQuery = new Intuit.Ipp.Data.Qbd.CustomerQuery
- {
- ActiveOnly = true,
- MinimumBalance = new decimal(500000),
- MinimumBalanceSpecified = true
- };
- var qbdFilteredCustomers = qbdCustomerQuery.ExecuteQuery<Intuit.Ipp.Data.Qbd.Customer>(context).ToList<Intuit.Ipp.Data.Qbd.Customer>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement