Exit Position
To get characters you need to make a POST call to the following url :
REQUEST ATTRIBUTES
| Request Parameter | Description | Mandatory |
|---|---|---|
| segment | Exchange segment name | Yes |
| product | Product Code | Yes |
| netqty | Net Quantity | Yes |
| token | Symbol token | Yes |
| tsym | Trading Symbol | Yes |
RESPONSE ATTRIBUTES
| Response Parameter | Description |
|---|---|
| nstordno | Order Number |
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/exitposition' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 05b8167eed78367034cb5ed4a8c15930'
Request Example
{
"segment": "nse_cm",
"product": "CNC",
"netqty": "1",
"token": "11915",
"tsym": "YESBANK-EQ"
}
Response Example
{
"status": "success",
"data": {
"nstordno": "23031400017243"
}
}