Placed Order Detail From Order Id
-
Hi,
After placing order from smart API : https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder
I can get the OrderId.
But; I need two things for the OrderId.- Getting the complete details of order i.e. Transaction type, price, timing of execution etc.
- Post back feature; so that from every Order execution I can perform required task at the same instance.
-
@sachinsrm said in Placed Order Detail From Order Id:
There is no request string has been passed which contains specific user Id.
HI @sachinsrm . getOrderBook response will fetch all your orders status at once. We don't have single order status API yet.
-
@admin
Hi,
How can I get specific order details from getOrderBook API?
There is no request string has been passed which contains specific user Id.var axios = require('axios');
var data = '';var config = {
method: 'get',
url: 'https://apiconnect.angelbroking.com
/rest/secure/angelbroking/order/
v1/getOrderBook',
headers: {
'Authorization': 'Bearer AUTHORIZATION_TOKEN',
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-UserType': 'USER',
'X-SourceID': 'WEB',
'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
'X-MACAddress': 'MAC_ADDRESS',
'X-PrivateKey': 'API_KEY'
},
data : data
};axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
}); -
@sachinsrm said in Placed Order Detail From Order Id:
Getting the complete details of order i.e. Transaction type, price, timing of execution etc.
Hi @sachinsrm , please call getOrderBook api to get all the details.
@sachinsrm said in Placed Order Detail From Order Id:
Post back feature; so that from every Order execution I can perform required task at the same instance.
Hi, will provide this in Phase 2