Excel Add-In for Marketo

Build 24.0.9175

CreateActivitiesExportJob

Create an activities export job based on the given filters.

Execute

Sample
	EXECUTE CreateActivitiesExportJob CreatedAtStartAt='2023-01-01T00:00:00Z', CreatedAtStartAt='2023-01-10T00:00:00Z'
	EXECUTE CreateActivitiesExportJob ActivityTypeIds='1', CreatedAtStartAt='2023-01-01T00:00:00Z', CreatedAtStartAt='2023-02-25T00:00:00Z'
	EXECUTE CreateActivitiesExportJob ActivityTypeIds='1,2,23', CreatedAtStartAt='2023-01-01T00:00:00Z', CreatedAtStartAt='2023-02-25T00:00:00Z'
	EXECUTE CreateActivitiesExportJob ActivityTypeIds='1', PrimaryAttributeValueIds='1,2,3', CreatedAtStartAt='2023-01-01T00:00:00Z', CreatedAtStartAt='2023-02-25T00:00:00Z'
	EXECUTE CreateActivitiesExportJob ActivityTypeIds='1', PrimaryAttributeValues='value1,value2', CreatedAtStartAt='2023-01-01T00:00:00Z', CreatedAtStartAt='2023-02-25T00:00:00Z'

Input

Name Type Required Description
Format String False Format of export file to be generated. Available values are: CSV, TSV, SSV

The allowed values are CSV, TSV, SSV.

The default value is CSV.

Columns String False Comma separated list of columns that will be retrieved. Defaults to * (all columns). Different header names can be specified for each column using this syntax: columnName=csvHeaderName i.e.:leadRole=Role,marketingSuspendedCause=SuspendedCause,*

The default value is *.

UseAPINames Boolean False If set to true, you must specify fields in the columns input based on their name in the Marketo API. Defaults to false, meaning you can provided column names based on the drivers metadata (sys_tablecolumns).

The default value is false.

CreatedAtStartAt Datetime False Inclusive lower bound filter for the activity creation datetime.
CreatedAtEndAt Datetime False Inclusive upper bound filter for the activity creation datetime.
ActivityTypeIds Integer False The id of a the activity type. Available activity types can be queried from the view ActivityTypes.
PrimaryAttributeValueIds Integer False Filter based on the id of the primary attribute of the activity. When used, the activityTypeIds filter must be present and only contain activity ids that match the corresponding asset group. Cannot be combined with PrimaryAttributeValues.
PrimaryAttributeValues String False Filter based on the values of the primary attribute of the activity. When used, the activityTypeIds filter must be present and only contain activity ids that match the corresponding asset group. Cannot be combined with PrimaryAttributeValueIds.

Result Set Columns

Name Type Description
Id String The Id of the export job.
Format String The format of the export job.
CreatedAt Datetime The date when the export job was created.
Status String The status of the export process.
Success Boolean Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details.
Details String Details of execution failure. NULL if success=true.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175