Skip to main content

GTD ORDER HISTORY

This API allows you to fetch the history of a GTD order, including all state transitions and execution details.

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample / Enum
offsetintegerNoPage number for pagination1
limitintegerNoNumber of records per page1000
gtdOrderIdstringNoGTD order ID (URL encoded)"20230330NWSDJ0000003"

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token{{access_token}}
x-api-keystringAPI key{{x-api-key}}

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"GTD order history fetched successfully"
dataarrayGTD order history recordsRefer Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample / Enum
order_datestringOrder date"2026-05-27"
gtd_order_idstringGTD order ID"20230330NWSDJ0000003"
exchange_order_nostringExchange order ID"EX123456"
client_order_nonumberClient order number10001
exchangestringExchange segment"NSE_EQ"
symbolstringScrip symbol"SBIN"
seriesstringSeries"EQ"
transaction_typestringBuy/Sell"BUY", "SELL"
total_quantitynumberTotal quantity100
order_pricestringOrder price"500.50"
statusstringOrder status"OPEN", "COMPLETE", "CANCELLED"
pending_quantitynumberPending quantity40
traded_quantitynumberExecuted quantity60
previous_traded_quantitynumberPreviously traded quantity50