Knowledgebase:
ChangeDealerParameter
Posted by Angham Al-Banawien, Last modified by Angham Al-Banawien on 06 July 2018 02:45 PM

Syntax 

Public Function ChangeDealerParameter(DealerID As Integer, ParameterLevel As DealerParamTypeEnum, parameter As String, InheritValue As Boolean, NewValue As StringAs CallingResultsEnum 

Description

This function is used to change the symbol, general or privilege parameters for the requested dealer, After ChangeDealerParameter executed the ChangedDealerParameterResultReceived event fired.

Parameters

Parameters Description 
DealerID Dealer identifier to change is dealer parameter.
ParameterLevel Parameter type which wants to change its value that can be one of the DealerParamTypeEnum.
parameter

This value depend on parameter level type
If it was a symbol the parameter then  must be symbol ID
If it was Privilege parameter then must be one of the privEnum.
If it was General Parameter then must be empty String (“”)

InheritValue To indicate if the value will be inherent, a value of type Boolean
NewValue The new value of the parameter which wants to change, value of type String 

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
     DealerId = BOAPI..DealerIDByUsername(“Dealer Username”)

     Res = BOAPI .ChangeDealerParameter (DealerId,1,"6",True,"-1")

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