Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Not completed calls

    Posted 04-17-2020 16:17
    Hello
    I'm trying via postman, to get the not completed calls from one of our orgs.
    But the body is only getting me the completed calls.
    There's some way to the that?

    Heres de body and url of the post
    Thanks in advance

    https://api.mypurecloud.com/api/v2/analytics/conversations/aggregates/query

    {{   "interval": "2020-03-12T08:00:00.000Z/2020-03-12T12:00:00.000Z",   "groupBy":    [ "Direction", "UserId"   ],   "filter": {      "type": "AND",      "predicates": [         {            "type": "Dimension",            "dimension": "UserId",            "operator": "Matches",            "value": "dd300b91-6a31-4ed7-9bae-66baa79e28e8"         },         {            "type": "Dimension",            "dimension": "Outboundcontactlistid",            "operator": "NotExists"         },         {            "type": "Dimension",            "dimension": "Mediatype",            "operator": "Matches",            "value": "voice"         },         {            "type": "Dimension",            "dimension": "Originatingdirection",            "operator": "Matches",            "value": "outbound"         }      ]   },   "metrics": [    "Noutbound", "Ttalk", "Twait", "Tacw", "Ttalkcomplete", "Thandle"    ],   "flattenMultivaluedDimensions": true}

    #Ask Me Anything (AMA)

    ------------------------------
    Raphael Sens
    Flex Contact Center Atend. A Clientes e Tecnologia Ltda
    ------------------------------


  • 2.  RE: Not completed calls

    Posted 04-19-2020 19:04
    Correct me if I am wrong, but it seems like you want all the calls that were not connected to a user.  If so, you should use this:

    { "interval": "2020-04-13T07:00:00.000Z/2020-04-17T07:00:00.000Z", "groupBy": [ "interactionType" ], "filter": { "type": "and", "predicates": [ { "type": "dimension", "dimension": "userId", "operator": "notExists", "value": null } ] }, "views": [], "metrics": [ "nOffered" ] }


    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Not completed calls

    Posted 04-20-2020 08:00
    Hello, sorry I wasn't clear
    This query return me the complete calls that was manually close

    In this print the "Informações de finalização" is the not manual close call?
    If so a I need the query that return me that, but the one i put it is showing me that the call was manual close


    ------------------------------
    Raphael Sens
    Flex Contact Center Atend. A Clientes e Tecnologia Ltda
    ------------------------------



  • 4.  RE: Not completed calls

    Posted 05-13-2020 09:34
    Hello
    Anyone can help me with this?

    ------------------------------
    Raphael Sens
    Flex Contact Center Atend. A Clientes e Tecnologia Ltda
    ------------------------------



  • 5.  RE: Not completed calls

    GENESYS
    Posted 05-13-2020 10:10
    To be clear, are you looking for calls that are still connected? 

    Similar to what you get with this Interactions view filter?


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



  • 6.  RE: Not completed calls

    Posted 05-26-2020 08:40
    Hello George
    No, I'm trying to get the manual closed calls, the API that I post in the first post is the way we are doing but return that this call is a closed call
    But in the other post says that is not manual close

    I don't know if I made myself clear
    Anyway, I need the body that return exactly the manual close calls and not manual close calls

    ------------------------------
    Raphael Sens
    Flex Contact Center Atend. A Clientes e Tecnologia Ltda
    ------------------------------



Need Help finding something?

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