Viewing Buttons Displayed on Reseller's Home Page in Control Panel

The cform-buttons-list operation is used to retrieve a list of buttons displayed on a reseller's home page.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet getting a list of buttons for a specified reseller account includes the cform-buttons-list operation node:

<packet version="1.6.0.0">
<reseller>
   <cform-buttons-list>
   ...
   </cform-buttons-list>
</reseller>
</packet>

 

The cform-buttons-list operation node has the following graphical representation:

 

Response Packet Structure

A response cform-buttons-list packet is structured as follows:

ResellerCFormButtonsListOutput

 

The button node is structured as follows:

 

 

Samples

To view lists of buttons for all reseller accounts, specify the packet as follows:

<packet version="1.6.0.0">
<reseller>
   <cform-buttons-list>
      <filter>
         <all/>
      </filter>
   </cform-buttons-list>
</reseller>
</packet>

Response:

<packet version="1.6.0.0">
  <reseller>
    <cform-buttons-list>
      <result>
        <status>ok</status>
        <filter-id>156</filter-id>
        <id>156</id>
        <button>
          <code>NEW_CLIENT_BUTTON</code>
...
        </button>
      </result>
    </cform-buttons-list>
  </reseller>
</packet>