Place OCO Order
Place A one-cancels-the-other order
Header Parameters
Request Body
application/x-www-form-urlencoded
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/oms/place-order/oco" \ -H "Authorization: Bearer <api Key>:<access token>" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'symId=EQT_RELIANCE_EQ_NSE&side=buy&stopLossType=limit&stopLossProduct=delivery&stopQty=1&targetType=limit&targetProduct=delivery&targetQty=1'{
"s": "ok",
"d": {
"msg": "OCO Order Placed Successfully",
"orderId": "210115000000003"
}
}{
"s": "error",
"msg": "Unauthorized"
}{
"s": "error",
"msg": "Too many requests"
}{
"s": "error",
"msg": "Internal server error"
}