AppSys N-Central icon

AppSys N-Central

Interact with the N-Central API

Device → Get Maintenance Windows

AI-generated

Summary

Retrieve maintenance windows associated with a specific device in N-Central, with optional pagination and sorting controls.

Inputs

  • Device ID (required) — Numeric ID of the device whose maintenance windows to fetch
  • Return All — Boolean flag to fetch all maintenance windows or paginate the results
  • Limit — Maximum number of maintenance windows to return when not fetching all (pagination page size)
  • Options — Additional options to sort the results and specify the page number when paginating, includes Sort By (field name), Sort Order (Ascending/Descending), and Page Number

Output shape

a list of maintenance window objects corresponding to the specified device

If pagination is enabled, results respect the 'Return All', 'Limit', 'Sort By', 'Sort Order', and 'Page Number' parameters. Data is returned as an array of JSON objects, each representing a maintenance window.

Examples

Example 1: Get maintenance windows for a device with ID 123, returning all results sorted by startDate descending

Device ID=123, Return All=true, Options: Sort By='startDate', Sort Order='DESC'

Example 2: Get first 50 maintenance windows for a device with ID 456, sorted ascending by name

Device ID=456, Return All=false, Limit=50, Options: Sort By='name', Sort Order='ASC', Page Number=1

Links

Discussion