Legacy Dev Forum Posts

 View Only

Sign Up

userId is missing in group aggregates

  • 1.  userId is missing in group aggregates

    Posted 06-05-2025 19:06

    rama.meenavilli | 2020-12-23 11:43:03 UTC | #1

    Not received userId in result query (inside the group) for some conversations. userId should be inside the group array.

    Endpoint url: POST /api/v2/analytics/conversations/aggregates/query

    Generated Query: { "interval": "2020-10-01T09:58:12.000Z/2020-10-01T10:03:12.000Z", "groupBy": [ "conversationId", "userId" ], "filter": { "type": "and", "clauses": [ { "type": "or", "predicates": [ { "type": "dimension", "dimension": "mediaType", "operator": "matches", "value": "voice" } ] } ] }, "views": [], "metrics": [ "nError", "nOffered", "nOutbound", "nOutboundAbandoned", "nOutboundAttempted", "nOutboundConnected", "nOverSla", "nTransferred", "oServiceLevel", "oServiceTarget", "tAbandon", "tAcd", "tAcw", "tAgentResponseTime", "tAnswered", "tHandle", "tHeld", "tHeldComplete", "tIvr", "tTalk", "tTalkComplete", "tWait" ] }

    Query Result: { "results": [ { "group": { "conversationId": "2ab22c74-d1e9-444a-8325-feeeaf7909d4", "mediaType": "voice" }, "data": [ { "interval": "2020-10-01T09:58:12.000Z/2020-10-01T10:03:12.000Z", "metrics": [ { "metric": "tIvr", "stats": { "max": 46212, "min": 46212, "count": 1, "sum": 46212 } } ] } ] } ] }

    Not received userId in result query inside the group.


    tim.smith | 2020-12-23 17:07:19 UTC | #2

    If your query results are missing data, please open a case with Genesys Cloud Care to investigate as customer-specific data cannot be investigated via the forum.


    rama.meenavilli | 2020-12-26 03:11:11 UTC | #3

    ok Noted. Can you please share Genesys Cloud Care contact info including email and contact numbers.


    Jerome.Saint-Marc | 2020-12-27 15:48:15 UTC | #4

    Hello,

    Here is a page with some information on how to contact Genesys Care: https://help.mypurecloud.com/articles/contact-genesys-cloud-care/

    Regards,


    system | 2021-01-26 15:48:17 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 9588