Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Analytics API - Returning all conversations

    Posted 07-02-2020 10:17
    No replies, thread closed.
    Hi, I'm currently calling the following Analytics API in Denodo as a way to expose the data to end users: https://api.mypurecloud.com/api/v2/analytics/conversations/########-####-####-####-############/details. This call is returning a specific conversation ID. Is there a way to return all calls pertaining to our company?
    #Integrations


  • 2.  RE: Analytics API - Returning all conversations

    Posted 07-02-2020 12:59
    No replies, thread closed.
    You might want to take a look at the Analytics Query Builder for more info on how to shape a query. You have to specify a date/time range, which I don't think you can do via the URL, so it might not be possible from Denodo

    https://developer.mypurecloud.com/developer-tools/#/analytics-query-builder

    ------------------------------
    George Ganahl GCP (Genesys Cloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 3.  RE: Analytics API - Returning all conversations

    Posted 07-07-2020 16:18
    Edited by Mary Vo 07-07-2020 16:28
    No replies, thread closed.
    @George Ganahl I was not able to access the page you linked above, but I found this document that I am assume is similar to the linked page: https://developer.mypurecloud.com/gettingstarted/developer-tools-analytics-query.html#:~:text=The%20Analytics%20Query%20Builder%20developer,from%20your%20Genesys%20Cloud%20organization.

    The example shows a query against the "Conversation Detail" query type. This seems to almost accomplish what I'm looking for except, I don't want to include an actual dimension value --- I'm assuming I can leave the segment filters out. Can you tell me which API this calling?

    I have tried:
    GET https://api.mypurecloud.com/api/v2/analytics/conversations/########-####-####-####-############/details
    This required I call a specific conversation when I'd like to return all conversation
    POST https://api.mypurecloud.com/api/v2/analytics/conversations/aggregates/query
    The body for this call had just interval. However, the result returns only interval, metric, mediatype, count, max, min, and sum. I'm interested in the dimensions returned in the above call. 
    Body:
    {
    "interval": "2020-06-03T00:00:00.000Z/2020-06-04T00:00:00.000Z",
    }