Comment on page
Converts a Lead with the same logic used in the Salesforce UI
Converts a Lead using functionality similar to that provided by the Convert Lead action in the UI and the Apex function
Database.convertLead. Users may optionally supply an account, contact and opportunity to merge the converted lead into. If any of those are not specified they will be created.
The result of converting the Lead. If conversion was successful, contains references to the Account, Contact and Opportunity the Lead was converted into.