• Partners
  • Email Us
  • Product
    • Channels
      • Voice
      • Email
      • SMS
      • Chat
      • Messenger
      • Omnichannel
    • Features
      • Predictive Dialer
      • VCC Live Pay
      • Outbound IVR
      • Inbound IVR
      • Voicemail Detection
      • Live Dashboards
      • ACD
      • Salesforce Integration
      • Dialogflow
  • Solutions
    • Customer Service
    • Sales Teams
    • Debt Collection
    • Virtual Call Center
  • Pricing
  • Resources
    • Blog
    • Case Studies
    • Ebooks
    • Courses
    • Webinars
    • Information Security
    • Learning Center
    • Developers
  • Company
    • About us
    • Careers
    • News
    • Partners
  • Partners
  • Email Us
+44 208 638 0169
GET STARTED
Developer GuidesDatabase APIStatisticsUser based statistics
  • Overview
    • About Database API
    • The API location
    • Authentication and Security
    • Testing API
    • Request and Response
    • HTTP Response Codes
  • Examples
    • Hello World Example
    • Advanced Example
    • Web Callback Example
  • Reference
  • Project
    • List projects
    • List project outbound numbers
    • Get project parameters
    • Cloning projects
    • Get quota limits
    • Modify quota limits
  • Database
    • Add field and values
    • Add new value(s) to a field
    • Modify value(s) of a field
    • Delete a value
    • List records
    • Get detailed record information
    • Modify record
    • Modify contact
    • Add record
    • Add disposition
    • Batch record modification
    • Batch disposition modification
    • Add new value to Robinson list
    • Delete from Robinson list resource
  • Statistics
    • Dashboard API
    • Get CDR log
    • Get CDR log for a specified uuid
    • Get Email Log
    • Get voicefile for a specified CDR
    • Get inbound statistics
    • Get call statistics
    • User state log
    • User based statistics
    • User based model
    • Number of available agents in a queue
    • User's Current Status
  • Users
    • List users
    • Add new user
    • List teams
    • List all roles
    • User's Current Status
  • Archiver
    • Get the year and month when no voicefiles were archived
    • List all downloadable voice files in a given month
    • Set a successfully downloaded voicefile as archived
    • Download voice file
  • Campaign Manager
    • Get Database
    • Get Fields
    • Add Customer
    • Modify Customer
Back to Support and Learning Center
English Hungarian

User based statistics

Retrieve User Based Statistics, filtered according to given options.

Request
Method GET
Resource https://[customer].asp.virtual-call-center.eu/v2/statistics/userbased
Options from, to, dimensions, projects, users, of
Body N/A
Response
Body Requested user-based statistic records in tabulator-tabbed, CSV or JSON format.

Request

Resource parameters

Name Type Mandatory Comment
customer string yes Your call centre’s unique identifier (subdomain).

Options

Name Type Mandatory Comment
dimensions string yes Dimensions. If there are several items, they should be separated with commas (e.g: dimensions=project, user,time). Possible values:
– project
– user
– date
– time
from string yes First date of the requested time period to be searched, in yyyymmdd format (e.g: from=20210301).
of string no Output format. Possible values:
– tab
– cvs
– json (default)
projects integer no Required field. From which specific project(s) should data be retrieved. If there are several items, they should be separated with commas. (e.g: projects=53,64).
to string yes Last date of the requested time period to be searched, in yyyymmdd format (e.g: from=20120331).
users integer no Required field. From which specific user(s) should data be retrieved. If there are several items, they should be separated with commas. (e.g: users=53,64).

Response

Response object

Name Type Comment
date string Date in yyyy-mm-dd format.
time integer Time in hhmm format.
projectId integer Project identifier.
userId integer User identifier.
data array
field: The name of the field the values belong to.
count: Number of values belong to the specified field for the specified date.
sum: The value itself.

Example

List user based statistics of projectid:2 between 06.01.2020. and 06.31.2020. based on the ‘project,user,date,time’ dimensions.
https://mycc.asp.virtual-call-center.eu/v2/statistics/outbound?from=202000106&to=20200106&dimensions=project,user,date,time&projects=2&users=17

Response body

