
Chapter 7: Import_result API
Use this API to view detailed result informationfrom importing a content archive. See "Import API"
on page 79 fordetails on importing a content archive.
Base URL
https://<host>:<port>/csa/rest
Details
URI
/import_result/<importResultRecord_id>
importResultRecord IDs are returned by the "Import API" on page 79"Import
API" on page 79
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.
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>
HP Cloud Service Automation (4.10) Page 85 of 150
Comentarios a estos manuales