Configuring Package Properties

Use the set-package-properties operation to display or hide a package from customers and resellers when they view Applications Catalog.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML package that retrieves the status of an application package download task should include the set-package-properties operation node:

<packet>
<aps>
   <set-package-properties>
...
   </set-package-properties>
</aps>
</packet>

The set-package-properties node is structured as follows:

aps-set-package-properties-rps

Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.

 

Response Packet Structure

The set-package-properties node of the output XML packet is structured as follows:

 

Samples

Hiding particular packages

This packet requests status to hide packages with IDs 10, 11 and 12.

<packet version="1.6.3.0">
  <aps>
   <set-package-properties>
      <filter>
        <package-id>10</package-id>
        <package-id>11</package-id>
        <package-id>12</package-id>
      </filter>
	   <properties>
		<visible>0</visible>
	   </properties>
   </set-package-properties>
  </aps>
</packet>

Response:

<packet version="1.6.3.0">
  <aps>
    <set-package-properties>
      <result>
        <status>ok</status>
        <filter-id>1</filter-id>
      </result>
    </set-package-properties>
  </aps>
</packet>