search cancel

The lasthour parameter is not working in the Spectrum REST API GET alarms

book

Article ID: 190757

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The lasthour parameter is not working in the Spectrum REST API GET alarms

Environment

Release : ANY

Component : Spectrum Core / SpectroSERVER

Cause

The "GET alarms" section of the documentation mentions using the "lasthour" parameter to retrieve alarm ids generated in the last <num> of hours, where <num> of hours.

This is incorrect. The lasthour parameter is not supported for "GET alarms". It is supported only for "POST alarms (GET Tunneling)".

Resolution

The documentation will be updated to reflect.