...
The HTML fragment is the result of the most basic strategy for taking the input fields, as listed in the fieldList
element, and transforming them into HTML. The customer is free to use this HTML fragment, or ignore it.
...
gbgAlert
A call to any method in the greenID API will return, as part of the CurrentStatusV5
object, a gbgAlert element. The gbgAlert contain the results of the GBG Alert evaluations.
If the overall status is NOT_ATTEMPTED
then the gbgAlert
element will contain no other data. For example:
|
If the overall status is NO_ALERT_RAISED, the gbgAlert element may, or may not, contain 'raisedAlerts'. This is because NO_ALERT_RAISED can mean:
- No alerts have ever been raised OR
- There were alerts raised and locked, but an administrator has 'unlocked' them all - therefore there are no unactioned/of concern Alerts raised.
|
If the overall status is ALERTS_RAISED, then the top-level element will contain the overall Alert status, as well as a score (see note below) and a list of 'raisedAlerts' (i.e. configured rules which have been triggered.. The 'raisedAlerts' will contain a list of 'raisedAlert' elements, each containing information about an alert rule raised.
For example:
|