class JobRestController extends HerdBaseController {

    @RequestMapping(value = "/jobs/ids/{id}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_JOBS_PUT)
    public Job updateJob(@PathVariable("id") String id, @RequestBody JobUpdateRequest jobUpdateRequest) throws Exception
    {
        return jobService.updateJob(id, jobUpdateRequest);
    }

}