@param string|int $id
@param array $parameters

@return string
168519
public function getUpdateUrl($id, array $parameters = [])
    {
        array_unshift($parameters, $this->getAlias(), $id);

        return route('admin.model.update', $parameters);
    }
1113556
public function get($organizationId, array $parameters = [])
    {
        if (empty($organizationId)) {
            throw new ApiException("Organization ID is empty.");
        }

        return parent::rest_read($organizationId, $parameters);
    }
160842
protected function parseTrans($id, array $parameters = [], $domain = "flashes") {
        $text = $id;
        $separator = "::";
        $subSeparator = ";;";

        $textExplode = explode($separator, $id);
        if (is_array($textExplode)) {
            //id a traducir
            if (isset($textExplode[0])) {
                $text = $textExplode[0];
            }
            //Parametros de la traduccion
            if (isset($textExplode[1])) {
                $paramsString = $textExplode[1];
//                var_dump($paramsString);
                $parametersParsed = json_decode($paramsString, true);
                if (is_array($parametersParsed)) {
                    $this->parseScenarioParameters($parametersParsed);
                    foreach ($parametersParsed as $x => $v) {
                        if (strpos($v, $subSeparator) !== false) {
                            $v = str_replace($subSeparator, $separator, $v);
                            $parametersParsed[$x] = $this->parseTrans($v);
                        }
                    }
//                    var_dump($parametersParsed);
                    $parameters = $parametersParsed;
                }
            }
            //Dominio e la traduccion
            if (isset($textExplode[2])) {
                $domain = $textExplode[2];
            }
        }
        if (strpos($text, "|") && isset($parameters["{{ limit }}"])) {
            $trans = $this->container->get('translator')->transChoice($text, (int) $parameters["{{ limit }}"], $parameters, $domain);
        } else {
            $trans = $this->trans($text, $parameters, $domain);
        }
        return $trans;
    }
720496
public function load($id, array $parameters = [], array $headers = [])
    {
        return $this->loadCollection($parameters, $headers)->filterId($id);
    }
781894
public function getCreator($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/memberCreator', $params);
    }
213449
private function resolveParameters(string $id, array $parameters, ContainerInterface $container): array
    {
        $resolved = [];
        foreach ($parameters as $parameter) {
            $resolved[] = $this->getParameterValue($id, $parameter, $container);
        }
        return $resolved;
    }
1099127
public static function deleteById($id, array $params = [])
    {
        $m = new static;
        $pk = $m->getPrimaryKey();

        try {
            $response = static::bulkDelete([[$pk => $id]], $params);

            return current($response);
        } catch (BatchException $ex) {
            $response = $ex->pickResponse(0);
            if ($response instanceof \Exception) {
                throw $response;
            }

            return $response;
        } catch (\Exception $ex) {
            throw new InternalServerErrorException($ex->getMessage());
        }
    }
37864
public function getCard($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/card', $params);
    }
1056043
public function getDeltas($id, array $params = array())
    {
        return $this->get($this->path.'/'.rawurlencode($id).'/deltas', $params);
    }
543810
public static function delete($id, $options = [])
    {
        $url = static::classUrl() . '/' . $id;
        return static::_directRequest('delete', $url, null, $options);
    }
936084
public function copy(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::POST,
            ResourceMethodEnum::COPY,
            $params,
            $id
        );
    }
562778
public function getAllForFolder(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::GET,
            ResourceMethodEnum::GET_ALL_FOR_FOLDER,
            $params,
            $id
        );
    }
436477
public function getBoard($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/board', $params);
    }
359545
public function getDestroyUrl($id, array $parameters = [])
    {
        array_unshift($parameters, $this->getAlias(), $id);

        return route('admin.model.destroy', $parameters);
    }
646809
public function load($id, array $parameters = [], array $headers = [])
    {
        return $this->getFactory()->create(
            $this->getApi()->getList($id, $parameters, $headers)
        );
    }
300093
public function getMember($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/member', $params);
    }
668817
public function createForTask(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::POST,
            ResourceMethodEnum::CREATE_FOR_TASK,
            $params,
            $id
        );
    }