gaurav_rai | 2020-07-21 01:12:43 UTC | #1
Trying to understand if there is any documentation on how to interpret the notifications API - https://developer.mypurecloud.com/api/rest/v2/notifications/notification_service.html .. I am trying to subscribe for events for a queue to interpret the messages that we recieve similiar to subscribing for an object in Engage an getting all the events that occur on that object.
tim.smith | 2020-07-22 15:16:13 UTC | #2
The available topics are documented here: https://developer.mypurecloud.com/api/rest/v2/notifications/available_topics.html.
gaurav_rai, post:1, topic:8340
I am trying to subscribe for events for a queue to interpret the messages that we recieve
Most events send the current state of the object in question. For example, v2.users.{id}.conversations will provide the current state for a conversation object that changed. A well-formed application will cache the state of the last notification for the conversation. When a new notification comes in for the conversation, the application will diff the two JSON objects to determine what changed. This will allow you to determine things like when participants were added or when the connected/recording/muted state changes.
system | 2020-08-22 15:16:15 UTC | #3
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: 8340