public function executeGetItem(\Library\HttpRequest $rq) { // Init result $result = $this->InitResponseWS(); $service_id = intval($this->dataPost["service_id"]); $service_selected = \Applications\PMTool\Helpers\ServiceHelper::GetAService($this->user(), $service_id); $result["service"] = $service_selected; $this->SendResponseWS($result, array("resx_file" => \Applications\PMTool\Resources\Enums\ResxFileNameKeys::Service, "resx_key" => $this->action(), "step" => $service_selected !== NULL ? "success" : "error")); }