Allows you to place a new order.
<protocol>://<domain name>/kb/PlaceOrders/PlaceOrder
INPUT
| S no. | Parameter | Description | Mandatory/Comments |
|---|---|---|---|
| 1 | Uid | User Id | Yes |
| 2 | Actid | Account Id | Yes |
| 3 | Exch | Exchange,
Possible Values: NFO , BSE , MCX , CDS , NCX , BFO , and BCD. |
Yes |
| 4 | Tysm | Trading Symbol refer here | Yes |
| 5 | Qty | Order Quantity refers to the number of units of a product. | Yes |
| 6 | Prc | Order Price refers to Price at which order is placed | Yes |
| 7 | Trgprc | Order Trigger Price refers to a Price at which the order is triggered,in case of SL-M & SL-L | No |
| 8 | Dscqty | Disclosed quantity refers to the Number of shares visible | No |
| 9 | Prd | Product Name is basically the type of product you're ordering. Possible Values: C: Delivery M: Margin H: Cover Order I: Intraday B: Bracket Order F: MTF |
Yes |
| 10 | Trantype | Transaction Type. Possible values: B - Buy, S - Sell |
Yes |
| 11 | Prctyp | Price Type Possible values: LMT (Limit) MKT (Market) SL LMT (Stop Loss Limit) SL-MKT (Stop Loss Market) |
Yes |
| 12 | Mkt_Protection | Market order protection percentage. Applicable only for MKT orders in BSE/BFO/BCS and MCX segments. | No |
| 13 | Ret | Order validity Possible Value: DAY IOC EOS |
Yes |
| 14 | Remarks | Brief comment/note/information | No |
| 15 | OrderSource | Order Source define the platform of source the order is placed. Possible value: MOB WEB TT |
No |
| 16 | Bpprc | Book Profit Price ,applicable only if product is selected as B (Bracket order) | No |
| 17 | Blprc | Book loss price,applicable only if product is selected as H and B(High Leverage and Bracket order) | No |
| 18 | Trailprc | Trailing price refers to the most recent price of a stock,applicable only if product is selected as H and B(High Leverage and Bracket order) | No |
| 19 | Amo | After Market Orders. Possible values: Yes/No |
No |
| 20 | Tysm2 | Trading symbol of second leg, mandatory for price type 2L and 3L | No |
| 21 | Trantype2 | Transaction type of second leg, mandatory for price type 2L and 3L | No |
| 22 | Qty2 | Quantity for second leg, mandatory for price type 2L and 3L | No |
| 23 | Prc2 | Price for second leg, mandatory for price type 2L and 3L | No |
| 24 | Tsym3 | Trading symbol of third leg, mandatory for price type 3L | No |
| 25 | Trantype3 | Transaction type of third leg, mandatory for price type 3L | No |
| 26 | Qty3 | Quantity for third leg, mandatory for price type 3L | No |
| 27 | Prc3 | Price for third leg, mandatory for price type 3L | No |
{ "Uid": "DEMO",
"Actid": " DEMO",
"Exch": "NSE",
"Tsym": "ACC-EQ",
"Qty": "1",
"Prc": "2224.6",
"Trgprc": "2224.6",
"Dscqty": "0",
"Prd": "I",
"Trantype": "B",
"Prctyp": "SL-LMT",
"Mkt_Protection": null,
"Ret": "DAY",
"Remarks": null,
"OrderSource": "MOB",
"Bpprc": null,
"Blprc": null,
"Amo": "No",
"Tsym2": null,
"Trantype2": null,
"Qty2": null,
"Prc2": null,
"Tsym3": null,
"Trantype3": null,
"Qty3": null,
"Prc3": null
}
| S No. | Parameter | Description |
|---|---|---|
| 1 | ResponseId | Response Id |
| 2 | Data | It contains the data of the response, such as the status of the request, request time, etc. |
{
"StatusCode": 200,
"Message": "Request successful.",
"IsError": false,
"ResponseException": null,
"Result": {
"ResponseId": 1,
"ResponseMessage": "Order placed successfully",
"Data": {
"Stat": "Ok",
"Request_time": "10:47:10 04-08-2022",
"NorenOrdNo": "22080400000002",
"Emsg": null
}
}
}