public function create(View $view)
    {
        $params   = [
            View::ENTRY_NAME       => $view->getName(),
            View::ENTRY_TYPE       => $view->getType(),
        ];
        $url      = Urls::URL_VIEW;
        $response = $this->getConnection()->post($url, $this->json_encode_wrapper($params));
        $json     = $response->getJson();
        $view->setId($json[View::ENTRY_ID]);

        return $view->getAll();
    }