Skip to content

Exports

Examples

Request to trigger a single export

  • Criteria: a count export containing all activities for the developer-conference-2022 experience
{
    "notify": "sarah.jones@abc.com",
    "name": "Report for the developer conference",
    "schedule_type": "single",
    "experience_id": "developer-conference-2022",
    "export_type": "count"
}

Request to trigger a recurring export

  • Criteria: a list export containing all daily registration activities for the developer-conference-2022 experience
  • Schedule: once per day at 22:00 (Australia/Sydney timezone) for 7 days
{
    "experience_id": "developer-conference-2022",
    "activity_type": "registration",
    "timezone": "Australia/Sydney",
    "update_datetime": "yes",
    "name": "Daily registrations for W/C 7th Dec 2022",
    "notify": "sarah.jones@abc.com",
    "start_date": "2022-12-07",
    "end_date": "2022-12-07",
    "profile_fields": [
        "id",
        "title",
        "first_name",
        "last_name",
        "email"
    ],
    "activity_fields": [
        "id",
        "experience_id",
        "activity_type",
        "payload.object_id",
        "created"
    ],
    "export_type": "list",
    "schedule_type": "multiple",
    "schedule": {
        "frequency": "daily",
        "runtime": "22:00:00",
        "start_date": "2022-12-07",
        "stop_date": "2022-12-14"
    }
}