Book Contents

Previous Topic

Next Topic

Response Packet Structure

The add node of the output XML packet is structured as follows:

  • The result node is required. It wraps the response got from the server. Data type: resultType (common.xsd).
  • The status node is required. Specifies the execution status of the add operation. Data type: string. Allowed values: ok | error.
  • The errcode node is optional. Is used to return the error code when the add operation fails. Data type: unsignedInt.
  • The errtext node is optional. Can be used to return the error message if the add operation fails. Data type: string.
  • The id node is optional. It is required if the add operation has succeeded. Returns the unique identifier of the domain template just added to Plesk. Data type: integer.