Hello Everyone,
I'm trying to set a relationship between Contacts and Leads via Soap.
Here is the code:
...
$result3 = $client->soap->create_lead( $params4 );
$result2 = $client->soap->create_contact( $params1 );
$result6 = $client->soap->convert_lead( $result3['id'] );
$paramsC = array(
'module1' => 'Contacts',
'module1_id' => $result2['id'],
'module2' => 'Leads',
'module2_id' => $result3['id'],
);
$resultC = $client->soap->set_relationship( $paramsC );
$client->soap->logout();
...
But no response and no creation. I tried with Accounts and Contacts and it works! Everything works fine but this realtionship.
What I supose, only one-to-one and one-to-many relationships works here, but many-to-many doesn't, is that true?
Thanks


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks