using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfCardBulkLoadHistorySearch();
request.Token = "Token";
request.ManagementGroup = "Management group";
var cardBulkLoadHistorySearch = new AdministrationService.CardBulkLoadHistorySearch();
cardBulkLoadHistorySearch.BatchNumber = null;
cardBulkLoadHistorySearch.DateTo = DateTime.MinValue;
cardBulkLoadHistorySearch.PageNumber = 1;
cardBulkLoadHistorySearch.PageSize = 50;
cardBulkLoadHistorySearch.DateFrom = DateTime.MinValue;
request.Value = cardBulkLoadHistorySearch;
AdministrationService.ResultOfPagedCollectionOfCardBulkLoadHistoryStub result = svc.SelectCardBulkLoadHistoryList(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}