We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

get_lists() only returns 47 of our 77 lists

ReneeN28
Participant

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
ReneeN28
Participant

I discovered the problem - instead of calling get_lists() I should have called get_all_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