CLI Reference Guide

l Content-type: multipart/form-data
l Content-Disposition: form-data; name="file"
l Content-Type: application/octet-stream
Example
The following URL was sent to import the contents of thespecified archive.
https://<host>:<port>/csa/rest/import?userIdentifier=90d96588360da0c701360da0f1d
5f483&update=true&file=SERVICE_OFFERING_SO_ONE_
90cec2ff3c81b896013c81b8c1780097.zip
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ImportOperationResult>
<additionalSummaryMessages>
Service offering SO ONE imported successfully. (Id=90cec2ff3dc1d73b013dc1df0
b750028)
</additionalSummaryMessages>
<additionalSummaryMessages>
Service design SD ONE imported successfully. (Id=90cec2ff3dc1d73b013dc1df09d
b0018)
</additionalSummaryMessages>
<importResultRecord>
ea933ec5-ad7b-42b6-b47c-965ff76f7693
</importResultRecord>
<importStatus>SUCCESS</importStatus>
<importSummary>
Import of Service offering archive successful.
</importSummary>
</ImportOperationResult>
Importzip API
Deprecation Notice
The GET /importzip API has been deprecated. Use/import instead as using the deprecated API will
not include new functionality.
Description
Use this API to import an artifact from a CSA artifact archive.CSA archives are created via the
export REST API, the content archive tool, or the CSA management console.The import operation
imports the primary artifact and all associated artifacts.
Base URL
https://<host>:<port>/csa/rest
HP Cloud Service Automation (4.00) Page 80 of 141
APIReference
Contents