LeadConvertResult

This call returns an array of LeadConvertResult objects. Each element in the LeadConvertResult array corresponds to the LeadConvert[] array passed as the leadConverts parameter in the convertLead() call. For example, the object returned in the first index in the LeadConvertResult array matches the object specified in the first index of the LeadConvert[] array. A LeadConvertResult object has the following properties:

Name Type Description
accountId ID ID of the new Account (if a new account was specified) or the ID of the account specified when convertLead() was invoked.
contactId ID ID of the new Contact (if a new contact was specified) or the ID of the contact specified when convertLead() was invoked. For information on IDs, see ID Field Type.
leadId ID ID of the converted Lead. For information on IDs, see ID Field Type.
opportunityId ID ID of the new Opportunity, if one was created when convertLead() was invoked. For information on IDs, see ID Field Type.
success boolean Indicates whether the convertLead() call succeeded (true) or not (false) for this object.
errors Error[] If an error occurred during the create() call, an array of one or more Error objects providing the error code and description.
© Copyright 2000–2012 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.