Legacy Dev Forum Posts

 View Only

Sign Up

Search Campaigns, filtering by dncListId

  • 1.  Search Campaigns, filtering by dncListId

    Posted 06-05-2025 18:14

    jacob.wong | 2019-04-10 01:16:05 UTC | #1

    Hi,

    I'm trying to use outboundApi.getOutboundCampaigns to find all campaigns which uses a particular 'do not call list' by providing the dncListId in the method. But the it always return all the campaigns regardless of the filterType that I used.

    CampaignEntityListing outboundCampaigns = outboundApi.getOutboundCampaigns(100, 1, null, null, null, null, "9acf6f03-8c18-490d-aa13-043f3771300c", null, null, null, null, null);

    Is this the correct way to find campaign filtering by dncListId?

    Thanks, Jacob


    tim.smith | 2019-04-10 13:04:36 UTC | #2

    Yes, can you provide a correlation ID from the response?


    jacob.wong | 2019-04-10 23:33:21 UTC | #3

    Yes, it is:

    ININ-Correlation-Id: ec7b94b1-0575-4b18-9001-3d849c91f7c9

    Thanks


    tim.smith | 2019-04-11 14:58:41 UTC | #4

    Everything looks good in the logs. No errors and I can see that the DNC list ID is being passed in correctly. I tested in my org and it's returning a filtered list correctly. Please open a case with PureCloud Care for further investigation.


    jacob.wong | 2019-04-12 02:15:47 UTC | #5

    Humm, the api returned the full list campaigns when I tested it. I probably won't need this feature now. I'll raise a case when I need this feature.

    Thank you,


    system | 2019-05-13 02:15:49 UTC | #6

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 4959