Input and Output for Lead Changes

The Input tab and the Output tab have the following fields for retrieving lead changes.

Table 1. Input for Retrieving Lead Changes
Input Item Data Type Description
ParamsGetLeadChanges
startPosition complex Paginates through a large number of returned activity types. All the values in this field are returned by the previous batch. It contains the following items:
  • latestCreatedAt
  • oldestCreatedAt
  • ActivityCreatedAt
  • offset
activityFilter

string This field is deprecated.
activityName

Filter

string The activities that the activity filters specified.
batchSize integer The maximum number of leads to be queried each time.
LeadKey

Selector

string The lead keys used to query multiple leads. The selector contains key types and key values.
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: Queries all the leads updated until the specified time.
  • oldestUpdatedAt: Queries 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 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.
Table 2. Output for Retrieving Lead Changes
Output Item Data Type Description
SuccessGetLeadChanges
returnCount integer The number of activity types that have been returned in this batch.
remainingCount integer The number of activity types that have not been returned.
newStart

Position

string The new start position for the next batch.
activityRecord

List

complex The changes of the identified leads supposed to be returned.