...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmContactRestProxy
- Вызов: CCrmContactRestProxy::processMethodRequest
public function processMethodRequest($name, $nameDetails, $arParams, $nav, $server) { $name = mb_strtoupper($name); if($name === 'COMPANY') { $bindRequestDetails = $nameDetails; $bindRequestName = array_shift($bindRequestDetails); $bindingProxy = new CCrmEntityBindingProxy(CCrmOwnerType::Contact, CCrmOwnerType::Company); return $bindingProxy->processMethodRequest($bindRequestName, $bindRequestDetails, $arParams, $nav, $server); } return parent::processMethodRequest($name, $nameDetails, $arParams, $nav, $server); }