{
    "response": [
        {
            "date": "2020-06-15",
            "time": 1500,
            "projectId": 2,
            "userId": 17,
            "data": [
                {
                    "field": "userstateAvailable",
                    "count": 1,
                    "sum": 160
                },
                {
                    "field": "dispositionStatusRecall",
                    "count": 1,
                    "sum": null
                },
                {
                    "field": "dispositionReachFailed",
                    "count": 1,
                    "sum": null
                },
                {
                    "field": "userstateAfterwork",
                    "count": 1,
                    "sum": 5
                },
                {
                    "field": "userstateCall",
                    "count": null,
                    "sum": 7
                },
                {
                    "field": "callOut",
                    "count": null,
                    "sum": 7
                }
            ],
            "level": 3
        },
        {
            "date": "2020-06-23",
            "time": 1400,
            "projectId": 2,
            "userId": 17,
            "data": [
                {
                    "field": "handledChat",
                    "count": 2,
                    "sum": null
                }
            ],
            "level": 3
        },
        {
            "date": "2020-06-23",
            "time": 1500,
            "projectId": 2,
            "userId": 17,
            "data": [
                {
                    "field": "userstateAvailable",
                    "count": 2,
                    "sum": 304
                },
                {
                    "field": "ticketCreated",
                    "count": 1,
                    "sum": null
                },
                {
                    "field": "chatCompleted",
                    "count": 1,
                    "sum": null
                },
                {
                    "field": "chatFirstResponse",
                    "count": 1,
                    "sum": 92
                },
                {
                    "field": "chatResponse",
                    "count": 1,
                    "sum": 92
                },
                {
                    "field": "chatTotal",
                    "count": 1,
                    "sum": 219
                }
            ],
            "level": 3
        },
        {
            "date": "2020-06-23",
            "time": 1600,
            "projectId": 2,
            "userId": 17,
            "data": [
                {
                    "field": "userstateAvailable",
                    "count": 1,
                    "sum": 1971
                },
                {
                    "field": "chatCompleted",
                    "count": 2,
                    "sum": null
                },
                {
                    "field": "chatTotal",
                    "count": 2,
                    "sum": 1354
                }
            ],
            "level": 3
        }
    ],
    "errors": []
}
Back to Support and Learning Center

Comments

Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.


There are no comments yet.

Click here to cancel reply.

Please note that by clicking on the Submit button, you agree to a member of VCC Live team contacting you with business offers. You can find detailed information on how we can establish contact with you in our Privacy Policy

  • Channels
    • Voice
    • Email
    • SMS
    • Chat
    • Messenger
    • Omnichannel
  • Main Features
    • Call Center Software
    • Predictive Dialer
    • VCC Live Pay
    • Outbound IVR
    • Inbound IVR
    • Voicemail Detection
    • Live Dashboards
    • ACD
    • Salesforce Integration
    • Dialogflow
  • Solutions
    • Customer Service
    • Sales Teams
    • Debt Collection
    • Virtual Call Center
  • Resources
    • Blog
    • Case Studies
    • Ebooks
    • Courses
    • Webinars
    • Information Security
    • Learning Center
    • Developers
    • Download
  • Company
    • About us
    • Careers
    • News
    • Partners
https://vcc.live/wp-content/uploads/2019/07/iso-cert-1.png https://vcc.live/wp-content/uploads/2019/07/iso-cert-2.png https://vcc.live/wp-content/uploads/2019/07/iso-cert-3.png
Social Media
https://vcc.live/wp-content/uploads/2019/07/linkedin.svg https://vcc.live/wp-content/uploads/2019/07/twitter.svg https://vcc.live/wp-content/uploads/2019/07/facebook-1.svg https://vcc.live/wp-content/uploads/2019/07/instagram-1.svg
Call us
Hungary
+36 19996400
UK
+44 2086380169
Germany
+49 3021782516
Poland
+48 123950886
Romania
+40 31706167
USA
+1 3024988337
Hungary
+36 19996400
UK
+44 2086380169
Germany
+49 3021782516
Poland
+48 123950886
Romania
+40 31706167
USA
+1 3024988337
  • Privacy Policy
  • Cookie Policy
  • Legal Statement
  • General Terms of Agreement
  • Magyar nyelvű jogi dokumentumok