Conduit API
Case Study
Web Page API -> AddAlert
 
This function is used in order to subscribe a user to receive alerts from a specific community toolbar.
 
AddAlert(alertId)
 
Parameter Description Range Type
alertId The alert Id to add >0 int
 
An object that contains the following fields:
Field Name Description Type
returnValue Indicates whether the operation was successful
True - The function succeeded
False - Subscription to the alert failed. Check the value of the errorCode to determine the specific reason for the function failure
boolean
errorCode
Specific error code. See Error Code Table for additional information.
int
 
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains a button that when clicked upon will add an alert for each installed and visible Conduit powered toolbar.