Knowledge Center > Developer Documentation
ipm7Config :: ProfileAdd
ProfileAdd adds a new alerting Profile object into ipMonitor.
ProfileAdd(...); Parameters (c#):
- System.Xml.XmlNode Settings
Xml containing the settings for the new Profile.
ProfileAdd(...); Return (c#):
- long
ProfileAdd will return the Profile ID from the system in the form of a long.
SOAP / HTTP Details (Invoke):
POST /soap/config.asmx HTTP/1.1
Host: youripm7addr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.ipmonitor.com/ipm70/ProfileAdd"
<?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>
<ProfileAdd xmlns="http://schemas.ipmonitor.com/ipm70/">
<Settings>xml</Settings>
</ProfileAdd>
</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>
<ProfileAddResponse xmlns="http://schemas.ipmonitor.com/ipm70/">
<ProfileAddResult>long</ProfileAddResult>
</ProfileAddResponse>
</soap:Body>
</soap:Envelope>
< Back

Last Updated: March 30, 2004 | What did you think of this topic?