Help with SL-M orders

I want to place a SL-M buy order for Rs. 100 and sell if price drops below Rs. 98. How will my api call look like?

Same when I am shorting a stock using SL-M. Order at Rs 100 and exit if price goes above Rs.102.

@shanmu Can you help?

Please refer this comment - SL-M Order via API is not placed on the exchange - #6 by shanmu