Click or drag to resize

AdministrationClientSelectCardBulkLoadHistoryList Method

Syntax
C#
public ResultOfPagedCollectionOfCardBulkLoadHistoryStub SelectCardBulkLoadHistoryList(
	ManagementGroupRequestOfCardBulkLoadHistorySearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfCardBulkLoadHistorySearch

Return Value

Type: ResultOfPagedCollectionOfCardBulkLoadHistoryStub
Examples
C#
using (var svc = new AdministrationService.AdministrationClient())
{
  var request = new AdministrationService.ManagementGroupRequestOfCardBulkLoadHistorySearch();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin

  var cardBulkLoadHistorySearch = new AdministrationService.CardBulkLoadHistorySearch();
  cardBulkLoadHistorySearch.BatchNumber = null; //Optional
  cardBulkLoadHistorySearch.DateTo = DateTime.MinValue; //Optional
  cardBulkLoadHistorySearch.PageNumber = 1; //Optional
  cardBulkLoadHistorySearch.PageSize = 50; //Optional
  cardBulkLoadHistorySearch.DateFrom = DateTime.MinValue; //Optional

  request.Value = cardBulkLoadHistorySearch;
  AdministrationService.ResultOfPagedCollectionOfCardBulkLoadHistoryStub result = svc.SelectCardBulkLoadHistoryList(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed          
    throw new Exception(result.FaultDescription);
  }
}
See Also