You need to sign in to do that
Don't have an account?
vinod kumar 164
lead conversion possible using HttpWebRequest(Rest Api)
Hi
We are new to the salesforce and we are implementing to integrate our app data to salesforce.And we are in confuse to work with SOAP API or REST API which is better because when we try to work with Rest API we are succesed in creating an Account, Lead but when we try to convert a lead to account but we failed.And also we read few post reagarding Rest Api saying that Rest Api doesnot support lead conversion is it right?
If it support lead conversion would you please let us know how to work on it using httpwebrequest.
And also let us know which Api is the best one to work with salesforce to integrate to our App.
Regards
Vinod
We are new to the salesforce and we are implementing to integrate our app data to salesforce.And we are in confuse to work with SOAP API or REST API which is better because when we try to work with Rest API we are succesed in creating an Account, Lead but when we try to convert a lead to account but we failed.And also we read few post reagarding Rest Api saying that Rest Api doesnot support lead conversion is it right?
If it support lead conversion would you please let us know how to work on it using httpwebrequest.
And also let us know which Api is the best one to work with salesforce to integrate to our App.
Regards
Vinod
All Answers
Hope this is helpful.
Thanks for Quick Response.In the above code as you shown we are unable to get how to create a custom class because as we are work with c#.net code to inetgrate the Sales force to our App.Could please tell us briefly to work with above code in c#.net.
And One more Question we asked regarding working with Salesforce which one is best Api that is SOAP API or REST API?
Regards
Vinod
https://developer.salesforce.com/blogs/tech-pubs/2011/10/salesforce-apis-what-they-are-when-to-use-them.html
I prefer REST API for its ease of integration and development.
I am able to use it in a sandbox but when deploying to prod its complaining about missing code coverage. Could you assist me on that end as well?
Thanks,
Here is the test class for code coverage. Deploy this test class along with the other class. Hope this helps.
Regards,
Krishna.