CLI Reference Guide
List instances for user
Details
URI
/user/myinstance
Method
GET
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
Optional; the only valid value 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.
creationStartDate=<yyyy-MM-ddTHH:mm:ss>
Optional; instances for subscriptions created on or after start date and time will
be included in the return. T serves as a separator between data and time. Time
will default to 00:00:00 if not specified. Date and time are assumed to be in the
time zone of the CSA server.
creationEndDate=<yyyy-MM-ddTHH:mm:ss>
Optional; instances for subscriptions created before end date and time will be
included in the return. T serves as a separator between data and time. Time will
default to 00:00:00 if not specified. 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:
https://<host>:<port>/csa/rest/user/myinstance?userIdentifier=90d9652b67ss6a9301
35f35b327e00a0 &requestor=johnsmith
The following XML was returned in the response:
HP Cloud Service Automation (4.00) Page 136 of 141
APIReference
Contents