In reply to Ankit Shah.

A common mistake is not using the correct content-type. Refer to the DataFlux Data Management Server 2.7: REST API Reference guide for the appropriate type for your request.(http://support.sas.com/documentation/onlinedoc/dfdmserver/2.7/dmpdmsrvrestref/Default.htm)

Also, make sure you test your action using Data Management Server Manager to ensure the Data Management Server configuration is correct before working with jobs/services via REST APIs.