• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/sender/rc/service.php
  • Класс: Bitrix\Crm\Integration\Sender\Rc\Service
  • Вызов: Service::getLeadWorkerUrl
static function getLeadWorkerUrl()
{
	if (!self::canUse())
	{
		return null;
	}

	$uri = new Uri('/marketing/rc/');
	$uri->addParams([
		'apply_filter' => 'Y',
		'REITERATE' => 'Y',
		'STATE' => Sender\Dispatch\Semantics::getWorkStates(),
		'MESSAGE_CODE' => 'rc_lead',
	]);

	return $uri->getLocator();
}