NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

CDR (Call History) → Count Cdrs and SUM Minutes for Domain

AI-generated

Summary

Count CDRs and sum minutes for a domain

Inputs

  • refreshOptions —
  • domain (required) —
  • datetimeStart (required) —
  • datetimeEnd (required) —
  • type —

Output shape

object with count and totalMinutes fields

Returns a single summary record; no pagination or error envelope.

Examples

Example 1: Calculate metrics for a specific domain over a custom date range

Set Domain to the target domain, define Datetime Start and End, optionally set Type, and toggle Refresh Dropdown Cache if needed.

Example 2: Sum minutes for inbound calls only

Select Type as Inbound (or 0), provide start and end dates, and leave Domain and other fields as required.

Links

Discussion