Include the List ID (DB ID, Query ID or Contact List ID) and list name in the RawRecipientDataExport. The master database can be targeted with the API call and including the element 'INCLUDE_CHILDREN' will also pull events for not just the master database itself but for Queries and Contact Lists attached to the database also. The resulting file produced does not offer any indication as to which list was actually used for the resulting event. Including the List ID and List Name could be applied to the output file in the same way the additional options to return the mailing name and subject line is
What is your industry? | Retail |
What is the idea priority? | Medium |
The solution for this problem is to also run one of the GetSentMailings API calls and join the data using mailing_name & report_id. The sent mailings call gives you all the relevant list information it sounds like you need.