BS-9664, add rest api to execute task with inputs