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

- The result node is required. It wraps the response from the server. Data type: resultType (
common.xsd). - The status node is required. It specifies the execution status of the get operation. Data type: string. Allowed values: ok | error.
- The errcode node is optional. It is used to return the error code when the get operation fails. Data type: unsignedInt.
- The errtext node is optional. It is used to return the error message if the set operation fails. Data type: string.
- The site-id node is optional. It is required if the site ID was set as a filtering rule in the request packet. Data type: integer.
- The site-alias-id node is optional. It is required if the site alias ID was set as a filtering rule in the request packet. Data type: integer.
- The soa node is optional. It is required if the soa node was specified in the request packet. Data type: SOAType (
plesk_dns.xsd). - The zone_type is optional. It is required if the filter node was specified in the request packet. Specifies the type of the DNS name server. Data type: string. Allowed values: master | slave.
- The zone_status is optional. It is required if the get operation succeeds. Specifies the status of the local DNS name server. Data type: string. Allowed values: enabled | disabled.
Please send us your feedback on this help page.