Search Campaigns, filtering by dncListId

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

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

Yes, it is:

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

Thanks

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.

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,

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