public function getScope($isFull = false)
{
$accessToken = $this->getAccessToken();
$domain = $this->getDomain();
if (null === $domain) {
throw new Bitrix24Exception('domain not found, you must call setDomain method before');
} elseif (null === $accessToken) {
throw new Bitrix24Exception('application id not found, you must call setAccessToken method before');
}
$showAll = '';
if (true === $isFull) {
$showAll = '&full=true';
}
$url = 'https://' . $domain . '/rest/scope.json?auth=' . $accessToken . $showAll;
return $this->executeRequest($url);
}