Input and Output for Leads
The
Input tab and the
Output tab have the following fields for upserting leads.
Table 1. Input for Upserting Leads
| Input Item
|
Data Type
|
Description
|
| ParamsSyncLead
|
| leadRecord
|
complex
|
The keys to identify the existing lead. Each
leadRecord contains the following items:
- Id: The Marketo ID of the lead. It takes precedence over the 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, or
NETSUITE.
- leadAttributeList: Attributes associated with the lead.
|
| returnLead
|
boolean
|
Whether to return the complete updated lead,
true or
false.
|
| marketoCookie
|
string
|
The
Munchkin java script cookie.
|
Table 2. Output for Upserting Leads
| Output Item
|
Data Type
|
Description
|
| SuccessSynLead/result
|
| leadId
|
integer
|
The Marketo ID of the updated or created lead.
|
| syncStatus
|
complex
|
The status of the upsert operation.
- leadId: The Marketo ID of the updated or created lead.
- status: The status of the lead.
- error: Whether an error has occurred during the operation. The returned value can be null.
|
| leadRecord
|
string
|
Attributes associated with the lead.
The email address of the lead is returned in the
EMAIL field rather than the
Email field in leadAttributeList.
|
Copyright © Cloud Software Group, Inc. All Rights Reserved.