1 Reply Latest reply on Feb 28, 2019 9:01 PM by Brandon Yagihashi-Oracle

    Responsys API: /campaigns empty after offset 0

    8396cd7b-3765-4c76-98ea-2413c36919a9

      Hi,

       

      I am following the documentation from the following links in order to get a list of all my "email" campaigns. However, the API response contains only 89 campaigns. This is very odd because the UI shows that I have 9,000+ campaigns. I try to load at different offsets, but get nothing at any of those.

       

      I have checked the permissions and I'm using the same user to auth in the API as I am using in the web app.

       

      Has anyone else experienced this issue? Do you have ideas?

       

      Docs:

      1. https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCEB/OMCEB.pdf
      2. https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCED/op-rest-api-v1.3-campaigns-get.html

       

      Sincerely,

      Ben

        • 1. Re: Responsys API: /campaigns empty after offset 0
          Brandon Yagihashi-Oracle

          Hi Ben,

           

          I think it would help to see a sample POST request of what you're sending, but there are a few limitations noted in the documentation for the

          /rest/api/v1.3/campaigns?type=email endpoint:

          • The response contains an array of up to 200 campaign objects per request. Use the next link in the response to get the next set of objects (if there are more than 200).


          This probably isnt your issue, but just to note each response can only have 200 campaign objects.

           

          For this API:

          • "Email" returns EMD email campaigns only; it does not return Classic campaigns.

           

          It could be possible that you only have 89 EMD campaigns and the rest are classic?

           

          Thanks,
          Brandon