Legacy Dev Forum Posts

 View Only

Sign Up

Channel Topic Response Class Objects

  • 1.  Channel Topic Response Class Objects

    Posted 06-05-2025 18:06

    Allow | 2020-05-07 14:59:45 UTC | #1

    I am subscribing to several channels and am having a hard time finding the response class objects. I have the URL to the list of channel topics, and that list shows the schema for the response notification, but it does not give the name of the class object that PureCloud has defined internally with the schema. I realize I could create my own class object, but my concern is the API/object will be updated and then my external object would no longer match and it would take time to figure out what had happened.

    An example of a channel topic response class object I was able to find is PureCloudPlatform.Client.V2.Model.PresenceEventUserPresence which is the response object for the v2.users.{id}.presence topic.

    Two questions and if you can answer question #1 with a yes (and provide the location) then I don't need question #2 answered:

    1. Is there is a list of these response class objects somewhere?
    2. What is the response class object for v2.users.{id}.activity?

    tim.smith | 2020-05-07 15:02:27 UTC | #2

    The topic-model mapping is here: https://github.com/MyPureCloud/platform-client-sdk-dotnet/blob/master/notificationMappings.json


    Jerome.Saint-Marc | 2020-05-07 15:13:09 UTC | #3

    The information is also available in the NotificationTopics static class.

    See here: Notification Topics and Classes for Deserialization


    system | 2020-06-07 15:13:13 UTC | #4

    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: 7739