Legacy Dev Forum Posts

 View Only

Sign Up

Inconsistent metric format

  • 1.  Inconsistent metric format

    Posted 06-05-2025 19:07

    Sara_He | 2021-07-13 04:24:41 UTC | #1

    Hi

    I recently found in the response of conversations aggregates query, the format of metric is different. For example below response, the tWait sum is in scientific format, however same value in tAcd is in the usual integer format. Is it supposed to be like that, or there's an option to not use scientific notation or that's a bug that Genesys can fix?

    Thank you.

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

    Response: { "group": { "direction": "inbound", "divisionId": "6ab235db-306c-4abf-840d-6168f29d0eba", "mediaType": "voice", "queueId": "50f496a8-e994-40d1-aa9d-66f0bd3097dc" }, "data": [{ "interval": "2021-07-12T14:00:00.000Z/2021-07-13T14:00:00.000Z", "metrics": [{ "metric": "nError", "stats": { "count": 5 } }, { "metric": "nOffered", "stats": { "count": 72 } }, { "metric": "nOverSla", "stats": { "count": 40 } }, { "metric": "tAbandon", "stats": { "max": 236814, "min": 1051, "count": 13, "sum": 1406904 } }, { "metric": "tAcd", "stats": { "max": 453782, "min": 1051, "count": 72, "sum": 10096600 } }, { "metric": "tWait", "stats": { "max": 453782.0, "min": 1051.0, "count": 72, "sum": 1.00966E+7 } } ] } ] }


    anon11147534 | 2021-07-13 16:09:30 UTC | #2

    Hi,

    It appears to be a bug in the API. The analytics team are currently looking into it.

    A fix should be released in the next few days or weeks. Thanks for reporting it.


    system | 2021-08-12 16:15:13 UTC | #3

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