AdministrationClientSelectRecentTransactionHistory Method |
Return a collection of the last 15 Transactions, ordered by Transaction Date DESC
public ResultOfCollectionOfTransaction SelectRecentTransactionHistory( ManagementGroupRequest request )
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); } }