Knowledgebase:
RejectOrder
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 01 February 2018 03:14 PM

Syntax

Public Function RejectOrder(ByRef OrderID As Integer) As CallingResultsEnum

 This function rejects a re-quoted order by the order ID. After RejectOrder method executes the RejectOrderResultRecieved event fires.

Parameters

Part Description 
OrderID Order number to be rejected, value of type Integet.

Return value

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

Sample

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

        Dim result As VertexFXClientAPI10.CallingResultsEnum

        'API is a predefined variable as CVertexFXClientAPI10

        result = API.RejectOrder(9080)

        MsgBox("Reject Order result : " & result.Tostring)

End Sub

 


See Also


VertexFX Client 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