/**
  * @Rest\Get("/single_query_report/{id}")
  * @Rest\View(template=":default:index.html.twig",serializerEnableMaxDepthChecks=true, serializerGroups={"Default"})
  */
 public function getSingleQueryReportAction(\AppBundle\Entity\SingleQueryReport $singleQueryReport)
 {
     $accounts = $this->getAccessibleAccounts();
     /*
     if($this->getAccessibleAccountIds() !== null and $singleQueryReport->getAvailableToAccounts() !== true){
         throw new HttpException(403,'This Query is not available to Account Users');
     }
     */
     $singleQueryReport->setChoices($this->container);
     return $singleQueryReport;
 }