Knowledgebase:
SendSMSToSelectedAccount
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 01 August 2016 01:22 PM

Syntax

 Function SendSMSToSelcectedAccount(ByRef SMSText As String) As CallingResultsEnum

To send SMS to an already selected account through selectAccountAfter SendSMSTOSelectedAccount ethod executes SendSMSResultReceived eventfire.

Parameters

Part Description 
SMSText  SMS Content, value of type String.


Sample


 Public WithEvents m_oBOAPI As CVertexFXBOAPI

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

   'Make sure that there is an account selected already
   Dim Result as CallingResultsEnum
   Dim vAccount As COAccount
   Dim vClient As COClient
   vClient = m_oBOAPI.ClientByIndex(1)
   vAccount = m_oBOAPI.AccountByIndex(vClient.ClientID,1)
   m_oBOAPI.SelectAccount(vAccount.AccountID)

   Result = m_oBOAPI.SendSMSToSelectedAccount("Hello")

 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