
URI
/catalog/<catalog_id>/request/<request_id>
Use "Catalog API" on page 44 to get the catalog ID and "List requests in the
catalog" on page 56 to get the request ID.
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 91 for the steps required to get
the userIdentifier value.
scope=[base|baseplusone|subtree]
Optional; default is base. If value is base, then the object is returned. If value is
baseplusone, then the object and its first level children are returned. If value is
subtree, then the object and all of its descendants are returned.
detail=[required|basic|standard|template|full]
Optional; default is full. See "Values for the detail parameter" on page 147. Some
API calls do not support all possible values for this parameter.
Returns 201 - Ok, object returned
401 - Not authorized
404 - Not found
500 - Server exception
Example
The following URL was sent:
https://localhost:8444/csa/rest/catalog/8a8181853810699a0138106dcebc0011/request
/8a8181853810699a01381079190800a7/
?userIdentifier=8a8181853810699a01381076be5400a0
The following XML was returned:
<ServiceRequest>
<id>8a8181853810699a01381079190800a7</id>
<objectId>8a8181853810699a01381079190800a7</objectId>
<createdOn>2012-06-21T12:16:08.073-07:00</createdOn>
<updatedOn>2012-06-21T12:16:50.787-07:00</updatedOn>
<createdBy>
<id>8a8181853810699a01381076be5400a0</id>
<objectId>8a8181853810699a01381076be5400a0</objectId>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>consumer1</name>
<disabled>false</disabled>
</createdBy>
<updatedBy>
<id>90d96588360da0c701360da0f1d5f483</id>
<objectId>90d96588360da0c701360da0f1d5f483</objectId>
<isCriticalSystemObject>true</isCriticalSystemObject>
<name>admin</name>
APIReference
HP Cloud Service Automation (4.10) Page 61 of 150
Kommentare zu diesen Handbüchern