Knowledgebase:
UpdateDeliveryItem
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 07 May 2017 10:59 AM

Syntax

 Public Function UpdateDeliveryItem(ByRef SymID As Integer, ByRef ItemID As String, ByRef ItemImageLink As String, ByRef ItemName As String, ByRef ItemDesc As String, ByRef ItemWeight As Double, ByRef ItemEnabled As BooleanAs CallingResultsEnum

This function updates the physical item of a specific symbol that was added. If UpdateDeliveryItem succeeded the DeliveryItemUpdated event fire,Otherwise DeliveryItemUpdateFailed event fire

Parameters

Parameter Description 
SymID Trading symbol number that want to update,value of type Integer.
ItemID Physical Item number ,value of type String.
ItemImageLink The new Link of physical item image,value of type String.
ItemName The new name of physical item,value of type String
ItemDesc The new description of physical item,value of type String.
ItemWeight Weight of physical item such as Kg,value of type is Double.
ItemEnabled Value of type Boolean, if it false, the user can’t see the deliver that had been added


Return value

This Returns  value of type CallingResultsEnum. if the request sent to the server successfully it will return SuccessResult.

Sample

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

      Dim Result As CallingResultsEnum 

      Result = API.UpdateDeliveryItem (Symbol.ID, "1234", "GOLD.JEPG", "GOLD", "Desc", 1, False)

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