public function updateReportExecutionParameters($executionId, array $newParameters, $freshData = true)
    {
        $url = $this->makeUrl($executionId, false, true);
        if (is_bool($freshData)) {
            $url .= '?' . Util::query_suffix(array("freshData" => $freshData));
        }
        $parameters = array();
        foreach($newParameters as $p) {
            if ($p instanceof Parameter) {
                $parameters[] = $p->jsonSerialize();
            } else {
                throw new DtoException(get_called_class() . ": The parameter field must contain
                        only Jaspersoft\\DTO\\ReportExecution\\Parameter item(s)");
            }
        }
        $this->service->prepAndSend($url, array(204), 'POST', json_encode($parameters), true);
    }