Knowledgebase: > Methods
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 10:36 AM


 Public Function GetOfficeInfo(ByRef vClient As Integer) As CallingResultsEnum


This function used to get information for the given office, after GetOfficeInfo executes OfficeInfoRecived event fired.


Parameter Description 
vClient Client ID to get the information of, value of type is Integer

Return value

Return value of type CallingResultsEnum, if request sent to server successfully it will return SuccessResult.


 Private Sub OfficeInfo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles OfficeInfo.Click

         ‘BOAPI is a predefined variable as CVertexBOAPI10

          Dim Result As CallingResultsEnum
          Dim vClient As COClient
          vClient = BOAPI.ClientByIndex(1)
                Result = BOAPI.GetOfficeInfo (vClient.ClientID)
          MsgBox (Result.ToString)

 End Sub

 Private Sub BOAPI_OfficeInfoRecived(ByRef FName As String, ByRef Username As String, ByRef Password As String, ByRef WhiteLabeled As Boolean, ByRef Demo As Boolean, ByRef ReadOnly As Boolean, ByRef Phone As String, ByRef Fax As String, ByRef Mobile As String, ByRef TelFax As String, ByRef POB As String, ByRef Email As String, ByRef Address As String) Handles BOAPI.OfficeInfoRecived

      MsgBox (“Office name” & FName & “Username” & Username & “Password” & Password & “Email” & Email)

 End Sub

See Also

VertexFX Backoffice API Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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