NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Call Center/Statistics → Get Callqueue Statistics for All Queues Aggregated

AI-generated

Summary

Fetch aggregated call queue statistics across specified domains and time windows

Inputs

  • domain (required) — Main organization name used to link the request to its group/tenant/organization; required.
  • datetime-start (required) — Start of the time window for the statistics query, in RFC3339 format.
  • datetime-end (required) — End of the time window for the statistics query, in RFC3339 format.
  • fields — Comma-separated list of statistic fields to include; default is VOL,CH,ATT,AC,AWT,SL.
  • remove_zeros — If set, removes zero values from the results.
  • queue_list — Comma-separated list of queue IDs to filter the aggregated statistics.
  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options.

Output shape

an object containing aggregated call queue statistics per queue

The response includes the requested fields for each queue; pagination is not applicable; errors follow the standard API error envelope.

Examples

Example 1: Retrieve aggregated statistics for a single domain over a September 2023 period

domain = example.com, datetime-start = 2023-09-01T00:00:00Z, datetime-end = 2023-09-30T23:59:59Z, fields = VOL,CH,ATT

Example 2: Aggregate statistics for multiple queues filtered by queue IDs

queue_list = 5201,5202, domain = mycompany.com, datetime-start = now-1d, datetime-end = now

Example 3: Return aggregated statistics with zero values removed

remove_zeros = true, domain = example.com, datetime-start = 2023-10-01, datetime-end = 2023-10-31, fields = VOL,CH,ATT

Links

Discussion