Retrieve Subscribers in List API
RETRIEVE SUBSCRIBERS IN A LIST
Description | Lists active user information in a specified list. |
Returns | Subscriber information (including email, name, join date, and any custom fields) or Error
|
XML Tags | Required: |
CALLING SAMPLE
<criticalimpact>
<login>
<username>username_here</username>
<password>password_here</password>
</login>
<command>
<action>listretrievesubscribers</action>
<listid>1234</listid>
</command>
</criticalimpact>
RETURN SAMPLE (SUCCESSFUL)
<criticalimpact>
<listname>Sample</listname>
<listtype>Static List</listtype>
<subscribers>
<subscriber>
<email>email_address@test.com</email>
<firstname>John</firstname>
<lastname>Doe</lastname>
<joindate>2011-02-18 19:15:15</joinddate>
<custom1>sample</custom1>
...
<custom100>sample</custom100>
</subscriber>
<subscriber>
<email>test@email.com</email>
<firstname/>
<lastname/>
<joindate>2011-02-18 19:14:05</joindate>
<custom1>sample</custom1>
...
<custom100>sample</custom100>
</subscriber>
</subscribers>
</criticalimpact>
RETURN SAMPLE (FAILURE)
<criticalimpact>
<error>
<description>List ID is required</description>
<id>0</id>
</error>
</criticalimpact>