CLI Reference Guide

URI
/login/<organization_name>/userLookup
Returns
200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception
Examples
To get the userIdentifier, we used the following URL:
https://<host>:<port>/csa/rest/login/MyOrganization/userLookup
?userName=admin/domain
The following XML was returned in the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<person>
<id>90s96588670da0c701360da0f1d540a1</id> <!-- This is userIdentifier -->
... <!-- Remaining XML is not relevant for this example. -->
</person>
The value for userIdentifier is the first <id> value returned in the XML.
Notification API
Description
Use this API to retrieve the notification objects associated with<party_id>, or to send a notification
to users or organizations.
Base URL
https://<host>:<port>/csa/rest
URIs
The following URIs are appended to the base URL:
URI Method Parameters Description
/notification/party/<party_
id>
GET userIdentifier,
maxResults
"View list of notification objects" on
the facing page
/notification/party POST userIdentifier "Send notification" on page 91
HP Cloud Service Automation (4.00)Page 89 of 141
APIReference
Contents