Get Pending GTT Order
Request to be POSTed to uri : /NorenWClientTP/GetPendingGTTOrder
Request Details
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list | |
| jKey* | Key Obtained on login success. |
| Json Fields | Possible value | Description |
|---|---|---|
| uid* | User id of the logged in user |
Response Details
Response data will have below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | GTT order success or failure indication. | |
| ai_t | Alert Type | |
| al_id | Alert Id | |
| tsym | Trading symbol | |
| exch | Exchange Segment | |
| token | Contract token | |
| remarks | Any message Entered during order entry. | |
| validity* | DAY or GTT | Validity |
| d | Data to be compared with LTP | |
| trantype | B / S | B -> BUY, S -> SELL |
| prctyp | LMT / MKT / SL-LMT / SL-MKT / DS / 2L / 3L | |
| prd | C / M / H | Product name |
| ret | DAY / EOS / IOC | Retention type (Show options as per allowed exchanges) |
| actid | Login users account ID | |
| qty | Order Quantity | |
| prc | Order Price | |
| emsg | This will be present only in case of errors. That is:
|
Sample Success Response
[ { "stat":"Ok", "ai_t":"LTP_A", "Al_id":"21041500000002", "tsym":"ACC-EQ", "exch":"NSE", "Token":"22", "Remarks":"test", "validity":"DAY", "actid":"MOHINI", "trantype":"B", "prctyp":"LMT", "Qty":1, "Prc":"1305.00", "C":"C", "prd":"C", "ordersource":"MOB", "d":"1900.00" }]Sample Failure Response
{ "stat":"Not_Ok", "emsg":"Session Expired : Invalid Session Key"}