Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
Alarm Category → Get
AI-generatedSummary
Fetches a single NetXMS alarm category by its numeric ID via GET /v1/alarm-categories/{categoryId}.
Inputs
- Category ID (required) — Numeric ID of the alarm category to retrieve. Defaults to 0, so set it to a real category ID.
Output shape
One item per input item, containing the alarm category record as returned by the NetXMS REST API.
The node logs in to NetXMS with the credential's username and password on each execution to obtain a session token. If the request fails (for example, the ID doesn't exist), the node throws an error. With Continue On Fail enabled, it returns an item with an
errormessage instead. The exact fields of the category are defined by the server and aren't specified in the node source.
Examples
Example 1: Look up the details of a known alarm category before updating it.
Resource: Alarm Category; Operation: Get; Category ID: 5
Example 2: Resolve category details for each incoming item using an ID from a previous node.
Resource: Alarm Category; Operation: Get; Category ID: {{ $json.categoryId }}