
Get list of recent or expiring soon subscriptions for
user
Details
URI
/user/subscription
Returns a list of subscriptions for the user associated with userIdentifier.
Method GET
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 91 for the steps required to get
the userIdentifier value.
queryType=[expiringSoon|recent]
Optional; expiringSoon returns the user's subscriptions that will expire within the
next 30 days, and recent returns the last five subscriptions initiated by the user.
Returns 200 - Ok
401 - Not authorized
500 - Server exception
Delete multiple subscriptions
Details
URI
/user/multipleSubscription/delete
Method POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 91 for the steps required to get the userIdentifier value.
Returns 200 - Ok (Indicates the REST call executed without error.See XML return content
for whether all specified subscriptions were deleteed.)
401 - Not authorized
404 - Object not found
500 - Server exception
Example
Use the following URL:
APIReference
HP Cloud Service Automation (4.10) Page 141 of 150
Commenti su questo manuale