Installing Custom Theme

The branding-theme-install operation is used to install custom themes to customize interface appearance.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet installing a custom theme includes the branding-theme-install operation node:

<packet>
<ui>
   <branding-theme-install>
...
   </branding-theme-install>
</ui>
</packet>

 

The branding-theme-install graphical representation is as follows:

brandingthemeinstal

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

 

Response Packet Structure

The branding-theme-install node of the output XML packet is structured as follows:

brandingthemeinstall-output

 

Samples

This packet installs a custom theme branding-theme.zip stored in the /tmp directory and provided by the reseller with login name JDoe:

<packet>
<ui>
   <branding-theme-install>
      <filter>
         <vendor-login>JDoe</vendor-login>
      </filter>
      <path>/tmp/branding-theme.zip</path>
   </branding-theme-install>
</ui>
</packet>

Response:

<packet>
<ui>
   <branding-theme-install>
      <result>
         <status>ok</status>
         <filter-id>JDoe</filter-id>
         <id>1234</id>
      </result>
   </branding-theme-install>
</ui>
</packet>