7.3

Table Of Contents
curl Command
The following command exports an XaaS package as a .zip file at the specified location.
curl -X PUT -H "Authorization: Bearer $token" -H "Content-Type: application/json"-d'{"jsonAccepted" :
true, "tenantId" : "qe", "data" : [] }' 'https://$vRA/advanced-designer-
service/api/content/bundles/filters'
JSON Output
The output of a successful export command is a .zip file at the specified location.
Input
Table 136. XaaS Import Input Parameters
Name Parameter
tenantId Identifies the tenant associated with the export package.
data Information about the export package. Includes the following:
n
entityType
n
id
jsonAccepted Valid values are true or false.
Output
Import XaaS Content Example
POST /api/content/bundles imports an XaaS content bundle. You can use the command to import a
6.2.x package into vRealize Automation 7.0.
curl Command
The following command imports a file called XaaSContent.zip.
curl --insecure -X POST -H "Authorization: Bearer $token" -H "Content-Type:multipart/form-data"-
F"file=@XaaSContent.zip"-F"prefix=prefix_"-F"prefixOnlyConflicting=true"' https://$vRA/advanced-
designer-service/api/content/bundles'
JSON Output
The output of the command is a message indicating the status and details of the import operation.
{
"importStatus" : "SUCCESSFUL",
"data" : [ {
"logLevel" : "INFO",
Programming Guide
VMware, Inc. 365