API Changelog for Apr 2022 (v.1.0.51)

Last updated: 2022-05-10Contributors
Edit this page

Voice

Line of Business Analytics APIs

Changed Methods
POST /analytics/phone/performance/v1/accounts/~/calls/aggregate
POST /analytics/phone/performance/v1/accounts/~/calls/timeline?interval={Duration}
  • GroupingOptions enum is extended with WholeCompany option.
{
  "grouping": {
    "groupBy": "WholeCompany"
  }
}
  • If id field is non-empty it will trigger validation error.

{
  "grouping": {
    "groupBy": "WholeCompany",
    "ids": [
      "234"
    ]
  }
}
Error Message
{
  "errors": [
    {
      "errorCode": "CMN-101",
      "message": "Grouping by 'WholeCompany' cannot contain group identifiers"
    }
  ]
}

  • Added name parameter to keyInfo response object. Existing keyInfo object is extended with name parameter for both aggregate and timeline endpoints. It works for all grouping options.
    {
      "paging": {
        "page": 1,
        "perPage": 100,
        "totalPages": 1,
        "totalElements": 7
      },
      "data": [
        {
          "key": "1264917004",
          "keyInfo": {
            "extensionNumber": "33",
            "name": "SL"
          },
          "timers": {
            "allCalls": {
              "valueType": "Seconds",
              "values": 0.0
            }
          }
        },
        {
          "key": "894697005",
          "keyInfo": {
            "extensionNumber": "27",
            "name": "Nina SharedLine"
          },
          "timers": {
            "allCalls": {
              "valueType": "Seconds",
              "values": 17.29
            }
          }
        }
      ]
    }
    

Contents

Rate this page: