POST /vApp/{id}/action/enableDownload

Operation:
POST /vApp/{id}/action/enableDownload
Description:
Enable a vApp for download.
Since:
5.5
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
TaskType

This operation is asynchronous and returns a task that you can monitor to track the progress of the request.

Produce media type(s):
application/vnd.vmware.vcloud.task+xml
Output type:
TaskType
Examples
Request
HTTP 1.1
POST /api/vApp/vapp-ee64a2c1-d8c6-495e-8142-d697b164cb51/action/enableDownload

Headers:
x-vcloud-authorization: /LOwXxsAG2/2J87P4zt3nZ2dkxZXke77j6cFEpCExac=

Body:
Response
HTTP/1.1 202 Accepted

Headers:
Content-Length: 1351
Content-Type: application/vnd.vmware.vcloud.task+xml; version=5.5
Location: https://vcloud.example.com/api/task/d02682bd-405c-46b7-9ddb-4f297cf4ba70
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Task
    xmlns="http://www.vmware.com/vcloud/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    cancelRequested="false"
    expiryTime="2013-06-17T14:12:25.324+03:00"
    href="https://vcloud.example.com/api/task/d02682bd-405c-46b7-9ddb-4f297cf4ba70"
    id="urn:vcloud:task:d02682bd-405c-46b7-9ddb-4f297cf4ba70"
    name="task"
    operation="Enabling download of Virtual Application vApp1(ee64a2c1-d8c6-495e-8142-d697b164cb51)"
    operationName="vdcEnableDownload"
    serviceNamespace="com.vmware.vcloud"
    startTime="2013-03-19T14:12:25.324+02:00"
    status="running"
    type="application/vnd.vmware.vcloud.task+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        href="https://vcloud.example.com/api/task/d02682bd-405c-46b7-9ddb-4f297cf4ba70/action/cancel"
        rel="task:cancel"/>
    <Owner
        href="https://vcloud.example.com/api/vApp/vapp-ee64a2c1-d8c6-495e-8142-d697b164cb51"
        name="vApp1"
        type="application/vnd.vmware.vcloud.vApp+xml"/>
    <User
        href="https://vcloud.example.com/api/admin/user/5869d5cf-cab1-4fd2-8e49-2b052d39d8bb"
        name="system"
        type="application/vnd.vmware.admin.user+xml"/>
    <Organization
        href="https://vcloud.example.com/api/org/a06bf095-7e26-45f8-bd93-e6b16e668e82"
        name="Default"
        type="application/vnd.vmware.vcloud.org+xml"/>
    <Progress>1</Progress>
    <Details/>
</Task>