Import_result API

Use this API to view detailed result information from importing a content archive.  See Import API for details 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 APIImport API
Method GET
Parameters

userIdentifier=<user_id>
    Required; the user ID you want to use as credentials for this API call. See Get userIdentifier 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-965ff76f7693
       ?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>
    <importOperation>Error</importOperation>
  </importResultLogEntry>
  <importSummary>
    Import of Service offering archive successful.
  </importSummary>
  <status>SUCCESS</status>
  <timeOfImport>March 31, 2013 7:19:01 PM UTC</timeOfImport>
  <userInformation>admin</userInformation>               
</ImportResult