Input and Output for Multiple Leads

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

Table 1. Input for Retrieving Multiple Leads
Input Item Data Type Description
ParamsGetMultipleLead
LeadKey

Selector

string The lead keys used to query multiple leads. The selector contains a key type and a key value.
Note:
  • This field is displayed when LeadKeySelector is selected in the Selector Type field in the General tab.
  • Only some specific values are valid for this field, see the Marketo documentation for details.
LastUpdateAt

Selector

dateTime The timestamp to specify the query criteria, a date range. The selector contains the following two items:
  • latestUpdatedAt: To query all the leads updated until the specified time.
  • oldestUpdatedAt: To query all the leads updated since the specified time.
Note: This field is displayed when LastUpdateAtSelector is selected in the Selector Type field in the General tab.
StaticList

Selector

complex The ID or name of the static list to be queried.
Note: This field is displayed when StaticListSelector is selected in the Selector Type field in the General tab.
lastUpdatedAt dateTime This field is deprecated.
streamPosition string The position reference to paginate through a large number of leads. The value of the stream position is returned by the previous batch.
batchSize integer The maximum number of leads to be queried each time.
include

Attributes

string A list of attributes of the leads to be queried.
Table 2. Output for Retrieving Multiple Leads
Output Item Data Type Description
SuccessGetMultipleLeads/result
returnCount integer The number of leads that have been returned in this batch.
remaining

Count

integer The number of rest leads that have not been returned.
newStream

Position

string The new stream position for the next batch.
leadRecordList complex The attributes of the leads that have been queried.