Knowledgebase:
UpdateDealerInfo
Posted by Angham Al-Banawien, Last modified by Rawan Al Hourani on 05 July 2018 09:38 AM

Syntax 

Public Function UpdateDealerInfo(DealerID As Integer, Username As String, Password As String, ClientID As Integer, GMTOffset As String, DealerDesc As String, Optional IsBranch As Boolean = False) As CallingResultsEnum 

Description

This function is used to update the requested dealer information with new values, After  UpdateDealerInfo executed the UpdateDealerResultReceived event fired.

Parameters

Parameters Description 
DealerID The dealer identifier to be updated, a value of type Integer.
Username New value of the dealer username, value of type String.
Password New value of the dealer password, value of type String. 
ClientID Client identifier that the new dealer will be has a privilege on, a value of Integer.
GMTOffset The value of the dealer country GMT offset, a value of type String.
DealerDesc New value of the dealer description, value of type String.
IsBranch If dealer type is department type then this value used to indicate it a branch or not, an optional value of type Boolean

Return value

Returns a value of type CallingResultsEnum, If the request was sent to the server successfully it will return SuccessResult.

Sample

Private Sub CreateDealer _Click()

     Dim Res as CallingResultsEnum
     Dim vClient as COClient = BOAPI.ClientByIndex(1)
     DealerId = BOAPI..DealerIDByUsername(“Dealer Username”)

     Res = BOAPI .UpdateDealerInfo (DealerId,,”Username”,”Password”, vClient.clientID, Cstr(BOAPI.GMTOffset),”DealerDes”,false)

End sub

 


See Also


VertexFX Backoffice API Index

 

Last Modified: 29 June 2018 

(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