• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/lib/rest/restservice.php
  • Класс: BitrixListsRestRestService
  • Вызов: RestService::getIblockTypeId
static function getIblockTypeId(array $params, $n, CRestServer $server)
{
	$param = new Param($params);

	$iblockType = new IblockType($param);

	$iblockTypeId = $iblockType->getIblockTypeId();
	if ($iblockType->hasErrors())
	{
		self::throwError($iblockType->getErrors());
	}

	return $iblockTypeId;
}