Activities

Returns a list of activities from after a datetime given by the nextPageToken parameter.

Table Specific Information

SELECT

The adapter uses the Marketo API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the adapter.

  • ActivityDate supports the '<,>,>=,<='
  • ActivityTypeId supports the '=,IN'.
  • LeadId supports the '=,IN'.
  • ListId supports the '='
For example, the following query is processed server-side:
Select * from Activities where activitydate > '2022-09-3' and activitydate < '2022-09-5'
Select * from Activities where activitytypeid = 11
Select * from Activities where activitytypeid IN (11,12) and leadid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)
Select * from Activities where ActivityTypeId='1' and  LeadId='123'

Columns

Name TypeFilterableDescription
Id [KEY] StringTrue Unique id of the activity.
ActivityDate DatetimeTrue Datetime of the activity.
ActivityTypeId IntegerTrue Id of the activity type.
LeadId IntegerTrue Id of the lead associated to the activity.
MarketoGUID StringUnique id of the activity (128 character string).
PrimaryAttributeValue StringValue of the primary attribute.
PrimaryAttributeValueId IntegerId of the primary attribute field.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
ListId StringId of a static list. If set, will only return activities of members of this static list.