NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

CDR (Call History) → Search Cdrs for Domain

AI-generated

Summary

Search CDRs for domains within a date range and optional filters such as dialed number, caller, site, or department.

Inputs

  • refreshOptions — Bypass cached dropdown values and fetch fresh options
  • GetDomainsByCdrs_2__path__domain (required) — Select a domain from the list
  • GetDomainsByCdrs_2__query__datetime-start (required) — Start datetime for the CDR search
  • GetDomainsByCdrs_2__query__datetime-end (required) — End datetime for the CDR search
  • GetDomainsByCdrs_2__query__dialled — Dialed number for the call (partial match allowed)
  • GetDomainsByCdrs_2__query__caller — Caller ID number for the call (partial match allowed)
  • GetDomainsByCdrs_2__query__site — Site to filter calls
  • GetDomainsByCdrs_2__query__group — Group (department) to filter calls

Output shape

Array of domain objects matching the search criteria

Returns an empty array if no domains match; no pagination is implemented.

Examples

Example 1: Search for domains from 2023-01-01 to 2023-01-31 for site "Headquarters"

datetime-start=2023-01-01, datetime-end=2023-01-31, site=Headquarters

Example 2: Find domains dialed containing "1234" with refresh disabled

dialled=1234, refreshOptions=false

Example 3: Search by department "Sales" and domain "example.com"

group=Sales, GetDomainsByCdrs_2__path__domain=example.com

Links

Discussion