setEmailEndpoint

Sets the email endpoint for notifications.

Applies to Integration Appliances only.

Parameter:

emailEndpoint
The email endpoint.
Returns:
Success or failure.

Examples:

The following example is a SOAP request to set an email endpoint.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:log="http://www.approuter.com/schemas/2008/1/lognotif"
xmlns:typ="http://www.approuter.com/schemas/2008/1/lognotif/types">
 <soapenv:Header>
  <log:sessionId>910D9A7B441C97AC2FCC54E3F1274AA7</log:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <log:setEmailEndpoint>
   <log:emailEndpoint>
    <typ:active>true</typ:active>
    <typ:credentials>
     <typ:password>test</typ:password>
     <typ:user>test</typ:user>
    </typ:credentials>
    <typ:host>hq-exch-01</typ:host>
    <typ:port>123</typ:port>
    <typ:sender>user@mydomain.com</typ:sender>
    <typ:subject>Notification</typ:subject>
   </log:emailEndpoint>
  </log:setEmailEndpoint>
 </soapenv:Body>
</soapenv:Envelope>
The following is the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:setEmailEndpointResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/lognotif" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
  lognotif/types">
   <ns2:success>true</ns2:success>
  </ns2:setEmailEndpointResponse>
 </S:Body>
</S:Envelope>



Feedback | Notices


Timestamp icon Last updated: Thursday, 2 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00147.html