CLI Reference Guide
URI
/user/mysubscription
Parameters
userIdentifier=<user_id>
Required; this user must be in the same organization as requestor, and must
have 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.
scope=[base|view]
Optional; default is base.
detail=basic
Optional; The only valid value is basic.
requestor=<user_name>
Required; user name must be valid, and is the user whose subscription list will
be returned by this call. requestor must be in the same organization as the user
specified by userIdentifier.
returnRetired=[true|false]
Optional; default is false.
creationStartDate=<yyyy-MM-ddTHH:mm:ss>
Optional; subscriptions created on or after start date and time will be included
in the return.
creationEndDate=<yyyy-MM-ddTHH:mm:ss>
Optional; subscriptions created before end date and time will be included in the
return. Note that creationStartDate must also be specified.
modificationStartDate=<yyyy-MM-ddTHH:mm:ss>
Optional; subscriptions updated on or after specified start date and time will
be included in the return.
modificationEndDate=<yyyy-MM-ddTHH:mm:ss>
Optional; subscriptions updated before specified end date and time will be
included in the return. Note that modificationStartDate must also be specified.
Note that in all date parameters:
l
Tserves as a separator between date and time.
l Time will default to 00:00:00 if not specified.
l Date and time are assumed to be in the time zone of the CSA server.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
Examples
The following URL was sent:
HP Cloud Service Automation (4.00) Page 132 of 141
APIReference
Contents