curl --request GET 'https://localhost:8080/api/alarms?sort-by=lastReceiveTime&from-date=date -d'now-10 minutes'' -H 'Authorization: Key demo-key curl --request GET 'https://localhost:8080/api/alarms?sort-by=lastReceiveTime&from-date="'"$(date --utc +%FT%T.%3NZ) -d 'now-10 minutes'"'"' -H 'Authorization: Key demo-key'
this command gives all alarm ...but we want only those alarm which came in last 10 min. if this url is working then i will use in http invoke processor that why i have put here this query.