The activityFilter is used to filter based on activity.

Name Type Required Description
start dateValue Yes The date you want to start reading activity date from.
size int Yes The number of activity objects to be returned.
types stringValue[] No The type of activity data you want to return. Valid values are open, click, adconv, bounce, send, unsubscribe, or view. You can return more than one type at a time.
readDirection stringValue[] No, defaults to FIRST

Allows you to page through results returned. Page sizes are limited to results of 1000 to 5000, depending on what you specify for the size. Valid values are FIRST and NEXT.

NOTE: Starting a new query with NEXT will throw an error. You must start with FIRST.