Subscriber Type

Sep 27, 2010 at 11:31 PM

Working in VB.  Connection working.  Import Fine.  I want to use the method below to bring in a list of people from a DB.  I get an error on "Subscriber" type saying "Type Subscriber is not defined."  Does anyone know where its definition is?  Or if it was renamed to something else?   

Public Sub listBatchSubscribe_method(ByVal SubscriberList As List(Of Subscriber))
            ' A little more intense request (listBatchSubscribe using Serial/JSON)
            ' assumes a collection was created elsewhere from database info
            Dim input As listBatchSubscribeInput = New listBatchSubscribeInput()
            ' any directive overrides
            input.api_Validate = True
            input.api_AccessType = EnumValues.AccessType.Serial
            input.api_OutputType = EnumValues.OutputType.JSON

Sep 27, 2010 at 11:58 PM

via email ...

 > That was a fake type just for ease of the sample code -- you can use any

> class or DB return set you want to as long as you pass the required

> parameters into the api call.


> A thorough review of the MailChimp api v1.2 documentation for

> listBatchSubscribe() & listSubscribe() will help figure out the parameter

> requirements.


> David