setEmailEndpoint
Definiert den E-Mail-Endpunkt für Benachrichtigungen.
Gilt ausschließlich für Integrationseinheiten.
Parameter:
- emailEndpoint
- Der E-Mail-Endpunkt.
- Rückgabe:
- 'Success' (Erfolgreich) bzw. 'Failure' (Fehlgeschlagen).
Beispiele:
Beim folgenden Beispiel handelt es sich um eine SOAP-Anforderung zum Definieren eines E-Mail-Endpunkts.
<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>
Beim folgenden Absatz handelt es sich um die SOAP-Antwort auf die Anforderung.
<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>