/**
  * @Rest\Get("/single_query_report/{id}/run")
  * @Rest\View(template=":default:index.html.twig",serializerEnableMaxDepthChecks=true, serializerGroups={"Default"})
  */
 public function runSingleQueryReportAction(\AppBundle\Entity\SingleQueryReport $singleQueryReport, Request $request)
 {
     try {
         $data = $singleQueryReport->run($this->container, $request);
     } catch (\Exception $e) {
         $httpCode = $e->getCode() > 0 ? $e->getCode() : 500;
         throw new HttpException($httpCode, $e->getMessage());
     }
     return $data;
 }