NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

CDR (Call History) → Count Cdrs and SUM Minutes

AI-generated

Summary

Count CDRs and sum minutes for a specified period and type

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetCdrsCount__query__datetime-start (required) — Start datetime for the query
  • GetCdrsCount__query__datetime-end (required) — End datetime for the query
  • GetCdrsCount__query__type — CDR type filter; options include Inbound, Outbound, On-net, Off-net, Missed, Received, or integer type 0-3

Output shape

an object with numeric fields count (CDR count) and totalMinutes (sum of minutes)

Returns exactly one result record; fields are numbers; no pagination

Examples

Example 1: Count inbound calls between two dates

Set Datetime Start and Datetime End to the desired range and select Type as Inbound

Links

Discussion