Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intuit.Ipp.Data.Qbd.CustomerQuery customersInErrorStateQuery = new Intuit.Ipp.Data.Qbd.CustomerQuery();
- customersInErrorStateQuery.ItemElementName = Intuit.Ipp.Data.Qbd.ItemChoiceType4.StartPage;
- customersInErrorStateQuery.Item = "1";
- customersInErrorStateQuery.ChunkSize = "500";
- customersInErrorStateQuery.ErroredObjectsOnly = true;
- List<Intuit.Ipp.Data.Qbd.Customer> customersinErrorState = customersInErrorStateQuery.ExecuteQuery<Intuit.Ipp.Data.Qbd.Customer>
- (context).ToList();
- SyncStatusRequest syncStatusRequest = new SyncStatusRequest();
- syncStatusRequest.ErroredObjectsOnly = true;
- syncStatusRequest.NgIdSet = new NgIdSet[] { new NgIdSet { NgId = customersinErrorState[0].Id.Value, NgObjectType = objectName.Customer } };
- SyncStatusResponse[] response = dataServices.GetSyncStatus(syncStatusRequest);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement