get_lists() only returns 47 of our 77 lists

Highlighted
Member

get_lists() only returns 47 of our 77 lists

We have been using the API function get_lists() successfully in the past, but suddenly we are only receiving a subset of 47 of our total of 77 lists.

 

$new_cc = new cc(PARAM_NAME_USER_NAME, PARAM_NAME_PASSWORD);

$new_cc->get_service_description();
    $new_cc->set_action_type('ACTION_BY_CONTACT');
    $new_cc->set_api_key(PARAM_NAME_API_KEY);

 

$_lists = $new_cc->get_lists();

 

Is there some property about a list that would inhibit the get_lists() from fetching it from Constant Contact?

 

Many thanks!

2 REPLIES 2
Highlighted
Member

Re: get_lists() only returns 47 of our 77 lists

I discovered the problem - instead of calling get_lists() I should have called get_all_lists().

Highlighted
Moderator

Re: get_lists() only returns 47 of our 77 lists

Hello,

 

Glad to hear you were able to resolve the issue. Please let us know if you have any other questions!

 

Sincerely,
David B.
API Support Specialist

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Register for our "Making Sense of Online Marketing for Retail" Webinar

Join us on Thursday, August 13th at 2pm ET for a free webinar where we'll discuss how to incorporate online marketing into your retail store.

Read More
Featured