Adds a comment to an alert without changing the alert disposition or status. The UMF API equivalent of the addAlertComment method are the SOA_ADD_ALERT_COMMENT_REQUEST input document and the SOA_ADD_ALERT_COMMENT_RESPONSE output document.
addAlertComment ( alertIdentifier, comment, commentByUser, additionalinfo );
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <addAlertComment xmlns="http://services/"> <alertID xmlns=""> <alertType>ROLE_ALERT</alertType> <alertID>81</alertID> </alertID> <comment xmlns="">sample comment</comment> <commentingUser xmlns="">admin</commentingUser> <additionalInfo xsi:nil="true" xmlns=""/> </addAlertComment> </soapenv:Body> </soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soapenv:Body> <addAlertCommentResponse xmlns="http://services/"> <alertUpdated xmlns="">TRUE</alertUpdated> </addAlertCommentResponse> </soapenv:Body> </soapenv:Envelope>