Hi,
Is it possible to convert a Lead to an Opportunity through SOAP API?
If it isn't possible (If I have to do it mannualy): How do I make sure to delete the existing Lead?
Thanks
Hi,
Is it possible to convert a Lead to an Opportunity through SOAP API?
If it isn't possible (If I have to do it mannualy): How do I make sure to delete the existing Lead?
Thanks
(1) read the lead you want to convert
(2) create an opportunity
(3) link the opportunity to the lead
(4) set the status of the lead to converted
All standard SOAP calls. Alternatively write your own soap extension that does all the steps at once with e.g. only the lead guid passed in.
christian.
What am I doing wrong?
PHP Code:$response = $client->set_relationship($session_id, 'Opportunities', $opportunity_id, 'Leads', $leads_id);
var_dump($response);
Can anybody help me?Code:object(stdClass)#4 (3) { ["number"]=> string(2) "20" ["name"]=> string(21) "Module Does Not Exist" ["description"]=> string(43) "This module is not available on this server" }
Extra: I'm getting following id's:
PHP Code:echo "Lead_id is $leads_id, opportunity_id is $opportunity_id";
Update: now I'm getting the following error..Code:Lead_id is 16faf17d-84e6-024f-32db-4e467c034dda, opportunity_id is 5565dfc3-a694-ced4-4890-4e4fc2403429
Why does this failes????Code:object(stdClass)#8 (3) { ["created"]=> int(0) ["failed"]=> int(1) ["deleted"]=> int(0) }
Last edited by MaxxMarine; 2011-08-26 at 01:47 PM. Reason: UPDATE
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks