
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 91 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:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Properties>
<property> ... </property>
<property> ... </property>
<property>
<id>90d9651a3684c7f0013684cafda80005</id>
<createdOn>2012-04-05T16:15:57.480-07:00</createdOn>
<updatedOn>2012-04-05T16:15:57.497-07:00</updatedOn>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>PARENT_SVC_COMPONENT_ID</name>
<artifact>
<id>90d9651a3684c7f0013684cafda80008</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>TEST_CHILD_COMPONENT</name>
<disabled>false</disabled>
</artifact>
<propertyBindings>
<id>90d9651a3684c7f0013684cb28820009</id>
APIReference
HP Cloud Service Automation (4.10) Page 20 of 150
Comentarios a estos manuales