Jump to: navigation, search

Get most recent statistic values

You can use the following request retrieve the most recent statistic values for a specific object ID:

GET api/v1/stats/{objectId}

For example:

GET api/v1/stats/e653a99ae8a74dd5bfb5c7be57bd8c65

Returns:

{
       "objectId": "e653a99ae8a74dd5bfb5c7be57bd8c65",
       "statusCode":0,
       "statistics": [
           {
               "statistic": "numAnsweredCalls",
               "value": 222,
               "time": 1345144080379
           },
           {
               "statistic": "numCalls",
               "value": 500,
               "time": 1345143997464
           },
           {
               "statistic": "numDroppedCalls",
               "value": 200,
               "time": 1345144064936
           }
       ]
   }

If you need to get an individual statistic, you can parse the results of the query for the particular statistic.

This page was last edited on February 15, 2024, at 19:11.
Comments or questions about this documentation? Contact us for support!