Excluding All Apps from a Reseller Plan

Despite its name, the enable-aps-filter operation is not diametrically opposed to disable-aps-filter. The operation enable-aps-filter just clears the list of apps offered in a reseller plan. Thus you are able to manage the apps list (by add-package and remove-package) without calling this operation beforehand.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet clearing the list of apps available in a reseller plan includes the enable-aps-filter operation node:

<packet>
<reseller-plan>
   <enable-aps-filter>
   ...
   </enable-aps-filter>
</reseller-plan>
</packet>

The enable-aps-filter node is presented by type ResellerTemplateApsFilterInputType (reseller_template.xsd). Its graphical representation is as follows:

enable-aps-filter 1633

 

Response Packet Structure

The enable-aps-filter node of the output XML packet is of complex type (domain_template.xsd) which has the following presentation:

enable-aps-filter response 1633

 

Samples

This packet clears the list of apps available in the reseller plan base_plan.

<packet>
<reseller-plan>
<enable-aps-filter>
   <filter>
      <name>base_plan</name>
   </filter>
</enable-aps-filter>
</reseller-plan>
</packet>

Response:

<packet>
  <reseller-plan>
    <enable-aps-filter>
      <result>
        <status>ok</status>
        <filter-id>base_plan</filter-id>
      </result>
    </enable-aps-filter>
  </reseller-plan>
</packet>