NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Call Center/Statistics → Get DNIS Statistics for All Queues

AI-generated

Summary

Fetch DNIS statistics for all call queues within a selected domain and time window.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • v45Notice — This operation may require NetSapiens API v45+. It may not work on older server versions. Test to confirm.
  • GetDomainsByStatisticsDNIS__path__domain (required) — Main organization name used to link resource to its group/tenant/organization/enterprise.
  • GetDomainsByStatisticsDNIS__query__datetime-start (required) — Start of the time window for the query; RFC3339 format, supports timezone suffix.
  • GetDomainsByStatisticsDNIS__query__datetime-end (required) — End of the time window for the query; RFC3339 format, supports timezone suffix.
  • GetDomainsByStatisticsDNIS__query__fields — Comma‑separated list of statistic fields to include; default is NAME,VOL,CH,ATT,AH.
  • GetDomainsByStatisticsDNIS__query__remove_zeros — When set, removes zero values from the results.

Output shape

array of DNIS statistic records

Each record includes DNIS identifier and statistics such as volume, calls handled, answer histogram; fields can be limited via the 'fields' parameter; no special paging is defined.

Examples

Example 1: Get DNIS stats for domain example.com from 2023‑11‑01 to 2023‑11‑30

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

Links

Discussion