Expand my Community achievements bar.

SOLVED

Only get a few samples when calling ACS Campaign API

Avatar

Level 1

Hello Everyone,

 

I have some issues when pulling the profiles data from acs campaign api. I use the link https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServices/profile

My code generate no errors at last. But I only get 25 records in the json file. In fact, we have thousands of records in our instance. I would really appreciate if someone share some thoughts about this issue.

 

Thanks,

Rebecca 

1 Accepted Solution

Avatar

Correct answer by
Level 6

I don't know.  We have millions of profiles so we would do it via workflow & sftp with that volume.

View solution in original post

5 Replies

Avatar

Level 6

Try https://mc.adobe.io/<organization>/campaign/profileAndServicesExt/

Avatar

Level 1

Hi @johnwwilcoxmba 

 

Thanks a lot for your reply! I try the new link. I get more features than before but still 25 records in the profile. Do u have other suggestions in the issue?

 

Thanks,

Rebecca

Avatar

Level 6

Did you try using linecount?  

GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServices/profile/email?_lineCount=10

Avatar

Level 1

Hi @johnwwilcoxmba ,

 

I try linecount and can get all the email addresses from the api now. Thank u so much! Can we have some ways to extract all the profiles directly in the profile api? I guess 25 profiles are just some records from page 1.

 

Thanks,

Rebecca

Avatar

Correct answer by
Level 6

I don't know.  We have millions of profiles so we would do it via workflow & sftp with that volume.