CLI Reference Guide

Base URL
https://<host>:<port>/csa/rest
Details
URI
/import_result/<importResultRecord_id>
importResultRecord IDs are returned by the "Import API" on page 78
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.
format=HTML
Optional; returns results as HTML rather than the default XML
Returns
200- Ok
400 - Bad request
404 - Not found
500 - Server exception
Example
The following URL was sent:
https://<host>:<port>/csa/rest/import_result/ea933ec5-ad7b-42b6-b47c-965ff76f769
3
?userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was returned:
<ImportResult>
<importResultLogEntry>
<limit>0</limit>
<artifactDescription>SO ONE</artifactDescription>
<artifactDisplayName>SO ONE</artifactDisplayName>
<artifactName>
SO_ONE_February 11, 2013 7:08:05 PM UTC
</artifactName>
<artifactType>SERVICE_OFFERING</artifactType>
<importOperation>Error</importOperation>
</importResultLogEntry>
<importResultLogEntry>
<artifactDescription>SD ONE</artifactDescription>
<artifactDisplayName>SD ONE</artifactDisplayName>
<artifactName>SD_ONE_February 11, 2013 7:03:41 PM UTC</artifactName>
<artifactType>SERVICE_BLUEPRINT</artifactType>
HP Cloud Service Automation (4.00)Page 83 of 141
APIReference
Contents