Click or drag to resize

AdministrationClientSelectTransactionsByHomeBranch Method

Syntax
C#
public ResultOfPagedCollectionOfHoldingTransaction SelectTransactionsByHomeBranch(
	ManagementGroupRequestOfHoldingTransactionFilter request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfHoldingTransactionFilter

Return Value

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

  var holdingTransactionFilter = new AdministrationService.HoldingTransactionFilter();
  holdingTransactionFilter.Branch_PartnerRSN = new Guid("be10014c-5884-4108-b6ff-01d3cdf606d8");; //Required
  holdingTransactionFilter.ReturnAllRecords = true; //Optional
  holdingTransactionFilter.PageNumber = 1; //Optional - Defaults to 1
  holdingTransactionFilter.PageSize = 100; //Optional - Defaults to 100

  request.Value = holdingTransactionFilter; //Required

  AdministrationService.ResultOfPagedCollectionOfHoldingTransaction result = svc.SelectTransactionsByHomeBranch(request);

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