Click or drag to resize

AdministrationClientReportTransactionBatch Method

Analyse the final results of the completed processing for a batch of Transaction, from the submitted Batch RSN.

This method is a step in the workflow for Member File Batch submission.

Remarks
Transaction File Batch submission workflow:
  • Initialise Batch - call Web Service Method: OpenTransactionBatch
  • Submit Transaction File(s) - call Web Service Method: LoadTransactionBatch
  • Monitor submitted Transaction Batch Progress - call Web Service Method: QueryTransactionBatch
  • Stop The Transaction Batch Processing - call Web Service Method: CancelTransactionBatch
  • Analyse the final results of The Transaction Batch Processing - call Web Service Method: ReportTransactionBatch
Syntax
C#
public ResultOfBatchReport ReportTransactionBatch(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfBatchReport
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("c61b691f-c7bf-4e0c-a13f-e7da232ee645");; //Required - Returned from AdministrationService.OpenTransactionBatch (ResultOfBatch.Key)

  AdministrationService.ResultOfBatchReport result = svc.ReportTransactionBatch(request);

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