Closed DBY77 closed 9 years ago
I'm running into the same issue. Is there a workaround? Thanks.
Same Issue, please resolve this. Return Json is ok, but .NET wrapper does not parsing and displaying the data.
@HaroonWasim Feel free to submit a pull request with fixes for this issue, or suggest what fix might be appropriate.
Thanks for replying @danesparza . ListMemberInfo function is returning every thing fine but issue is that, this function is not returning Merges i.e Merge Variables that we assosiated with our subscriber e.g First Name , Last Name and other merge variable. and one more thing is that return json result from mailchimp is OK. Return json contain these merge variables but when this json parse from your function it does not return merge variable. Please go through this and reply
Regards,
I think the solution would be a object with the fixed properties (new-email, etc.), the Grouping object and a dictionary containing the mergevar fields with their values..
Something like this: mailchimp mergevar with fieldvalues, MergeVar implements IDictionary to store field/value information and a custom (de-)serialize option https://gist.github.com/mdissel/6c9d8967a0c9e17675a5
Hi I update class MergeVar, can you update deserilization grouping!? Thanks
I can see that you have changed the MemberMergeInfo from a Dic of strings, to MergeVar
That might be okay when creating MyMergeVar : MergeVar, that I would use when subscribing members with BatchEmailParameter.
But when I call GetAllMembersForList() or GetMemberInfo() it cannot deserialize the list of MergeVars "merges" that comes from MailChimp to a MergeVar object.
Have you missed something here, or do I need to do something different?