<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Web API alarm list for single node]]></title><description><![CDATA[<p dir="auto">Hi all!</p>
<p dir="auto">I tried out the web API interface (3.4.313 server and 3.4.318 web API version). Getting the full alarm list worked fine, but when I want to query a single node, the request is returned with status code 405 (method not allowed) and with body:</p>
<pre><code>{
    "description": "Internal error",
    "error": 46
}
</code></pre>
<p dir="auto">The path used is &lt;ip&gt;/netxms-websvc/alarms/&lt;nodeid&gt;</p>
<p dir="auto">Am I using the wrong path?</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.netxms.org/topic/6665/web-api-alarm-list-for-single-node</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:21:12 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6665.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Aug 2020 13:02:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Web API alarm list for single node on Wed, 02 Sep 2020 13:15:17 GMT]]></title><description><![CDATA[<p dir="auto">It works great, thank you!</p>
]]></description><link>https://forum.netxms.org/post/28490</link><guid isPermaLink="true">https://forum.netxms.org/post/28490</guid><dc:creator><![CDATA[Sch.Donat]]></dc:creator><pubDate>Wed, 02 Sep 2020 13:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to Web API alarm list for single node on Wed, 02 Sep 2020 09:43:02 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you can use createdBefore, createdAfter, updatedBefore, updatedAfter. Unix timestamp should be provided to these filters.</p>
<p dir="auto">Also, you can filter by alarm state, e.g.<br />
alarm=outstanding<br />
or<br />
alarm=outstanding,acknowledged</p>
<p dir="auto">And there's a good thing resolveReferences=true, in this case you'll have names of all related objects in the json output.</p>
<p dir="auto">There are also filters by user name, you can check in sources for these: src/client/nxapisrv/java/src/main/java/org/netxms/websvc/handlers/Alarms.java</p>
]]></description><link>https://forum.netxms.org/post/28489</link><guid isPermaLink="true">https://forum.netxms.org/post/28489</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 02 Sep 2020 09:43:02 GMT</pubDate></item><item><title><![CDATA[Reply to Web API alarm list for single node on Tue, 01 Sep 2020 16:33:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Thanks, this way it works.<br />
Is it possible to only query alarms from a given time period, or those that were generated in the last X seconds? Adding the filters from DCI querying doesn't seem to work.</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.netxms.org/post/28487</link><guid isPermaLink="true">https://forum.netxms.org/post/28487</guid><dc:creator><![CDATA[Sch.Donat]]></dc:creator><pubDate>Tue, 01 Sep 2020 16:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to Web API alarm list for single node on Mon, 31 Aug 2020 13:27:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">The way you tried is not yet implemented. What works is this way:</p>
<p dir="auto">/alarms?objectId=123</p>
<p dir="auto">/alarms?objectGuid=XXX</p>
<p dir="auto">If you need to see alarms for all nodes under a container:<br />
/alarms?objectId=123&amp;includeChildObjects=true</p>
]]></description><link>https://forum.netxms.org/post/28486</link><guid isPermaLink="true">https://forum.netxms.org/post/28486</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 31 Aug 2020 13:27:33 GMT</pubDate></item></channel></rss>