public method TradeDeskAut.RequestOrderStatus

Brief

Requests the status of the order.

Declaration
Visual Basic
Function RequestOrderStatus (sKey as String, RequestKind as Integer) As Object
IDL
[id(200)] HRESULT RequestOrderStatus( [in]BSTR sOrderID, [in]long RequestKind, [out, retval] IDispatch* retVal)

Parameters
sKey

The key to search the order.

RequestKind

The kind of the search:

TradeDeskAut.ORDER_ID

Search the order by the OrderID column

TradeDeskAut.REQUEST_ID

Search the order by the RequestID column

TradeDeskAut.REQUEST_TEXT

Search the order by the QTXT column

Returns

The method returns an instance of the ExecutionReportAut class.

Details

The status means the latest values of the order's columns. The method can be used for any order which existed in the orders table during this session, even if the order disappeared in the orders table.

The RequestOrderStatus method is defined in the TradeDeskAut class.

back