CLI Reference Guide

Returns
200 -Updated
400 - Bad request
404 - Not found
500 - Server exception
Caution: Component palette import isan update operation, and so associateProviders and
updatePreserveExisting parameters will be ignored.
The following headers must be set when using this API to upload the content archive:
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:
https://localhost:8444/csa/rest/importzip
?userIdentifier=90d96588360da0c701360da0f1d5f483&file=
SERVICE_DESIGN_Simple_Compute_Linux_90cec2023cc75f8a013cc7643ad00034.zip
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<importMessageList>
<messages>Service design Simple Compute Linux imported successfully.
(Id=90cec2ff3dd11298013dd1139eb7004f)</messages>
<messages>Resource offering SA Offering imported successfully.
(Id=90cec2ff3dd11298013dd113992d000d)</messages>
<messages>Resource offering uCMDB Offering imported successfully.
(Id=90cec2ff3dd11298013dd113977d0008)</messages>
<messages>Resource offering vCenter Offering imported successfully.
(Id=90cec2ff3dd11298013dd1139a4f0016)</messages>
</importMessageList>
Import_result API
Use this API to view detailed result informationfrom importing a content archive. See "Import API"
on page 78 fordetails on importing a content archive.
HP Cloud Service Automation (4.00) Page 82 of 141
APIReference
Contents