cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

API - Managing and fetching alerts

SOLVED
Highlighted
Newbie

API - Managing and fetching alerts

Hi.

I've created a few Things with the platform and I gave them some simulated data that I'm already extracting using the API. In the Things themselves I defined a few alerts, mainly regarding values dropping below a certain point, for example: Speed of a car dropping below 30. I did this using the manage alerts in the Things properties. My question is, having the data simulated using a Timer and some Javascript code would these alerts fire? If they do what would be the endpoint in the API to catch these alerts? Is there anything else I've to do so it would work?

Thank you for your help in advance.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: API - Managing and fetching alerts

I found the API Cheat Sheet at:
ThingWorx REST API Cheat Sheet

That basically told me to get to the service definitions and there I saw to QueryAlertHistory. Pretty much like the normal data. So i eventually answered myself.

Thank you anyway. I'll leave this answer here in case anyone has the same problem.

View solution in original post

1 REPLY 1

Re: API - Managing and fetching alerts

I found the API Cheat Sheet at:
ThingWorx REST API Cheat Sheet

That basically told me to get to the service definitions and there I saw to QueryAlertHistory. Pretty much like the normal data. So i eventually answered myself.

Thank you anyway. I'll leave this answer here in case anyone has the same problem.

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________