Legacy Dev Forum Posts

 View Only

Sign Up

Analytics/Details filter by conversationEnd

  • 1.  Analytics/Details filter by conversationEnd

    Posted 06-05-2025 19:08

    Richard_Pfeiffer | 2024-06-05 08:04:07 UTC | #1

    Good Morning together!

    I'm new to the Genesys API and I'm to extract Conversation Details via Python and add them to our Data Warehouse. I tried to build incremental loads via the interval argument but it returns way more conversations than I would like. Is there an option to filter for conversations that ended in the specified interval?

    Here's the current body I'm using:

    {
                    "conversationFilters": [
                        {
                        "type": "and",
                        "clauses": [
                            {
                                "type": "and",
                                "predicates": [
                                    {"dimension": "conversationEnd",
                                    "operator": "exists"}
                                ]
                            }
                        ]
                        }
                    ],
                "interval": "2024-06-03T11:30:00/2024-06-04T11:31:00",
                "paging": 
                    {
                        "pageSize": 100,
                        "pageNumber": i
                    }
                }

    Jerome.Saint-Marc | 2024-06-05 08:21:57 UTC | #2

    Hello,

    Last time I tried, it was possible to use conversationEnd with an interval as matching value, in the conversationFilters. I mean:

    {
         "type": "dimension",
         "dimension": "conversationEnd",
         "operator": "matches",
         "value": "2024-06-03T11:30:00Z/2024-06-04T11:31:00Z"
    }

    Regards,


    Richard_Pfeiffer | 2024-06-05 08:41:15 UTC | #3

    Works like a charme - highly appreciate your help :)


    system | 2024-07-05 08:42:14 UTC | #4

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