Skip to main content

Online GTD Order Response

FieldDetails
NameOnline GTD Order Response
DescriptionOnline GTD (Good Till Date) order response sent to third‑party systems

📝 Online GTD Order Response Parameters

The ResponseObject contains a key named objJSONRows, which includes the following parameters:

Parameter (Key)Data TypeDescription
MessageTypevarchar(10)GTD_ORD_NRML
ManagerIDintManager ID
OrderNumbervarchar(50)Must be 0 for order entry. For modification/cancellation, this must be filled before sending.
CliOrderNumberintGateway/Client order number (system generated)
Exchangevarchar(10)Exchange for which the order is placed
ScripCodeintScrip code
Symbolvarchar(20)Exchange‑provided security symbol
Seriesvarchar(3)Exchange‑provided security series
InstrumentNamevarchar(20)Instrument name. Valid values:
• Equity = blank
• Future Index = FUTIDX
• Interest Rate Future = FUTINT
• Future Stock = FUTSTK
• Option Index = OPTIDX
• Option Stock = OPTSTK
• MCX/NCDEX Futures = FUTCOM
• MCX Spot = COM
• NCDEX Spot = COMDTY
• NSE Currency Future = FUTCUR, FUTIRD, FUTIRT, OPTCUR
• NSE Currency Spot = INDEX, UNDCUR, UNDIRD, UNDIRT
ExpiryDatevarchar(10)Expiry date (ddMMMyyyy, e.g., 24JUN2004). Applicable for Futures and Options only.
StrikePriceintStrike price (in multiples of 100). Applicable for options only.
Option_Typevarchar(2)Option type (applicable for options only).
Buy_SellintBuy/Sell flag:
1 → Buy
2 → Sell
OrderOriginalQtyintTotal order quantity (e.g., 12500)
PendingQtyintPending quantity
TradedQTYintTraded quantity
DQintDisclosed quantity (e.g., 2500)
DQRemainingintRemaining disclosed quantity
OrderPriceintOrder price in paise
TriggerPriceintTrigger price (for Stop‑Loss orders only)
OrderTypeintOrder type
MarketTypeintMarket type:
1 → Normal
2 → Auction
3 → Pre‑Open
OrderStatusintOrder status
Reasonvarchar(255)Rejection reason
OrderValidityintOrder validity
DaysintNumber of days (GTD duration)
ProCliintParticipant type:
2 → PRO
1 → Client
UserIDvarchar(16)Exchange user ID
PartCodevarchar(25)Participant ID
OrderEntryTimedatetimeTimestamp (24‑hour format, e.g. 15Jun2019 15.25.15)
LastModifiedTimedatetimeTime when order was last confirmed
CPIDvarchar(6)CP ID
UCCvarchar(6)Alias UCC code
Productvarchar(5)Product type of the order
InitiatedByvarchar(25)Application from which the order was initiated
ModifiedByvarchar(25)Application from which the order was modified
InitiatedByUserIdvarchar(25)User ID that initiated the action
ModifiedByUserIdvarchar(25)User ID from which the order was modified
LegIndicatorvarchar(25)Blank value
UserRemarksvarchar(10)Remarks provided by the user
Miscvarchar(10)Miscellaneous values:
SPO-LMT
SPO-MKT
PO-MKT
PO-LMT
SpreadFlagvarchar(10)Spread flag:
0 → Normal order
1 → Spread order
SpreadPriceintSpread price
AMOOrderIDvarchar(30)Order ID for AMO / EQGTD orders; otherwise blank
GTDOrderStatusintGTD order status
MessageSequenceNumberint64Running message sequence number. Always use the maximum sequence for the latest status.
UniqueCodevarchar(12)Alphanumeric value with special characters