CLI Reference Guide

https://<host>:<port>/csa/rest/mysubscription?userIdentifier=90d9652b67ss6a93013
5f35b327e00a0 &requestor=RnDUser
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceSubscriptionList>
<count>6</count>
<limit>0</limit>
<ServiceSubscription>
<id>90d957ea3806fa7e013807acc79000b3</id>
<iconUrl>
/csa/images/library/serviceOfferingDefault58.png
</iconUrl>
<name>MY SR</name>
<displayName>MY SR</displayName>
<state>...</state>
<artifactType>
<name>SUBSCRIPTION</name>
...
</artifactType>
<disabled>false</disabled>
<serviceOffering>...</serviceOffering>
<subscriptionStatus>...</subscriptionStatus>
<initiatingServiceRequest>...</initiatingServiceRequest>
...
</ServiceSubscription>
...
</ServiceSubscriptionList>
Get count of subscriptions for user
Details
URI
/user/subscription/count
Gets the number of subscriptions for the user associated with userIdentifier. The
resutls are grouped by subscription status.
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 88 for the steps required to
get the userIdentifier value.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
HP Cloud Service Automation (4.00)Page 133 of 141
APIReference
Contents