if (searchDetails.id == null) {
searchDetailsId = studyManagement.newExperimentSearch(userId, searchDetails.name, searchDetails.description, searchDetails.experiment, experimentSearchParamsInfo);
} else{
throw new AccessDenied("Updating ExperimentSearch is forbidden. Create a new ExperimentSearch with updated params.");
}
return new ExperimentSearchIdResponse(searchDetailsId);
}