Domain Alias

The get operation of the site-alias operator enables you to retrieve the information about the ICP permit status and the ID of the assigned ICP permit (if any) for one or more domain aliases.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 
Request Packet Structure

A request XML packet retrieving a site alias settings from Plesk database includes the get operation node:

<packet>
   <site-alias>
      <get>...</get>
   </site-alias>
</packet>

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

 
Response Packet Structure

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

 
Samples

The following packet retrieves the ICP permit information for the domain alias sample.com.

<packet>
   <site-alias>
      <get>
         <filter>
            <name>sample.com</name>
         </filter>
      </get>
   </site-alias>
</packet>

Response:

<packet>
   <site-alias>
      <get>
         <result>
            <status>ok</status>
            <filter-id>sample.com</filter-id>
            <id>1</id>
            <info>
               <status>0</status>
               <pref>
                  <web>true</web>
                  <mail>true</mail>
                  <tomcat>false</tomcat>
                  <seo-redirect>true</seo-redirect>
                  <icp-status>true</icp-status>
                  <icp-permit>123456789</icp-permit>
               </pref>
               <manage-dns>true</manage-dns>
               <site-id>3</site-id>
               <name>sample.com</name>
               <ascii-name>sample.com</ascii-name>
            </info>
         </result>
      </get>
   </site-alias>
</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.