CLI Reference Guide
List approvals for approver
Details
URI
/user/myapproval
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.
scope=[base|view]
Optional; default is base.
detail=basic
Optional; The only valid value is basic.
returnRetired=[true|false]
Optional; default is false.
approver=<user_name>
Required; user name must be valid, and is the user whose approval list will be
returned by this call. approver must be in the same organization as the user
specified by userIdentifier.
creationStartDate=<yyyy-MM-ddTHH:mm:ss>
Optional; approval requests 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; approval requests 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.
Caution: The users specified byuserIdentifierand approvermust be
in the same organization.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
HP Cloud Service Automation (4.00)Page 129 of 141
APIReference
Contents