FINS Salesforce Wealth Experience API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
| Module | Description |
|---|---|
| map-lead-to-cim | Create Lead request mapping |
map-lead-to-cim
Create Lead request mapping
Source:
./src/main/resources/dwl/map-lead-to-cim.dwl
Mapping Tables
Maps CreateLeadRequest payload to CIM Lead format
| CIM - Lead | CreateLeadRequest | Description |
|---|---|---|
| id | id | Set as null |
| leadSource | LeadSource | The lead source - default set as "Marketing Event" |
| companyName | Company | The lead company name |
| partyRole.party.personName | persoName | The Last name of the lead |
| partyType | Individual | The lead party set as "Individual" |
| contactPointEmail.contactPointType | ContactPointEmail | contactPointType set as "ContactPointEmail" |
| contactPointEmail.id | null | The contactpoint id set as null |
| contactPointEmail.activeFromDate | now() | The date from which the contactpoint is active - Set as current date |
| contactPointEmail.emailAddress | The email address of the lead |