NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

CDR Schedule → Count CDR Schedules for Domain

AI-generated

Summary

Count CDR schedules for a selected domain

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetDomainsByScheduleCount__path__domain (required) — Domain to count CDR schedules for (selected from list)

Output shape

integer

Number of CDR schedules for the selected domain, returned as a single numeric value (0 if none).

Examples

Example 1: Count schedules for the default domain with fresh options

refreshOptions: true; GetDomainsByScheduleCount__path__domain: "example.com"

Example 2: Count schedules for a user‑selected domain without refreshing

refreshOptions: false; GetDomainsByScheduleCount__path__domain: "selectedDomain"

Example 3: Count schedules for a domain in a workflow that requires API v45+

GetDomainsByScheduleCount__path__domain: "myDomain"; note: ensure server supports API v45+

Links

Discussion