CLI Reference Guide
<entry>
<key>property.valueType.name</key>
<value xsi:type="xs:string">BOOLEAN</value>
</entry>
<entry>
<key>property.name</key>
<value xsi:type="xs:string">propBLN</value>
</entry>
</resultMap>
</resultView>
Retrieve resolved properties for an artifact
A propertycan have a source binding configuredthat indicates its value is to be retrieved from a
property on another artifact. The REST API discussed here provides a mechanism toretrieve the
value from the source property. As part of this retrieval, relevant tokens configured on properties are
also resolved.
There are two approaches to retrieving resolved properties:
l Retrieve all properties
l Retrieve a single named property
Details
URI
/artifact/<artifact_id>/resolveProperties
Method
GET
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 88 for the steps required to get the userIdentifier value.
propertyName=<property_name>
Optional; the name of the property you want to retrieve. Only retrieves the value
for the property specified.
Returns
200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception
Examples
The following URL was used to retrieve all properties for an artifact:
https://<host>:<port>/csa/rest/artifact/<id>/resolveProperties?userIdentifier=<u
ser_id>
The following XML was returned in the response:
HP Cloud Service Automation (4.00) Page 20 of 141
APIReference
Contents