Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
Event Template → Get Many
AI-generatedSummary
Retrieves all event templates defined on the NetXMS server with a single GET request to /v1/event-templates. Takes no operation-specific parameters.
Inputs
None.
Output shape
The server's JSON response for /v1/event-templates, passed through returnJsonArray. If the server returns an array, each template becomes its own output item. A single object becomes one item.
No filtering or pagination options are exposed, so the full list is returned. The node logs in to NetXMS with the credential's username and password at the start of each execution, then reuses the session token for every input item. The request is repeated for each input item. With Continue On Fail enabled, a failed item outputs {error: message}.
Examples
Example 1: Audit all event templates, including user-defined ones (event code ≥ 100000), on a schedule.
Resource: Event Template; Operation: Get Many. No other fields.
Example 2: Look up an event code by name before creating alarms or rules.
Resource: Event Template; Operation: Get Many, followed by a Filter or Code node to match the template name.