vrvoice1 | 2017-05-11 12:48:56 UTC | #1
Hi,
I want to use the v2.outbound.campaigns.{id}.stats topic, but I can't find the right model for that. There is nothing like CampaignStatsNotification.
I am using the version 6.1.0
Regards,
Sven
tim.smith | 2017-05-12 13:38:15 UTC | #2
Looks like that topic is missing a schema when retrieved from GET /api/v2/notifications/availabletopics. The SDK build scripts get the notification schemas from there, so it didn't have a schema to use to create a class. I've created CD-4870 to get the schema fixed.
tim.smith | 2017-05-12 17:37:11 UTC | #3
BTW, you can determine which classes to use for notifications by looking at this file: https://github.com/MyPureCloud/platform-client-sdk-dotnet/blob/master/notificationMappings.json. There's also a class in the SDK if you want to access this list programmatically: (I just realized it's missing from the v2 sdk. I've created API-2572 to add it back in.)
system | 2017-08-28 19:34:25 UTC | #4
This post was migrated from the old Developer Forum.
ref: 1280