Skip to main content

Orders History

To get characters you need to make a POST call to the following url

REQUEST ATTRIBUTES

Request ParameterDescriptionMandatory
nstordnoOrder NumberYes

RESPONSE ATTRIBUTES

#ParameterDescription
1exchangeExchange
2tsymTrading symbol
3productProduct code
4pricetypePrice type
5durationOrder duration
6pricePrice
7trgprcTrigger Price
8qtyQuantity
9disclosedqtyDisclosed quantity
10trantypeTransaction type
11avgprcAverage price
12filledsharesFilled Shares
13orderusermessageOrder User Message
14exchordidExchange Order id
15nstordnoOrder number
17statusStatus of the order
18rejectionreasonRejection reason
19exchtimestampExchange time stamp
20reqidRequest id
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/orderhistory' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 05b8167eed78367034cb5ed4a8c15930'
Request Example
{
"nstordno": "220104000034606"

}
Response Example
{
"status": "success",
"data": [
{
"exchange": "NSE",
"tsym": "IDEA-EQ",
"product": "MIS",
"pricetype": "MKT",
"duration": "DAY",
"price": "0.00",
"trgprc": "",
"qty": "1",
"disclosedqty": "0",
"trantype": "B",
"avgprc": "6.60",
"filledshares": "1",
"orderusermessage": "",
"exchordid": "1100000017915998",
"nstordno": "23031400017379",
"status": "complete",
"rejectionreason": "",
"exchtimestamp": "14-03-2023 13:13:59",
"nestreqid": ""
},
{
"exchange": "NSE",
"tsym": "IDEA-EQ",
"product": "MIS",
"pricetype": "MKT",
"duration": "DAY",
"price": "0.00",
"trgprc": "",
"qty": "1",
"disclosedqty": "0",
"trantype": "B",
"avgprc": "",
"filledshares": "",
"orderusermessage": "",
"exchordid": "1100000017915998",
"nstordno": "23031400017379",
"status": "open",
"rejectionreason": "",
"exchtimestamp": "14-03-2023 13:13:59",
"nestreqid": ""
},
{
"exchange": "NSE",
"tsym": "IDEA-EQ",
"product": "MIS",
"pricetype": "MKT",
"duration": "DAY",
"price": "0.00",
"trgprc": "",
"qty": "1",
"disclosedqty": "0",
"trantype": "B",
"avgprc": "",
"filledshares": "",
"orderusermessage": "",
"exchordid": "",
"nstordno": "23031400017379",
"status": "open",
"rejectionreason": "",
"exchtimestamp": "",
"nestreqid": ""
},
{
"exchange": "NSE",
"tsym": "IDEA-EQ",
"product": "MIS",
"pricetype": "MKT",
"duration": "DAY",
"price": "0.00",
"trgprc": "",
"qty": "1",
"disclosedqty": "0",
"trantype": "B",
"avgprc": "",
"filledshares": "",
"orderusermessage": "",
"exchordid": "",
"nstordno": "23031400017379",
"status": "open",
"rejectionreason": "",
"exchtimestamp": "",
"nestreqid": ""
}
]

}