PUT /vApp/{id}/productSections

Operation:
PUT /vApp/{id}/productSections
Description:
Update all ProductSection elements in a vApp template, vApp, or VM.
Since:
1.5
Input parameters
ProductSectionList element

Consume media type(s):
application/vnd.vmware.vcloud.productSections+xml
Input type:
ProductSectionListType
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
PUT /api/vApp/vapp-df69981f-3582-4df2-8762-2750df34e0d2/productSections/

Headers:
x-vcloud-authorization: KuOVdsV9Gs28aEPpNChNls9+jTySGOsMFv1kee0sTRc=

Body:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns6:ProductSectionList
    xmlns="http://www.vmware.com/vcloud/versions" xmlns:ns2="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ns3="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:ns4="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ns5="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:ns6="http://www.vmware.com/vcloud/v1.5" xmlns:ns7="http://www.vmware.com/schema/ovf" xmlns:ns8="http://schemas.dmtf.org/ovf/environment/1" xmlns:ns9="http://www.vmware.com/vcloud/extension/v1.5">
    <ns2:ProductSection>
        <ns2:Info ns2:msgid="productSection">Product section info</ns2:Info>
    </ns2:ProductSection>
</ns6:ProductSectionList>
Response
HTTP/1.1 202 Accepted

Headers:
Content-Length: 1306
Content-Type: application/vnd.vmware.vcloud.task+xml; version=5.5
Location: https://vcloud.example.com/api/task/ede6f3d0-cd26-4189-b49a-51e074daa7e9
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?>
<Task
    xmlns="http://www.vmware.com/vcloud/v1.5"
    status="running"
    startTime="2013-03-22T11:10:54.802+02:00"
    serviceNamespace="com.vmware.vcloud"
    operationName="vdcUpdateVapp"
    operation="Updating Virtual Application 2hdd(df69981f-3582-4df2-8762-2750df34e0d2)"
    expiryTime="2013-06-20T11:10:54.802+03:00"
    cancelRequested="false"
    name="task"
    id="urn:vcloud:task:ede6f3d0-cd26-4189-b49a-51e074daa7e9"
    type="application/vnd.vmware.vcloud.task+xml"
    href="https://vcloud.example.com/api/task/ede6f3d0-cd26-4189-b49a-51e074daa7e9"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        rel="task:cancel"
        href="https://vcloud.example.com/api/task/ede6f3d0-cd26-4189-b49a-51e074daa7e9/action/cancel"/>
    <Owner
        type="application/vnd.vmware.vcloud.vApp+xml"
        name="2hdd"
        href="https://vcloud.example.com/api/vApp/vapp-df69981f-3582-4df2-8762-2750df34e0d2"/>
    <User
        type="application/vnd.vmware.admin.user+xml"
        name="system"
        href="https://vcloud.example.com/api/admin/user/4b36181e-b32d-456e-ad94-8e0a568b1346"/>
    <Organization
        type="application/vnd.vmware.vcloud.org+xml"
        name="Default"
        href="https://vcloud.example.com/api/org/710affad-0212-4e55-b6ae-4818d6e9166e"/>
    <Details/>
</Task>