Response Packet

The install-module node of the output XML packet is of complex type (server_output.xsd) which has the following presentation:

install-module-output

  • result, required.
    It wraps the result of the install-module operation. Data type: resultType (common.xsd).
  • status, required.
    It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
  • errcode, required if the operation fails.
    Returns error code. Data type: unsignedInt.
  • errtext, required if the operation fails.
    Returns error message. Data type: string.
 

Samples

A request packet installing a Plesk extension can look as follows:

<packet>
  <server>
    <install-module>
      <url>http://example.com/extension.zip</url>
    </install-module>
  </server>
</packet>

Response:

<packet>
  <server>
    <install-module>
      <result>
        <status>ok</status>
      </install-module>
    </>
  </server>
</packet>