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

- The result node is required. It wraps the response retrieved from the server. Data type: ResultType (
common.xsd). - The status node is required. It specifies the execution status of the add operation. Data type: result_status (
common.xsd). Allowed values: ok|error. - The errcode node is required if the add operation fails. It returns the error code. Data type: unsignedInt.
- The errtext node is required if the add operation fails. It returns the error message. Data type: string.
- The id node is required if the add operation succeeds. It returns the ID of a created subdomain. Data type: id_type (
common.xsd).
Possible Errors
- 1006 - Permission is denied.
- 1007 - Subdomain with such name already exists.
- 1015 - Parent site/subdomain is not found.
- 1019 - Invalid property name.
- 1023 - Operation failed.
- 1034 - Subdomains are not supported on sites without physical hosting.
Please send us your feedback on this help page.