Hey Janis,
You will need to POST, and include this in the body:
<?xml version="1.0" encoding="UTF-8"?>
<!--
CA Technologies, Inc.
One CA Plaza
Islandia, NY 11749 USA
Copyright (c) 2012 CA Technologies, Inc.
All rights reserved.
IN NO EVENT SHALL CA TECHNOLOGIES INCORPORATED BE LIABLE FOR
ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES
WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT
OF OR RELATED TO THIS SOFTWARE, EVEN IF CA TECHNOLOGIES INCORPORATED
HAS BEEN ADVISED OF, KNOWN, OR SHOULD HAVE KNOWN, THE POSSIBILITY OF
SUCH DAMAGES.
-->
<rs:alarm-request throttlesize="10"
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 ">
<!--
This xml can be posted to the Alarms URL to obtain
attributes on the specified alarms
-->
<!-- Attributes of Interest -->
<rs:requested-attribute id="0x11f53" />
<rs:requested-attribute id="0x10000" />
<rs:requested-attribute id="0x11f56" />
<rs:requested-attribute id="0x12b4c" />
<rs:requested-attribute id="0x11f4d"/>
<!-- Alarms of Interest -->
<rs:alarms id="4d2cc290-4854-1000-026e-0023aeab765c" />
<rs:alarms id="4d2cc31a-9434-1002-034e-0080102af862" />
</rs:alarm-request>
This would return something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alarm-response-list xmlns="http://www.ca.com/spectrum/restful/schema/response" error="EndOfResults" throttle="2" total-alarms="2">
<alarm-responses>
<alarm id="5b510783-cece-1002-03b1-005056830acd">
<attribute id="0x11f53">0x100a1c</attribute>
<attribute id="0x10000">MCastGroup</attribute>
<attribute id="0x11f56">3</attribute>
<attribute id="0x12b4c">SOURCE TRAFFIC APPEARS TO BE ZERO</attribute>
<attribute id="0x11f4d">false</attribute>
</alarm>
<alarm id="5b97a0cf-397c-1036-03b1-005056830acd">
<attribute id="0x11f53">0x10007d</attribute>
<attribute id="0x10000">Rtr_Cisco</attribute>
<attribute id="0x11f56">3</attribute>
<attribute id="0x12b4c">CHASSIS DOWN</attribute>
<attribute id="0x11f4d">false</attribute>
</alarm>
</alarm-responses>
</alarm-response-list>
You can obviously change the requested attributes to what you want to see.
From here:
https://docops.ca.com/ca-spectrum/10-2-3/en/programming/web-services-api-reference/how-to-use-the-ca-spectrum-web-services-api/restful-resources-nouns/alarm-and-model-attributes
Hope this helps.
-Matt