/**
  * Ajax response for auto complete
  * returns JSON of matching service categories
  */
 public function executeGetServiceCategoriesAutoComplete(\Library\HttpRequest $rq)
 {
     $result = $this->InitResponseWS();
     // Init result
     //Get services
     $sessionPm = \Applications\PMTool\Helpers\PmHelper::GetCurrentSessionPm($this->user());
     $pm_services = \Applications\PMTool\Helpers\ServiceHelper::GetPmServices($this, $sessionPm, NULL, TRUE);
     $categories = \Applications\PMTool\Helpers\ServiceHelper::GetMatchingServiceCategories($pm_services, $this->dataPost['search']);
     $result['matches'] = $categories;
     $scFound = true;
     $this->SendResponseWS($result, array("resx_file" => \Applications\PMTool\Resources\Enums\ResxFileNameKeys::Service, "resx_key" => $this->action(), "step" => $scFound ? "success" : "error"));
 }