我有以下使用方法“set_relationship”SOAP 方法设置关系的函数,
public function setrelationship() {
$arr = array(
"session" => $_SESSION['crm_sessionID'],
'set_relationship_value' => array(
"module_`entname" => 'Contacts',
"id" => '667c8f2f-0fa7-d62f-350a-515447ae9054',
"module_name" => 'Accounts',
"module_id" => 'dd3a6387-e2e4-1ae6-4c37-515931596121'
)
);
$res = $this->client->call('set_relationship', $arr);
print_r($arr);
return $res;
}