Yes, this is correct. However, I am getting this error - Char 0x0 out of allowed range I get the output till that error occurs. I think it has to do with xml parsing. I’m not sure how to work around this problem.
Thanks, Tracy Ann Monteiro On 11/9/16, 9:52 AM, "Waechter, Uwe" <uwe.waech...@computacenter.com> wrote: Yes, you have to add &attr=0x01296e to the url ONECLICK_URL/spectrum/restful/alarms?attr=0x1006e&attr=0x10000&attr=0x12b4c&attr=0x12d7f&attr=0x1296e Mit freundlichen Gruessen - Best regards Herr Uwe Waechter Senior Consultant Global Infrastructure Operations Computacenter AG & Co oHG Enabling Users Europaring 34-40, 50170 Kerpen, Germany Tel.: +49 2273 597 7857 Mobile: +49 173 3883618 Short-Dial: 577857 E-Mail: uwe.waech...@computacenter.com WWW: www.computacenter.de -----Ursprüngliche Nachricht----- Von: Lavoie III, William N [mailto:william.lav...@ca.com] Gesendet: Mittwoch, 9. November 2016 15:47 An: spectrum Betreff: Re: AW: [spectrum] Obtaining alarm descriptions through REST API from Spectrum If you include the Originating Event attribute it may give you what you are looking for: 0x1296e Originating Event Octet String Best regards, Bill Bill Lavoie Sr. Principal Consultant, Presales CA Technologies | 273 Corporate Dr Suite 200 | Portsmouth, NH 03801 Office: 603-334-2141 | Mobile: 603-674-8248 | william.lav...@ca.com <mailto:william.lav...@ca.com%0b> On 11/9/16, 9:37 AM, "Monteiro, Tracy" <tracy_monte...@comcast.com> wrote: Hi, Thanks for that input. I have added the attribute that gives me the alarm title, however I’m more interested in the alarm details. Since, the details contain specific information with respect to interfaces too. Is that possible as well through the API? Thanks, Tracy Ann Monteiro On 11/9/16, 4:45 AM, "Waechter, Uwe" <uwe.waech...@computacenter.com> wrote: Hi, you have to add the attributes you are interested to see to that url: ONECLICK_URL/spectrum/restful/alarms?attr=0x1006e&attr=0x10000&attr=0x12b4c&attr=0x12d7f&0x11f4e Some attributes are listed here : https://docops.ca.com/ca-spectrum/9-4-1-to-9-4-4/en/programming/web-services-api-reference/how-to-use-the-ca-spectrum-web-services-api/restful-resources-nouns/alarm-and-model-attributes Mit freundlichen Gruessen - Best regards Herr Uwe Waechter Senior Consultant Global Infrastructure Operations Computacenter AG & Co oHG Enabling Users Europaring 34-40, 50170 Kerpen, Germany Tel.: +49 2273 597 7857 Mobile: +49 173 3883618 Short-Dial: 577857 E-Mail: uwe.waech...@computacenter.com WWW: www.computacenter.de -----Ursprüngliche Nachricht----- Von: Monteiro, Tracy [mailto:tracy_monte...@comcast.com] Gesendet: Dienstag, 8. November 2016 22:12 An: spectrum Betreff: [spectrum] Obtaining alarm descriptions through REST API from Spectrum How can I obtain the alarm description through the REST API from Spectrum. Is there an attribute ID that I can specify in order to get these details (alarm description)? --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum uwe.waech...@computacenter.com --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum tracy_monte...@comcast.com --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum william.lav...@ca.com --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum uwe.waech...@computacenter.com --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum tracy_monte...@comcast.com --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum arch...@mail-archive.com