getNotificationPolicy
Gets the notification policy that is using the specified notification policy ID.
Applies to Clouds and Integration Appliances.
Parameter:
- policyId
- The specified ID for the notification policy.
- Returns:
- The notification policy.
Examples:
The following example is a SOAP
request to get a notification.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:log="http://www.approuter.com/schemas/2008/1/lognotif">
<soapenv:Header>
<log:sessionId>910D9A7B441C97AC2FCC54E3F1274AA7</log:sessionId>
</soapenv:Header>
<soapenv:Body>
<log:getNotificationPolicy>
<log:policyId>688129</log:policyId>
</log:getNotificationPolicy>
</soapenv:Body>
</soapenv:Envelope>
The following example is
the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getNotificationPolicyResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/lognotif" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
lognotif/types">
<ns2:notificationPolicy>
<emailAddresses>user@mydomain.com</emailAddresses>
<id>688129</id>
<logComponent>orchestration</logComponent>
<logLevel>error</logLevel>
<name>TestNotif</name>
<snmp>false</snmp>
</ns2:notificationPolicy>
</ns2:getNotificationPolicyResponse>
</S:Body>
</S:Envelope>