LeadConversionMappingUpsert
Updates existing lead conversion mapping data or inserts new mapping data.
Usage
Use the LeadConversionMappingUpsert method to insert or update lead conversion mapping data.
The apdata:FieldMapping argument contains the following elements containing lead conversion mapping data:
-
LeadFieldName. The system name of a field on the Lead record type.
-
ContactFieldName. The system name of the field on the Contact record type that the field on the Lead record type is mapped to, if a mapping exists. If no field is specified here, and if a mapping previously existed between the specified field on the Lead record type and a field on the Contact record type, then the mapping is deleted.
-
OpportunityFieldName. The system name of the field on the Opportunity record type that the field on the Lead record type is mapped to, if a mapping exists. If no field is specified here, and if a mapping previously existed between the specified field on the Lead record type and a field on the Opportunity record type, then the mapping is deleted.
-
AccountFieldName. The system name of the field on the Account record type that the field on the Lead record type is mapped to, if a mapping exists. If no field is specified here, and if a mapping previously existed between the specified field on the Lead record type and a field on the Account record type, then the mapping is deleted.
-
DealRegistrationFieldName. The system name of the field on the Deal Registration record type that the field on the Lead record type is mapped to, if a mapping exists. If no field is specified here, and if a mapping previously existed between the specified field on the Lead record type and a field on the Opportunity record type, then the mapping is deleted.
Arguments
The following table describes the arguments taken by the LeadConversionMappingUpsert method.
Name | Description | Required | Default | I/O |
---|---|---|---|---|
apData:LeadConversionMapping |
The lead conversion mapping data to be inserted or updated. |
Yes |
Not applicable |
Input |
Status |
The status of the call. |
Not applicable |
Not applicable |
Output |
Return Value of the Call
The status is returned.