AdministrationClientQueryTransactionBatch Method |
Returns the Batch Details metadata that enables monitoring the submitted Transaction Batch Progress.
This method is an optional step in the workflow for Transaction File Batch submission.
public ResultOfBatch QueryTransactionBatch( ManagementGroupRequestOfguid QueryBatch )
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("08a68688-1ae4-49de-a8d8-a0a7e84cdee9");; //Required - Returned from AdministrationService.OpenTransactionBatch (ResultOfBatch.Key) AdministrationService.ResultOfBatch result = svc.QueryTransactionBatch(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }