Click or drag to resize

AdministrationClientSelectPendingTransactions Method

Returns a Paged Collection of all the Transactions Pending Approval.

Paging parameters can be defined in the request.

Syntax
C#
public ResultOfPagedCollectionOfTransactionStub SelectPendingTransactions(
	ManagementGroupRequestOfPageFilter request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfPageFilter

Return Value

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

  var pageFilter = new AdministrationService.PageFilter();
  pageFilter.PageNumber = 1;//Required
  pageFilter.PageSize = 100;//Required

  request.Value = pageFilter;//Required
  AdministrationService.ResultOfPagedCollectionOfTransactionStub result = svc.SelectPendingTransactions(request);

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