Creating an email subscription object

You must create an email subscription object if you want notification messages to be sent automatically to an email address, or addresses, in response to specified user actions. You use the REST API to create the subscription object.

About this task

To create an email subscription by using the REST API, send an HTTP POST message to the following URL:
http://hostname:port/WSRR/8.5/Content/Subscription
The body of the message must include the following property settings:
<property name=”_notifierType” value=”email”/>
<property name="_endPointReference" value="target_email_address_or_addresses"/>
If you have multiple instances of WSRR deployed, you must identify the instance by specifying its prefix:
http://hostname:port/prefixWSRR/8.5/Content/Subscription
Where prefix is the WSRR Instance Prefix that you specified when you created the instance.

To create the email subscription object using the REST API, you require a tool capable of performing HTTP POST requests. A number of third party open source tools are available. (Alternatively, you can use the WSRR web UI to create the subscription object, see Managing subscriptions by using the web UI.)

For full details of the message body, and the response message that is returned, see the following subtopics: