Input and Output for Multiple Leads

The Input tab and the Output tab have the following fields for upserting multiple leads.

Table 1. Input for Upserting Multiple Leads
Input Item Data Type Description
ParamsSyncMultipleLead
leadRecordList complex The keys to identify the existing leads. Each leadRecord contains the following items:
  • Id: The Marketo ID of the lead. It takes precedence over other keys.
  • Email: The email address associated with the lead.
  • ForeignSysPersonId: The foreign system ID associated with the lead.
  • ForeignSysType: The type of the foreign system, CUSTOM, SFDC, NETSUITE.
  • leadAttributeList: Attributes associated with the lead.
dedupEnabled boolean Whether to create duplicates in Marketo. A value of false indicates to create duplicates.
Table 2. Output for Upserting Multiple Leads
Output Item Data Type Description
SuccessSynLead/result/syncStatusList/syncStatus
leadId integer The Marketo ID of the updated or created lead.
status string The status of the lead.
error string Whether an error occurred during the operation. The returned value can be null.