如何通过 PHP-SDK APIv2 在 Zoho 中插入查找字段

how insert lookup field in Zoho via PHP-SDK APIv2

我尝试在 Calls 模块中插入记录,没问题,但是当我尝试插入链接到 Lead 或 Contacts 的记录时,出现这样的错误 - 原因:'required field not found'

我尝试通过以下方式添加查找字段:

 $record->setFieldValue("What_Id", '"id":"4270452000000312806"');
 $record->setFieldValue("What_Id", '"entityId":"4270452000000312806"');
 $record->setFieldValue("What_Id", '"name":"Markus List"');
 $record->setFieldValue("What_Id", '"entityId":"4270452000000312806", "name":"Markus List"');
 $record->setFieldValue("What_Id", '"id":"4270452000000312806" "name":"Markus List"');

需要使用字段"se_module":

$record->setFieldValue("What_Id", "4270452000000312806");/*Contact or Lead ID*/
$record->setFieldValue("Who_Id", "4270452000000242013");/*Company linked to contact*/
$record->setFieldValue("se_module", "Leads");/*Leads or Contacts*/

感谢来自 Zoho CRM 支持的 Dharani 与我分享了该信息。