Click or drag to resize

AdministrationClientSelectStagingTransactionList Method

Syntax
C#
public ResultOfPagedCollectionOfStagingTransactionData SelectStagingTransactionList(
	ManagementGroupRequestOfStagingTransactionSearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfStagingTransactionSearch

Return Value

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

  var stagingTransactionSearch = new AdministrationService.StagingTransactionSearch(); //Required
  stagingTransactionSearch.BatchRSN = new Guid("b5263c92-08b4-467e-a53b-be395a5986d8");; //Required
  stagingTransactionSearch.Status = string.Empty; //Optional
  stagingTransactionSearch.PageNumber = 1; //Optional - Defaults to 1
  stagingTransactionSearch.PageSize = 100; //Optional - Defaults to 100

  request.Value = stagingTransactionSearch;

  AdministrationService.ResultOfPagedCollectionOfStagingTransactionData result = svc.SelectStagingTransactionList(request);

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