// [Route("cancelprocessjob/{jobCode}/{startDate}/{endDate}")]
        //  public HttpResponseMessage CancelProcesss(HttpRequestMessage request, string jobCode, DateTime startDate, DateTime endDate)
        public HttpResponseMessage CancelProcesss(HttpRequestMessage request, string jobCode)
        {
            return(GetHttpResponse(request, () =>
            {
                //Cancel Job

                ProcessJob[] jobs = _ExtractionProcessService.CancelProcessJobByCode(jobCode);

                return request.CreateResponse <ProcessJob[]>(HttpStatusCode.OK, jobs);
            }));
        }