NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Configs/Configurations → Count Configurations

AI-generated

Summary

Counts NetSapiens UI configurations filtered by optional criteria.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • reseller — Choose from the list, or enter an ID manually
  • GetConfigurationsCount__query__hostname — Identify UI Configuration to count by its hostname
  • GetConfigurationsCount__query__domain — Identify UI Configuration to count by its domain
  • GetConfigurationsCount__query__user — Identify UI Configuration to count by its user
  • GetConfigurationsCount__query__role — Identify UI Configuration to count by its role
  • GetConfigurationsCount__query__login_type — Identify UI Configuration to count by its login type
  • GetConfigurationsCount__query__config_name — Identify UI Configuration to count by its name
  • GetConfigurationsCount__query__include_wildcards — Set to true to also include wildcard (*) matches in the query results

Output shape

a single numeric count of matching configurations

The result is a number; may be zero if no configurations match the filters.

Examples

Example 1: Count configurations for a specific reseller

reseller: "WLP", refreshOptions: false

Example 2: Count all configurations without additional filters

refreshOptions: false

Example 3: Count configurations matching a hostname

hostname: "example.com", includeWildcards: true

Links

Discussion