NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Dial Permisions → Read Specific Policy

AI-generated

Summary

Read a specific dial policy by its path

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetDialpolicyBy__path__policy (required) — Path to the dial policy to read

Output shape

a single policy object

Empty if policy not found; returns the policy data defined by the NetSapiens API

Examples

Example 1: Read a specific dial policy by its path

refreshOptions: false, GetDialpolicyBy__path__policy: /dial/policy/123

Example 2: Refresh dropdown cache before reading a policy

refreshOptions: true, GetDialpolicyBy__path__policy: /dial/policy/456

Example 3: Attempt to read a non‑existent policy

refreshOptions: false, GetDialpolicyBy__path__policy: /dial/policy/999

Links

Discussion