Knowledgebase:
GetOfficeInfo
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 07 May 2017 11:42 AM

Syntax

 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.

Parameters

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.

Sample

 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))
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