Closed gjdv closed 1 year ago
Ah never thought off checking the alerts from the portal site. I will take a look.
Just exploring to build some automated notification in case of problems :)
Maybe just to clarify the note: I do have FULL_ACCESS rights, but before I got those, I had the default DASHBOARD_AND_LAYOUT rights, which hides (amongst others) the alerts in the web-view. Not sure if it also blocks the api calls if you don't have FULL_ACCESS rights.
Yes i see, that could be a problem when with users who dont have those rights. I think i have them because i can see alerts on the main page. Now to find some free time to play arround :-)
Generalized getLifeTimeEnergy to _doPostRequest and implemented getAlerts. It returns info like the following:
Note: this might require FULL_ACCESS rights in the SE portal, as opposed to DASHBOARD_AND_LAYOUT