How to retrieve the alarm attributes via RESTful API from Spectrum?
Any supported version
Replace with your Alarm ID in the following field:
<rs:alarms id="4beaa429-2211-1000-010f-0023aeab765c"/>
HTTP POST (Get Tunneling)
http://{host}:{port}/spectrum/restful/alarms
Sample body for Alarm XML for specified alarms:
<?xml version="1.0" encoding="UTF-8"?>
<rs:alarm-request throttlesize="0"
xmlns:rs="http://www.ca.com/spectrum/restful/schema/request"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ca.com/spectrum/restful/schema/request ../../../xsd/Request.xsd ">
<rs:requested-attribute id="0x11f53" />
<rs:requested-attribute id="0x10000" />
<rs:requested-attribute id="0x11f56" />
<rs:requested-attribute id="0x12b4c" />
<rs:requested-attribute id="0x11f4e" />
<rs:alarms id="4beaa429-2211-1000-010f-0023aeab765c"/>
</rs:alarm-request>
Please reference the Using Alarm Resources of the documentation for more information.