Click or drag to resize

AdministrationClientSelectCardsByBatchForDownload Method

Syntax
C#
public ResultOfPagedCollectionOfBatchCardForDownload SelectCardsByBatchForDownload(
	ManagementGroupRequestOfBatchCardSearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfBatchCardSearch

Return Value

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

  var batchCardSearch = new AdministrationService.BatchCardSearch();
  batchCardSearch.BatchRSN = new Guid("5016b237-ecb7-4431-8b9f-f79f6aee986c");; //Required from AdministrationService.OpenCardBatch(ResultOfBatch.BatchRSN)
  batchCardSearch.PageNumber = 1; //Optional
  batchCardSearch.PageSize = 50; //Optional

  request.Value = batchCardSearch;
  AdministrationService.ResultOfPagedCollectionOfBatchCardForDownload result = svc.SelectCardsByBatchForDownload(request);

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