Actions69
- Access Group Actions
- Active Issue Actions
- Appliance Task Actions
- Custom Property Actions
- Customer Actions
- Device Actions
- Device Filter Actions
- Maintenance Window Actions
- Organization Unit Actions
- Report Actions
- Scheduled Task Actions
- Server Info Actions
- Service Organization Actions
- Site Actions
- User Actions
Device → Get Maintenance Windows
AI-generatedSummary
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