Click or drag to resize

AdministrationClientSelectRecentTransactionHistory Method

Return a collection of the last 15 Transactions, ordered by Transaction Date DESC

Syntax
C#
public ResultOfCollectionOfTransaction SelectRecentTransactionHistory(
	ManagementGroupRequest request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequest

Return Value

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

  AdministrationService.ResultOfCollectionOfTransaction result = svc.SelectRecentTransactionHistory(request);

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