Knowledgebase:
SendSMS
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 03 May 2017 11:03 AM

Syntax

Function SendSMS(ByRef AccountID As Integer,ByRef SMSText As StringAs CallingResultsEnum

To send SMS to a specific client .After SendSMS method executes SendSMSResultReceived event fire.

Parameters

Part Description 
AccountID  Account number to send the sms for ,value of type Integer
SMSText  The contant of SMS ,value of type String.

Return value

Returns value of type CallingResultsEnum.if the request sent to the server successfully it will return SuccessResult.


Sample


 Public WithEvents m_oBOAPI As CVertexFXBOAPI

 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

   Dim result As VertexFXBOAPI10.CallingResultsEnum
   Dim vAccount As COAccount
   Dim vClient As COClient
   vClient = m_oBOAPI.ClientByIndex(1)
   vAccount = m_oBOAPI.AccountByIndex(vClient.ClientID,1)
    result = m_oBOAPI.SendSMS(vAccount.AccountID, "Hello")
    MsgBox(result.ToString)

 End Sub

 Private Sub m_oBOAPI_SendSMSResultReceived(ByRef Result As VertexFXBOAPI10.SendSMSResultsEnum) Handles m_oBOAPI.SendSMSResultReceived

        MsgBox(Result.ToString)

 End Sub
 

See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions