Click or drag to resize

AdministrationClientQueryCardBatch Method

Returns the Batch Details metadata that enables monitoring the submitted Card Batch Progress.

Remarks
Card Batch submission Related Methods:
  • Initialise Batch - call Web Service Method: OpenCardBatch
  • Monitor submitted Member Batch Progress - call Web Service Method: QueryCardBatch
Syntax
C#
public ResultOfBatch QueryCardBatch(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfguid

Return Value

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

  request.Value = new Guid("75f5fb95-86d4-4165-88f5-98d61995b2ce");; //Required - Returned from AdministrationService.OpenCardBatch (ResultOfBatch.Key)

  AdministrationService.ResultOfBatch result = svc.QueryCardBatch(request);

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