CLI Reference Guide
URI
/user/myrequest
Parameters
userIdentifier=<user_id>
Required; this user must be in the same organization as submitter, 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.
sbmitter=<user_name>
Required; user name must be valid, and is the user whose request list will be
returned by this call. submitter must be in the same organization as the user
specified by userIdentifier.
returnRetired=[true|false]
Optional; default is false.
submitStartDate=<yyyy-MM-ddTHH:mm:ss>
Optional; requests submitted 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.
submitEndDate=<yyyy-MM-ddTHH:mm:ss>
Optional; requests submitted 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/myrequest?userIdentifier=8a8181853810699a013
81076be5400a0 &submitter=acctgconsumer
The following XML was returned in the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceRequestList>
<count>21</count>
<limit>0</limit>
<ServiceRequest>
<id>8a8181853810699a01381079190800a7</id>
HP Cloud Service Automation (4.00) Page 124 of 141
APIReference
Contents