Why am I not able to use Alarm Type Attribute (0x4820020) in Java REST calls for alarms

Document ID : KB000105878
Last Modified Date : 10/07/2018
Show Technical Document Details
Question:
Why am I not able to use Alarm Type Attribute (0x4820020) in Java REST API calls for alarms in CA Spectrum?
Environment:
Spectrum 10.1.x
Spectrum 10.2.x
 
Answer:
The Alarm Type Attribute (0x4820020) is a special type of attribute that only exists on the OneClick server as a pseudo attribute.
Pseudo attributes are calculated attributes that are only known to the OneClick server and is unknown to the SpectroSERVER.
Since Java REST API is just another entry into CLI (Command Line Reference) all of the processing for Java REST is on the SpectroSERVER.
For the most part, the alarm type is the same as the alarm title unless a dynamic alarm title is being used. In that case it may differ from the alarm type. If a dynamic alarm title is not being used the alarm type and the alarm title are the same.
If dynamic alarm titles are being used then you may want to use the attribute Cause Code (0x11f50).