GTD ORDER HISTORY
This API allows you to fetch the history of a GTD order, including all state transitions and execution details.
🔍 Query Parameters
| Parameter | Type | Required | Description | Example / Enum |
|---|
| offset | integer | No | Page number for pagination | 1 |
| limit | integer | No | Number of records per page | 1000 |
| gtdOrderId | string | No | GTD order ID (URL encoded) | "20230330NWSDJ0000003" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token | {{access_token}} |
| x-api-key | string | API key | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code | "s-101" |
| message | string | Success message | "GTD order history fetched successfully" |
| data | array | GTD order history records | Refer Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example / Enum |
|---|
| order_date | string | Order date | "2026-05-27" |
| gtd_order_id | string | GTD order ID | "20230330NWSDJ0000003" |
| exchange_order_no | string | Exchange order ID | "EX123456" |
| client_order_no | number | Client order number | 10001 |
| exchange | string | Exchange segment | "NSE_EQ" |
| symbol | string | Scrip symbol | "SBIN" |
| series | string | Series | "EQ" |
| transaction_type | string | Buy/Sell | "BUY", "SELL" |
| total_quantity | number | Total quantity | 100 |
| order_price | string | Order price | "500.50" |
| status | string | Order status | "OPEN", "COMPLETE", "CANCELLED" |
| pending_quantity | number | Pending quantity | 40 |
| traded_quantity | number | Executed quantity | 60 |
| previous_traded_quantity | number | Previously traded quantity | 50 |