NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Dialrule → Read Dialrules in a Dialplan

AI-generated

Summary

Read dialrules in a dialplan

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • domain (required) — Domain to read dialrules from
  • dialplan (required) — Dialplan identifier

Output shape

a list of dialrule objects

Returns matching dialrules; empty list if none

Examples

Example 1: Read dialrules for a specific domain and dialplan

Set Domain to example.com, Dialplan to Main, optionally enable Refresh Dropdown Cache

Example 2: Fetch fresh options without using cache

Enable Refresh Dropdown Cache while selecting a domain and dialplan

Example 3: Minimal configuration

Provide required Domain and Dialplan values

Links

Discussion