Knowledge Center > Developer Documentation
ipm7Config :: ProfileAddMembers
ProfileAddMembers adds Alerts to the list of Alerts for an alerting Profile. This function is rarely used since Alerts are added to a Profile on creation.
ProfileAddMembers(...); Parameters (c#):
- long profile_id
ID of Profile to which to add the members.
- long [] monitor_ids
Array of Alert object IDs to add to the list of Alerts in an alerting Profile.
ProfileAddMembers(...); Return (c#):
- boolean
ProfileAddMembers will return true if the function succeeds otherwise it will return false.
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/ProfileAddMembers"
<?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>
<ProfileAddMembers xmlns="http://schemas.ipmonitor.com/ipm70/">
<profile_id>long</profile_id>
<alert_ids>
<long>long</long>
<long>long</long>
</alert_ids>
</ProfileAddMembers>
</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>
<ProfileAddMembersResponse xmlns="http://schemas.ipmonitor.com/ipm70/">
<ProfileAddMembersResult>boolean</ProfileAddMembersResult>
</ProfileAddMembersResponse>
</soap:Body>
</soap:Envelope>
< Back

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