Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Notifications API

    Posted 06-05-2025 18:20

    asikarwar | 2021-08-09 12:26:48 UTC | #1

    Hello,

    Thank you for all your help! I was able to make the right decision of using Notification APIs.

    Shema for Notification and Analytics APIs are different.

    I have started to understand this better... but I have couple of queries for v2.analytics.queues.{id}.observations

    1) I wanted to process event only with direction: inbound

    With Analytics API (where we used to get everything in the same json body) using conditional statements we could exclude outbound call before processing json. Python Example: if(str(rows['direction'])!="outbound"):

    My question is, how can I include only inbound calls with Events APIs? Do I need to use two Notification APIs together and process the data? v2.analytics.queues.{id}.observations + v2.routing.queues.{id}.conversations.calls


    1. Sorry this may come across as a silly question!

    I do not see requestedRoutingSkillIds in events from v2.analytics.queues.{id}.observations (important to discern the teams) we need this to determine which team we need to send alerts to.

    requestedRoutingSkillIds does not exist because there wasn’t a "metric": "oInteracting" ? or Is this included in some other API?

    Json sample:

    { "metric":"oMemberUsers", "stats":{ "count":61.0 } }, { "metric":"oUserRoutingStatuses", "qualifier":"INTERACTING", "stats":{ "count":1.0 } }, { "metric":"oOnQueueUsers", "qualifier":"INTERACTING", "stats":{ "count":1.0 } }, .................... and many more but I did not "metric": "oInteracting",

    Thanks Ashish


    asikarwar | 2021-08-09 13:28:18 UTC | #2

    Is conversationRoutingData from v2.routing.queues.{id}.conversations.calls same as requestedRoutingSkillIds ?

    "conversationRoutingData": { "queue": "object", "language": "object", "priority": 0, "skills": [ {} ],


    Jerome.Saint-Marc | 2021-08-17 13:31:15 UTC | #3

    Hello,

    1. direction is propagated in v2.routing.queues.{id}.conversations and v2.routing.queues.{id}.conversations.calls

    2. "" Is *conversationRoutingData* from *v2.routing.queues.{id}.conversations.calls* same as requestedRoutingSkillIds ? Yes, I think so. conversationRoutingData is propagated in v2.routing.queues.{id}.conversations and v2.routing.queues.{id}.conversations.calls

    Regards,


    asikarwar | 2021-08-17 13:31:13 UTC | #4

    Thank you @Jerome.Saint-Marc!


    system | 2021-09-17 13:31:46 UTC | #5

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