get order by id
The api allows you to retrieve the details of an order placed during the day with their last updated status, with their order id.
Path parameters
Headers
Response
Successful operation
User specific identification generated by Dhan
Order specific identification generated by Dhan
Order specific identification generated by Exchange
The user/partner generated id for tracking back
| Enum Values | Description |
|---|---|
| TRANSIT | Did not reach the exchange server |
| PENDING | Reached at exchange end, awaiting execution |
| REJECTED | Rejected at exchange/broker’s end |
| CANCELLED | Cancelled by user |
| PART_TRADED | Partially Executed |
| TRADED | Executed |
| EXPIRED | Validity of order is expired |
Signifies the type of transaction whether it's BUY or SELL
| Enums | Exchange | Segment |
|---|---|---|
| NSE_EQ | NSE | Equity Cash |
| NSE_FNO | NSE | Futures & Options |
| BSE_EQ | BSE | Equity Cash |
| BSE_FNO | BSE | Futures & Options |
| MCX_COMM | MCX | Commodity |
| Enum Values | Description |
|---|---|
| CNC | Cash & Carry for equity deliveries |
| INTRADAY | Intraday for Equity, Futures & Options |
| MARGIN | Carry Forward in Futures & Options |
| CO | Cover Order; entry and stop loss |
| BO | Bracket Order; entry, stop loss & target price |
| MTF | Margin Traded Fund |
| CO & BO product types will be valid only for Intraday |
| Enum Values | Description |
|---|---|
| LIMIT | For Limit Order types |
| MARKET | For market Order types |
| STOP_LOSS | For Stop Loss Limit orders |
| STOP_LOSS_MARKET | For Stop Loss Market orders |
| Enum Values | Description |
|---|---|
| DAY | Valid till end of day |
| IOC | Immediate or Cancel |
Exchange standard trading symbol
Exchange standard identification for each scrip
Number of shares for the order
Number shares visible in the market depth
Price at which the order is requested to execute
Price at which the order is triggered
Flag to inform that the order placed is After Market Order
Bracket order Target price
Bracket Order/Cover Order Stop Loss Price
Order leg where modification is to be done
Time at which the record is created
Time at which the record is updated
Time at which order reached at exchange end
For F&O, expiry date of contract
For Options, type CALL or PUT
For Options, Strike Price
When order is rejected or failed, omsErrorCode would be populated
When order is rejected or failed, omsErrorDescription would be populated
Algo_ID
Number of shares yet to be traded for the order
Average price at which order is traded
Filled Quantity
Changes
No recorded changes to this endpoint across all 1 revision of this API.