CLI Reference Guide
<tokens><tokenSequence>1</tokenSequence><value>CSA Consumer</value></tok
ens>
...
</notification>
...
</NotificationList>
Send notification
Details
URI
/notification/party/<party_id>
Method
POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. This user
should be a consumer user who has the necessary permissions for the data you
want to work with. See "Get userIdentifier" on page 88 for the steps required to
get the userIdentifier value.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
Request body format
<Notification>
<subject>Notification Subject goes in here</subject>
<contentBody>Enter any text here, optionally including tokens: token0 = {0}.
Token1 = {1}</contentBody>
<!-- Each recipient must have an id and type. Only PERSON and ORGANIZATION a
re valid types. Notifications will be sent to valid recipients and an error mess
age returned for the invalid ones. Response code 200 OK will be returned if ther
e is at least one valid recipient.
-->
<recipient>
<id>UUID of the recipient</id>
<type>PERSON</type>
</recipient>
<recipient>
<id>UUID of organization</id>
<type>ORGANIZATION</type>
</recipient>
<!-- tokens must be specified if your contentBody contains tokens. No token
validation is done.
-->
<tokens>
HP Cloud Service Automation (4.00)Page 91 of 141
APIReference
Contents