Batch Push User Activity

The User Activity Batch Push serves as a log of all activities performed by program members throughout the day. Each time that an activity is performed a record is added to the file. With this, if a member performs multiple activities throughout the day he/she will appear multiple times in the file, with the activities in chronologic order.

Naming Convention
The User Activity Batch file will have the following naming convention:
2_<client_id>_USER_ACTIVITY_YYYYMMDD.zip

Zip file containing the CSV file: 2_<client_id>_USER_ ACTIVITY_YYYYMMDD.csv

Where:

  • <client_id> represents the CrowdTwist generated client_id
  • YYYYMMDD represents the timestamp of the file with year, month, and day values when the file generation is complete
  • File contains header row, comma separated
Field Name Field Type Required Notes
id Integer Y CrowdTwist user ID
activity_id Integer Y CrowdTwist activity ID
user_activity_id Integer Y Unique ID of the activity performed
activity_name String Y Name of activity performed
num_points Integer Y Number of points earned for the activity; positive for any added activity, negative for reward redeemed
notes String N Notes related to the activity performed
third_party_id String N User’s third party id
email_address String Y User’s email address
mobile_phone_number String N User’s mobile phone number
date_created Timestamp Y Date/time the activity occurred (unix timestamp)