In order to retrieve new alerts for a user you need to call the GetUserAlerts method. This will return any new alerts that have been generated since the last time.
GetUserAlerts
...
This method is available to developers from the Transaction.asmx Web Service.
Parameters
...
...
clientid | mandatory | This is the id for the client that was returned by the CreateSessionKey method. |
sessionKey |
...
mandatory | This is the SessionKey for the client that was returned by the CreateSessionKey method. |
userId |
...
mandatory | This is the unique user id for the user as stored in the |
...
My Alerts database and is returned by the AuthenticateUser method. |
Template
...
template | mandatory | Email notification template. This is the html template file containing tags that will be replaced with appropriate values. |
bWriteCache | mandatory | This a boolean that determines if cache is written or not "True" or "False" respectively. |
...
Returned Parameters
...
Name | Requirement | Description |
---|
Returns
Code Block | ||||
---|---|---|---|---|
| ||||
<GetUserAlertsResult>string</GetUserAlertsResult> |
GetUserAlertsResult
This is the alert text which is normally sent to the user via email.