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 Boolean) As CallingResultsEnum
Description
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
|