AppSys N-Central icon

AppSys N-Central

Interact with the N-Central API

Customer → Get Sites

AI-generated

Summary

Retrieve a list of sites associated with a specific customer in N-Central.

Inputs

  • Customer ID (required) — The ID of the customer whose sites are to be retrieved.
  • Return All — Whether to retrieve all sites without pagination.
  • Limit — Maximum number of sites to return when not retrieving all (pagination page size).
  • Options — Additional options including sorting field (Sort By), sorting order (Sort Order), and page number to query (Page Number).

Output shape

a list of site objects associated with the provided customer ID

Supports pagination controlled by the 'Return All' boolean and 'Limit' with page number options. Output is an array where each item contains a 'json' object of a site.

Examples

Example 1: Retrieve all sites for customer ID 123 with pagination (limit 50 per page)

Set Customer ID to 123, Return All to false, Limit to 50, and Option Page Number to desired page.

Example 2: Retrieve all sites for customer ID 123 without pagination

Set Customer ID to 123 and Return All to true.

Links

Discussion