in the information returned, I found that only LocalTimeBatch data has group ID, and all of them have "id". I wonder which ID should I use to get the performance data for particular email?
OFF TOPIC questions: is there a way to pull all the historical data for all my email campaign via REST API? Any information would be very helpful.
The id is the value you use in endpoints like this to get the performance data for a particular email, however I have not experimented with the groupId. If you plug that into the endpoint, what do you receive?
Yes, you can pull all historical performance data for your email campaigns by looping through the results from this endpoint for every single campaign you get from this endpoint.
The id is the value you use in endpoints like this to get the performance data for a particular email, however I have not experimented with the groupId. If you plug that into the endpoint, what do you receive?
Yes, you can pull all historical performance data for your email campaigns by looping through the results from this endpoint for every single campaign you get from this endpoint.