Primary Domain, Add-on Domain, or Subdomain

The set operation of the site operator enables you to update the information about the ICP permit status and the ID of the assigned ICP permit for one or more primary domains, add-on domains, or subdomains.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 
Request Packet Structure

A request XML packet updating information about the ICP permit status and the ICP permit ID of one or more domains or subdomains must include the set, values, and prefs operation nodes:

<packet>
   <site>
      <set>
         ...
         <values>
            <prefs>...</prefs>
         </values>
      </set>
   </site>
</packet>

For more information about the set node, including its graphical representation and the descriptions and properties of dependent nodes, click here.

 
Response Packet Structure

The structure of the set node of the response packet is described here.

 
Samples

The following packet grants the "ICP permit approved" status and assign the ICP permit "123456789" to the domain example.com:

<packet>
   <site>
      <set>
         <filter>
            <name>example.com</name>
         </filter>
         <values>
            <prefs>
               <icp-status>true</icp-status>
               <icp-permit>123456789</icp-permit>
            </prefs>
         </values>
      </set>
   </site>
</packet>

Response:

<packet>
   <site>
      <set>
         <result>
            <status>ok</status>
            <filter-id>example.com</filter-id>
            <id>5</id>
         </result>
      </set>
   </site>
</packet>
 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.