I want to load a large list in batches of lets say 100 records. for that I need to use GetAllMembersForList and set the sort_field parameter to "last_changed" (I guess) and use a segment (filter) to only get the records which have a last_changed later than the highest date/time of the last batch.
but no matter which value I set for sort_field, I always get the same rows in the same order. I Tried "last_changed", "timestamp", "info_changed".
My segment is as follows:
var result = new CampaignSegmentOptions
{
Match = "all",
Conditions = new List<CampaignSegmentCriteria>()
};
var crit = new CampaignSegmentCriteria
{
Field = "last_changed",
Operator = "gt",
Value = MailChimpManager.ConvertDateTimeToMailChimpAPI(lastSync.Value)
};
result.Conditions.Add(crit);
I want to load a large list in batches of lets say 100 records. for that I need to use GetAllMembersForList and set the sort_field parameter to "last_changed" (I guess) and use a segment (filter) to only get the records which have a last_changed later than the highest date/time of the last batch. but no matter which value I set for sort_field, I always get the same rows in the same order. I Tried "last_changed", "timestamp", "info_changed".
My segment is as follows: