@krajguruYou can't run MR or Tez jobs using the REST API. The YARN REST API is meant for developers of applications such as Distributed shell, MR and Tez, not for users who submit applications.
However for spark jobs on yarn REST api can be used as given here.
https://community.hortonworks.com/articles/28070/starting-spark-jobs-directly-via-yarn-rest-api.html