ipm7Config :: AlertAdd
 
More Information: Refer to the ipMonitor 7.x Config Soap Interface or the WSDL Service Description.
   
AlertAdd adds a new Alert object into ipMonitor 7.
 
AlertAdd(...); Parameters (c#):
  • long profile_id
    The ID of the Profile where the Alert should be inserted.
  • System.Xml.XmlNode Settings
    Xml containing the settings for the new Alert.
 
AlertAdd(...); Return (c#):
  • long
    AlertAdd will return the Alert ID from the system in the form of a long.
 
SOAP / HTTP Details (Invoke):
 
POST /ipm7soap/config.asmx HTTP/1.1
Host: youripm7addr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.ipmonitor.com/ipm70/AlertAdd"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AlertAdd xmlns="http://schemas.ipmonitor.com/ipm70/">
      <profile_id>long</profile_id>
      <Settings>xml</Settings>
    </AlertAdd>
  </soap:Body>
</soap:Envelope>
SOAP / HTTP Details (Return):
 
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AlertAddResponse xmlns="http://schemas.ipmonitor.com/ipm70/">
      <AlertAddResult>long</AlertAddResult>
    </AlertAddResponse>
  </soap:Body>
</soap:Envelope>