Advertisement
IDNPeterL

IPP .NET DevKit v2 - QBD Company Retreive

Oct 30th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Retrieve QBD Company MetaData
  2.  
  3. //Create the Service Context using oAuthValidator
  4. Intuit.Ipp.Core.ServiceContext context = new Intuit.Ipp.Core.ServiceContext(oauthValidator, realmId, Intuit.Ipp.Core.IntuitServicesType.QBD);
  5.  
  6. // Create Service Object for an entity
  7. Intuit.Ipp.Services.DataServices commonService = new Intuit.Ipp.Services.DataServices(context);
  8.  
  9. // Call the service method
  10. Intuit.Ipp.Data.Qbd.CompanyMetaData actualCompanyMetaData = commonService.FindById(new Intuit.Ipp.Data.Qbd.CompanyMetaData()) as Intuit.Ipp.Data.Qbd.CompanyMetaData;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement