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 feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.