/reporting/api/v1/interaction/aggregates

Interaction Details from Reporting API

  • Interaction - The end-to-end communications with a particular agent and user through a particular channel.
  • Authentication required, please visit this page for Authentication How To.

Parameters

  • Queues - Queues can be pulled from the Queue API call
  • Filter If left blank all values are returned. If fields added only chosen fields will be returned.
  • StartDateTime - When to start pulling data from API.
  • EndDateTime - When to stop pulling data from API.
  • RelativePeriodStart - To start query one of multiple days in the future, 1,2, etc. or to do in past -1, -2, etc.
  • RelativePeriodEnd - To end query one of multiple days in the future, 1,2, etc. or to do in past -1, -2, etc.
  • RelativeTimeZone For API information about Times Zone, please visit this page on Time Zones.
  • DateFilterField - Any of the specific date fields can be used as a filter.
  • Resolution - Size periods of the request. Can be by quarter hour, 1 hour, or 1 day.
  • Fields - See Reporting API Field Definitions
  • OrderBy - Any string in the result can be used to order the results.
  • Limit - Limits the number of search results.
  • Offset - This value goes along with Limit. The offset is where the limit starts.
    • Ex. A user wants 10 results, but doesn't want the first 15 displayed. A Limit of "10" and an Offset of "15" would give results 16 through 25.
  • Aggregates - See Reporting Aggregation
  • It is recommended advanced filter object be done outside of the API document for best results.

Responses available:

  • 200
  • 401
  • 403

Example return::

{
  "resultCode": 0,
  "resultCodeName": "Success",
  "data": [
    {
      "AgentId": 10614,
      "FirstAcceptedQuarterHourUtc": "2022-07-27T13:30:00Z",
      "Count_id": 2,
      "SumAnsweredApplied": 2,
      "SumAcceptTime": 10.357876599999999
    }
  ],
  "dataType": "JObject",
  "hasPaging": false
}
Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!