Retrieving Information On Manageable Services

The get-supported-services operation is used to retrieve a list of server services which can be turned on/ off for site aliases on that server. The number of manageable services on site aliases differ in Plesk for Unix and Plesk for Windows: You cannot switch Tomcat service for site aliases in Plesk for Windows.

 

Request Sample

The following XML packet requests which site alias services can be managed on the server:

<packet version="1.6.3.0">
   <site-alias>
   <get-supported-services/>
   </site-alias>
</packet>

 

Response Samples

Response from server that runs Plesk for Unix, showing that all 3 services - Web, Mail and Tomcat - can be enabled/ disabled for site aliases on the server, looks like:

<packet version="1.6.3.0">
   <site-alias>
   <get-supported-services>
   <result>
      <status>ok</status>
      <service>web</service>
      <service>mail</service>
      <service>tomcat</service>
   </result>
   </get-supported-services>
   </site-alias>
</packet>

 

Response from server that runs Plesk for Windows, showing that only 2 services - Web and Mail - can be enabled/ disabled for site aliases on the server, looks like:

<packet version="1.6.3.0">
   <site-alias>
   <get-supported-services>
   <result>
      <status>ok</status>
      <service>web</service>
      <service>mail</service>
   </result>
   </get-supported-services>
   </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.