Syntax
Public Function GetAccountStatement(AccountID As Integer, StatementType As StatementTypeEnum, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum
Description
This function is used to get the statement report for the given account ID at a specific period. After GetAccountStatement method executes, the AccountStatementsResultReceived event fires
Parameters
Parameter |
Description |
AccountID |
Account number to get statement report for. Value of type is Integer. |
StatementType |
The type of the statement report which is required to retrieve. It can be one of the StatementTypeEnum. |
FromDate |
Specify duration. Date format : “DD/MM/YYYY HH:NN:SS” “” : Means from beginning |
ToDate |
Specify duration Date format : “DD/MM/YYYY HH:NN:SS” “” : Means till now. |
Return value
Returns value of type CallingResultsEnum. If the request was sent to server successfully it will return SuccessResult
Sample
Public WithEvents BOAPI as new CVertexFXBOAPI
Private Sub GetAccountStatement_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetAccountStatement.Click
Dim Result as CallingResultsEnum
Dim vClient As COClient = BOAPI.ClientByIndex (1)
Dim account As COAccount = BOAPI.AccountByIndex (vClinet.ClientID, 1)
Result = BOAPI.GetAccountStatement (vAccount.AccountID, StatementTypeEnum.AccountSummaryStatement ,””,””)
End Sub
See Also
VertexFX Backoffice API Index
Last Modified: 05 January 2017 02:55 PM
|