Convert position error: 'Something went wrong. Please try after sometime', 'errorcode': 'AB1004'
-
Convert positions API not working, below are the payloads
Url: https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/convertPosition
Method: POST
Request:
{
"exchange": "NSE",
"symboltoken": "17869",
"producttype": "DELIVERY",
"newproducttype": "INTRADAY",
"tradingsymbol": "JSWENERGY-EQ",
"symbolname": "JSWENERGY",
"instrumenttype": "",
"priceden": "1",
"pricenum": "1",
"genden": "1",
"gennum": "1",
"precision": "2",
"multiplier": "-1",
"boardlotsize": "1",
"buyqty": "1",
"sellqty": "0",
"buyamount": "548.85",
"sellamount": "0",
"transactiontype": "BUY",
"quantity": 1,
"type": "DAY"
}
Response:
{
"message": "Something went wrong. Please try after sometime",
"errorcode": "AB1004",
"status": false,
"data": null
}
Screenshot