ID ? (Solved, Thank you)

Oct 8, 2010 at 10:15 AM


I would be greatfull if someone please tell me what is the ID field and from where can i get the ID field. I have the apikey.


Thank you in advance



Oct 8, 2010 at 10:26 AM

what ID are you talking about? 

The ListId?

Oct 8, 2010 at 10:36 AM

I want to use the following class

listMembersInput lmi=new listMembersInput(strApiKey,"String ID",Enumvalues.listMembers_status.subscribed)

I would be happy if you please tell me what whoud go in the "String ID".

Thanks in advance

Oct 8, 2010 at 10:40 AM
Edited Oct 8, 2010 at 10:46 AM

you just need to see MailChimp documentation!

listMembers(string apikeystring idstring statusstring since,integer startinteger limit)

This fantastic Wrapper is easy to understand, just have MailChimp API documentation open and all methods have


mailchimpMethodInput and mailchimpMethodOutput

it is very easy to follow and see what's is what.


for your specific example, the string id is as in MailChimp Docs "the list id to connect to. Get by calling lists()"


here is "HOW" you should read the MailChimp Documentation for this Wrapper


I hope this helps you understand this wrapper better.

Oct 8, 2010 at 11:09 AM

Thank you for your reply.

I am stil couldn't get any results. Please check my code below if I have done any error as the string field is a string so can i just send any string or anything specific ?


listMembersInput lmi = new listMembersInput(strApiKey, "subscribed", EnumValues.listMembers_status.subscribed);

lmi.api_AccessType =EnumValues.AccessType.XmlRpc;

lmi.api_OutputType =EnumValues.OutputType.XmlRpc;

 listMembers lm = new listMembers(lmi);

 listMembersOutput lmo = lm.Execute();

GridView1.DataSource = lmo.result;



Oct 8, 2010 at 11:15 AM

you didn't read the API documentation correctly!

it says you need to use the LIST ID, and that taht ID can be found using the List method

This is where you find (if you dont use the list method to retrieve it) the list ID

and here it is:

that's the STRING ID that you need to use!

Oct 8, 2010 at 11:56 AM

Thank you very much . It was really very helpfull