Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert excerpt
_ExcerptAPICloudNextGen
_ExcerptAPICloudNextGen
nopaneltrue

Headers

Header parameters in Requests (Insights Stats API) apply to this endpoint.

Authorization scopes supported:

ScopeAccess granted
statsEntire endpoint

Parameters

The endpoint accepts the following query string parameters:

...

Code Block
languagejs
themeMidnight
{
  "meta": {
    "page": 1,
    "count": 4,
    "pageCount": 1,
    "totalCount": 4
  },
  "items": [
    {
      "start": "2019-12-23T09:55:21.791Z",
      "interactionGuid": "016f3105-0854-43e2-9d2a-33ef02aff410",
      "medium": "Phone",
      "mediumManager": "VCC",
      "interactionPlan": "0123456789",
      "queue": "ACD1",
      "type": "ACD",
      "presentedSkills": [
        "Billing"
      ],
      "category": "Answered",
      "reason": "Delivered",
      "duration": 5189,
      "targets": null,
      "party": {
            "role": "External",
      }
    },
    {
      "start": "2019-12-23T09:55:21.791Z",
      "interactionGuid": "016f3105-0854-43e2-9d2a-33ef02aff410",
      "medium": "Phone",
      "mediumManager": "CC",
      "interactionPlan": " 0123456789",
      "queue": "VirtualQueue1",
      "type": "Virtual",
      "presentedSkills": [
        "Billing"
      ],
      "category": "Answered",
      "reason": "Delivered",
      "duration": 5189,
      "targets": {
        "targetTimeToAnswer": 5000
      },
      "party": {
            "role": "Agent",
      }
    },
    {
      "start": "2019-12-23T10:32:05.133Z",
      "interactionGuid": "016f3105-085f-4db1-be2e-b1ec61d0c6f5",
      "medium": "Phone",
      "mediumManager": "VCC",
      "interactionPlan": "0123456789",
      "queue": "ACD1",
      "type": "ACD",
      "presentedSkills": [
        "Billing"
      ],
      "category": "Breakout",
      "reason": "NoAgentsBreakout",
      "duration": 982,
      "targets": null,
      "party": {
            "role": "External",
      }
    },
    {
      "start": "2019-12-23T10:54:57.920Z",
      "interactionGuid": "016f3105-0866-463a-a9b3-16211aba205a",
      "medium": "Phone",
      "mediumManager": "VCC",
      "interactionPlan": "0123456789",
      "queue": "ACD1",
      "type": "ACD",
      "presentedSkills": [
        "Billing"
      ],
      "category": "Abandoned",
      "reason": "HangUp",
      "duration": 7044,
      "targets": null,
      "party": {
            "role": "Agent",
      }
    }
  ],
  "upTo": "2019-12-23T10:56:38.831Z",
  "latestUpdate": "2019-12-23T10:56:30.831Z"
}

...

Each

...

Queue

...

Time

...

item

...

in

...

the

...

collection

...

contains

...

the

...

following

...

parameters:

  • start. The time when the interaction entered the queue. start is a UTC date in ISO 8601 format.

  • interactionGuid. The unique identifier for the interaction.

  • medium. The type of communication method.

  • mediumManager. The origin application of the interaction, e.g. VCC (Vonage Call Centre) or VBC (Vonage Business Cloud).

  • interactionPlan. The name or number of the interaction plan.

  • queue. The name of the queue, as configured in the Automatic Call Distributor (ACD) or Universal Contact Distributor (UCD) applet in the Vonage Contact Center (VCC) Admin Portal.

  • type. The type of queue. Possible values are: “ACD” or “Virtual”.

  • presentedSkills. A comma-delimited list of presented skills.

  • category. The category of reason for the interaction leaving the queue. Possible values are:

    • Answered. The interaction was connected to an agent.
    • Abandoned. The party who was queuing hung up while in the queue.
    • Breakout. Queuing was ended by the interaction triggering a breakout, either voluntarily by the queuing party, or through configured settings within the queue itself.
    • Cancelled. An agent consulting to a different queue chose to stop queuing, either by ending the consult and recalling the caller from hold, or by transferring the caller into the queue.
  • reason. The reason the interaction left the queue. Possible values are dependent on category:

    • Delivered. If category is Answered, reason is always Delivered.
    • HangUp. If category is Abandoned, reason is always HangUp.
    • VoluntaryBreakout. The party who was queuing chose to leave the queue when offered to do so.
    • QueueCapacityBreakout. The queue was at the configured maximum capacity so VCC routed the interaction out of the queue.
    • QueueTimeBreakout. The interaction had queued for the maximum amount of allowed time so VCC routed the interaction out of the queue.
    • NoAgentsBreakout. No agents were available to serve the queue so VCC routed the interaction out of the queue.
    • MaxEstimatedWaitTimeBreakout. The estimated wait time for an agent to handle the interaction exceeded the configured maximum so VCC routed the interaction out of the queue.
    • AgentDeclineBreakout. The agent declined the interaction.
    • AgentTransfer. The queuing agent transferred the party on hold into the queue and left the interaction, category is Cancelled.
    • AgentRecall. The queuing agent canceled the queue event and recalled the customer, category is Cancelled.
  • duration. A length of time, measured in milliseconds which indicates exactly how long the interaction spent in the queue.

  • targets. A container for queue targets. Only applicable to queues with type of ‘Virtual’; for queues with type of ‘ACD’, targets is null.

    • targetTimeToAnswer. Target time to answer (TTA)—in milliseconds—associated with the queue.
  • party. party contains information about which party role entered the queue:

    • role. The role of the party. Possible values are:
      • External. Most commonly indicates the customer’s channel, but any call to a number not linked to an agent will show as External.
      • Agent. Indicates the VCC agent’s channel.
      • Null. Reserved for future use.

...