Syntax
Public Overrides Function SMSReport(ByRef ClientID As Integer, ByRef fromDate As String, ByRef ToDate As String) As TransResult
This function is used to get the SMS report which shows the details of each SMS sent in the whole system or for a certain accounts(s) or office(s). After SMSReport executes the ReportDataReceived event fire.
Parameters
Key | Description |
clientID | The client number which the report will show the SMSfor all accounts under this client. Value of type is Integer. |
FromDate | Specify the duration. Value of type is String. Date in this format DD/MM/YYYY HH:NN:SS, means form beginning |
ToDate | Specify the duration. Value of type is String. Date in this format DD/MM/YYYY HH:NN:SS, means till now. |
Return value
Returns value of type TransResult. If the request was sent to server successfully it will return Succeeded.
Sample
Private Sub SMSReport_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SMSReport.Click Dim Result As VertexFXBridgeAPI.TransResult Dim Root_ID As Integer = BO.GetBO.RootID () Result= BO.GetBO.SMSReport(Root_ID,"", "" ) End Sub
Result:
The result of this report contains many details; the following table shows each column description
Data row Index | Column name | Description |
1 | DateTime | Shows the data and time for each SMS sent to the client(s) under the group that you have chosen for the generated report. |
2 | ClientID | The client for each sent SMS. |
3 | Mobile | The mobile number that the SMS was sent to. |
4 | Message | The content of each sent SMS. |
5 | Status | The Status of each Sent SMS 2 means Sent 3 means Failed. |
6 | SMS Type | The type for each sent SMS 1 means statement SMS 2 means Normal SMS 3 means Prices SMS. |
See Also