我尝试添加记录到lead,它的工作正常,但插入的记录没有更新一个created_by和modified_by名称。
$bulkStatus = ZohoCrm::addLeadsRecord([
'Email' => $model->email,
'First_Name' => $model->full_name,
'Description' => $model->message,
'Phone' => $model->phone,
'Country' => $model->country,
'Last_Name' => $model->full_name,
'Created_By' => ["name" => "Hadi", "id" => "xxxxxxxxxxxxxxxxxx"],
'Modified_By' => ["name" => "Hadi", "id" => "xxxxxxxxxxxxxxxxxx"],
'$gclid' => isset($_POST['zc_gad']) ? $_POST['zc_gad'] : 'Undefined!',
"Owner" => [
"id" => "xxxxxxxxxxxxxxxxxx",
"name" => "Hadi"
],
"Lookup" => [
"id" => "xxxxxxxxxxxxxxxxxx",
"name" => "Hadi"
],注意:我也试过了,但也不能工作。
'Created_By' => "xxxxxxxxxxxxxxxxxx",
'Modified_By' => "xxxxxxxxxxxxxxxxxx",发布于 2019-03-27 19:44:47
这不是一个正确的attempt.created_by和modified_by 无法更新。
https://stackoverflow.com/questions/54960110
复制相似问题