Response shape unconfirmed for multiple ordersThe sample response is a single order object, not an array. Confirm with a live call whether multiple pending GTT orders come back as a list — don't assume the array shape shown for Get Enabled GTT Orders applies here.
The order parameters that will be submitted once triggered — same meanings as in Place GTT Order.
emsg
Present only on failure.
Best Practices
Poll this endpoint periodically (or on reconnect) rather than relying purely on local state — it's your source of truth for which GTT orders are still dormant versus already triggered or cancelled.
Confirm the exact response shape with a live account holding 2+ pending GTT orders before writing parsing code — the documented sample shows only a single order object, and this doc doesn't confirm whether multiple orders come back as an array or as repeated top-level fields.
Cross-reference al_id values here against your own local record of orders you placed via Place GTT Order to detect any GTT orders that triggered (and therefore disappeared from this list) since your last check.
API Endpoint
POSThttps://api.shoonya.com/NorenWClientAPI/GetPendingGTTOrderapplication/x-www-form-urlencodedjData=<JSON payload>&jKey=<AccessToken>Parameters
Request Examples
Response
Best Practices
al_idvalues here against your own local record of orders you placed via Place GTT Order to detect any GTT orders that triggered (and therefore disappeared from this list) since your last check.