convertLead custom field mapping
When using
convertLead via API call, how do we
map custom Fields ?
Example: We have a 'MID' field in Leads that needs to be mapped to '
Accounts:MID' and to 'Contacts:MID'. Would they map automatically (being the same)?
What about mapping different fields, like '
Leads:State' to 'Contacts:Other State' ?
Would we need to add something like this to
the '
xmlData' parameter
: ?
- <Accounts>
- <row no="1">
- <option val="createAccount">true</option>
- <option val="assignTo">sample@zoho.com</option>
- <option val="notifyLeadOwner">true</option>
- <option val="notifyNewEntityOwner">true</option>
- </row>
- <row no="2">
- <FL val="Accounts Name">Some Name</FL>
- <FL val="MID">1234567890</FL>
- <FL val="OtherCustomField">Some Custom Value</FL>
- </row>
- </Accounts>
If so, would we have to define ALL the fields or only custom maps?
Thank you for your help!!