How to pass segment in list method of Export API (V 1.0).

Jun 13, 2011 at 9:07 AM

Hi,

I am using the "list" method from Export API (v 1.0).

list ( string apikey, string id, string status array segment string since )

I want to pass the segment array. In this segment i want to pass Field = "interests-X

Can any body help me how to pass interests.

Thanks..

Coordinator
Jun 13, 2011 at 9:21 AM
Edited Jun 13, 2011 at 5:25 PM
Assume that there is Grouping 1 in your list with groups X1, X2, X3.
The querystring to fetch all subscribers with these interests is:

id=<list_id>&segment[match]=all&segment[conditions][0][field]=interests-1&segment[conditions][0][op]=all&segment[conditions][0][value]=X1,X2,X3

Check this link:

Jun 13, 2011 at 10:20 AM

Thanks for your answer. This helped me :)