Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  aggregate query for retrieving call data

    Posted 07-29-2020 08:32
    Team,

    I am running below aggregate query for retrieving call data.

    Please suggest which best metric to pull full information like tacd,connected,nofferred

    {
    "interval": "2020-07-13T14:30:00.000Z/2020-07-13T18:30:00.000Z",
    "timeZone": "America/New_York",
    "groupBy": [
    "queueId"
    ],
    "filter": {
    "type": "and",
    "clauses": [
    {
    "type": "or",
    "predicates": [
    {
    "type": "dimension",
    "dimension": "queueId",
    "operator": "matches",
    "value": "ZZZZ"
    },
    {
    "type": "dimension",
    "dimension": "queueId",
    "operator": "matches",
    "value": "vcvccvv"
    }
    ]
    }
    ],
    "predicates": [
    {
    "type": "dimension",
    "dimension": "mediaType",
    "operator": "matches",
    "value": "voice"
    }
    ]
    },
    "metrics": [
    "tAcd"
    ]
    }
    #Reporting/Analytics

    ------------------------------
    Raghava Charyulu PVDS
    Cognizant Technology Solutions India
    ------------------------------


  • 2.  RE: aggregate query for retrieving call data

    GENESYS
    Posted 07-30-2020 08:45
    You should be able to send:
    "metrics": [
         "tAcd",
         "nOffered",
         "nConnected" (or "tAnswered" if you are looking for answered interactions)
    ]

    ------------------------------
    Maisey Harris
    Development Group Manager, Analytics UI & Reporting
    Genesys
    ------------------------------



  • 3.  RE: aggregate query for retrieving call data

    Posted 07-30-2020 10:55

    Hi Maisey,

     

    Thanks for your response.

     

    If I use all 3 metrics it will retrieve full interaction details correct?

     

    Thanks&Regards,
    PVDS Raghava Charyulu
    EAS CRM CIM
    M. +91-970 448 8875
    Email:raghava.pvds@cognizant.com

     






  • 4.  RE: aggregate query for retrieving call data

    GENESYS
    Posted 07-30-2020 11:34
    Ah okay, if you want the actual detail data, you'll want to use the /api/v2/analytics/conversations/details/query endpoint. For more information, I'd encourage you to check out the api docs. Additionally there is a video that demonstrates how to get analytics data from the various endpoints.

    ------------------------------
    Maisey Harris
    Development Group Manager, Analytics UI & Reporting
    Genesys
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources