Legacy Dev Forum Posts

 View Only

Sign Up

Regex to pull international calls using Query Builder - Conversation Detail

  • 1.  Regex to pull international calls using Query Builder - Conversation Detail

    Posted 06-05-2025 18:25

    glyn.hayes | 2023-02-27 07:59:53 UTC | #1

    HI, New to this forum. I'm trying to pull a form of report from Genesys to see all international calls outbound for a time period. Anyone know a way of regex'ing the results for ease? Using gc.exe to run:

    {
     "interval": "2023-02-23T14:40:00.000Z/2023-02-23T14:45:00.000Z",
     "order": "asc",
     "orderBy": "conversationStart",
     "paging": {
      "pageSize": 25,
      "pageNumber": 1
     },
     "segmentFilters": [
      {
       "type": "and",
       "predicates": [
        {
         "type": "dimension",
         "dimension": "direction",
         "operator": "matches",
         "value": "outbound"
        }
       ]
      }
     ]
    }

    Then in Powershell trying to regex the results: PS C:\Users\Glyn.Hayes\Desktop> gc.exe analytics conversations details query create -p biffa --file test.txt | Select-String -Pattern "tel:\+1718"


    Ebenezer_Osei | 2023-03-10 17:20:28 UTC | #2

    Hello,

    It looks like you are asking a specific programming question. This forum is for discussing the Genesys Cloud APIs. For help with general programming topics, your questions will be best answered on programming forums like stack overflow.

    Best


    system | 2023-04-10 17:21:10 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 18607