CLI Reference Guide
<tokenSequence>0</tokenSequence>
<value>Token 0 content</value>
</tokens>
<tokens>
<tokenSequence>1</tokenSequence>
<value>Token 1 content</value>
</tokens>
</Notification>
Examples
The following URL was sent:
https://<host>:<port>/csa/rest/notification/party?userIdentifier=90cec3a03a93ef8
9013a93f07b880001
The following XML was sent in the request (note that the second recipient.id is bad):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Notification>
<subject>Test Subject</subject>
<contentBody>Test content body, token0 = {0}. Token1 = {1}</contentBody>
<recipient>
<id>90cec3a03a93ef89013a93f07b880001</id>
<type>PERSON</type>
</recipient>
<recipient>
<id>bad org id</id>
<type>ORGANIZATION</type>
</recipient>
<tokens>
<tokenSequence>0</tokenSequence>
<value>Token 0 test content</value>
</tokens>
<tokens>
<tokenSequence>1</tokenSequence>
<value>Token 1 test content</value>
</tokens>
</Notification>
The following response header status code was returned: 200 OK
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NotificationPostResponse>
<count>1</count>
<errorMessage>Please enter a valid value for the recipient user id = bad org
id</errorMessage>
<notification>
<notifContentBody>Test content body, token0 = {0}. Token1 = {1}
HP Cloud Service Automation (4.00) Page 92 of 141
APIReference
Contents