NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Domains → Get Domains

AI-generated

Summary

Fetch Domains from NetSapiens with optional pagination and cache refresh.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options.
  • GetDomains__pagination__returnAll — Whether to fetch all results by paging through the API.
  • GetDomains__pagination__start — Start index for pagination, used only when returnAll is false.
  • GetDomains__pagination__limit — Page size limit, used only when returnAll is false.

Output shape

a list of domain objects

Returns paginated results; if returnAll is false only up to limit items are returned, otherwise all domains are retrieved.

Examples

Example 1: Retrieve all domains with default pagination

Set returnAll to true, leave other pagination fields at defaults.

Example 2: Fetch a limited page of domains

Set returnAll to false, start to 0, limit to 50, optionally enable refreshOptions.

Example 3: Refresh dropdown cache before fetching

Enable refreshOptions; pagination settings can be omitted as they default.

Links

Discussion