NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Devices → Count Devices for Reseller

AI-generated

Summary

Count devices for a selected reseller, optionally paginated and refreshed.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetResellersByDevicesCount__path__reseller (required) — Select a reseller from the list
  • GetResellersByDevicesCount__pagination__returnAll — Whether to fetch all results by paging through the API
  • GetResellersByDevicesCount__pagination__start — Start index for pagination
  • GetResellersByDevicesCount__pagination__limit — Page size limit

Output shape

array of reseller objects

Results are paginated; when returnAll is false only the current page is returned, controlled by start and limit. Each object includes the reseller identifier and device count.

Examples

Example 1: Count devices for reseller WLP

Set Reseller to 'WLP', Refresh Dropdown Cache to true, Return All Results to false, Start to 0, Limit to 1

Example 2: Retrieve all reseller device counts

Set Refresh Dropdown Cache to true, enable Return All Results, leave Start and Limit at defaults

Links

Discussion