Knowledgebase:
AddDeliveryItem
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 04 May 2017 11:53 AM

Syntax

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

This function adds the physical item of a specific symbol to be requested later on.If AddDeliveryItem succeeded the DeliveryItemAdded event fire, otherwise DeliveryItemAddFailed event fire.

Parameters

Parameter Description 
SymID  The trading symbol number that want to add a physical item for it ,value of type is Integer.
ItemID Physical Item number ,value of type is String.
ItemImageLink Link for physical item image,value of type is String.
ItemName Name of the physical item ,value of type is String.
ItemDesc Description of the physical item,value of type is String.
ItemWeight Weight of item such as Kg,value of type is String.
ItemEnabled Value of type is 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.AddDeliveryItem (Symbol.ID, "1234", "GOLD.JEPG", "GOLD", "Desc", "Ounce", 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