Genesys Cloud CX

Discussion Thread View
Expand all | Collapse all

PureCloud Weekly Release Notes - User Status Aggregate query filter limits

  • 1.  PureCloud Weekly Release Notes - User Status Aggregate query filter limits

    GENESYS
    Posted 08-08-2018 09:10

    Platform

    User Status Aggregate query filter limits

    The User Status Aggregate query filter in the Analytics API now has a limit of 100 users. In addition, the filter now limits the volume of data that an API user can request in a single query. These limits protect the back end systems by blocking abusive queries. For more information, see User Status Aggregate query in the Developer Center.



    ------------------------------
    Matt Lawson
    Genesys - Employees
    Online Community Manager
    ------------------------------


  • 2.  RE: PureCloud Weekly Release Notes - User Status Aggregate query filter limits

    Posted 13 days ago
    Hi Matt,

    I was wondering how you would proceed if you want to make every week an API request and perhaps filter to get only users that were logged in? Since we have some employee fluctuations, I would not want to write the userId of each user, since it would require a lot of manual maintenance.

    I tried something like this, but it failed:


    {
     "interval""2021-11-21T23:00:00.000Z/2021-11-22T23:00:00.000Z",
     "groupBy": [
      "userId"
     ],
     "filter": {
      "type""and",
      "predicates": [
       {
        "type""dimension",
        "dimension""userId",
        "operator""exists",
        "value"null
       }
      ]
     },
     "metrics": [
      "tAgentRoutingStatus"
     ]
    }

    I am looking forward to hearing your ideas. Thank you in advance,
    Regina


    ------------------------------
    Regina Arocha
    Zurich Insurance Group
    ------------------------------