Node gen_info (type domainGenInfoType)

Representation of gen_info in API RPC 1.4.2.0 and later versions

This node is used in the get response packets. It is defined by complex type domainGenInfoType (plesk_domain.xsd) and holds a collection of common domain settings.

Starting from API RPC 1.4.2.0, the gen_info node has got some changes as follows:

 

The following packet with general domain information can be received from Plesk server if API RPC 1.4.2.0 is used:

<packet version="1.6.0.0">
<domain>
<get>
   <result>
      <status>ok</status>
      <filter-id>1234</filter-id>
      <id>1234</id>
      <data>
          <gen_info>
             <cr_date>2000-12-12</cr_date>
             <name>www.example.com</name>
             <ascii-name>www.example.com</ascii-name>
             <status>256</status>
             <real_size>54687742156789</real_size>
             <owner-id>111</owner-id>
             <dns_ip_address>196.0.2.123</dns_ip_address>
             <htype>vrt_hst</htype>
             <guid>aasdgr342dsaddw3r32rsdfsdf3t</guid>
          </gen_info>
      </data>
   </result>
</get>
</domain>
</packet>

This packet is specific for protocol version 1.4.2.0 and later: The response contains the filtering parameter (the filter-id node). The request packet filtered the domain by domain id, so the filter-id node of the response packet returns this filtering parameter, and the id node returns the domain identifier. Note that the earlier versions of API RPC protocol do not support this feature.

Representation of gen_info in API RPC 1.4.1.2 and earlier versions

In API RPC 1.4.1.2 and earlier, this node is structured as follows:

 

The following packet with general domain information can be received from Plesk server:

<packet version="1.4.1.2">
<domain>
<get>
   <result>
      <status>ok</status>
      <id>1234</id>
      <data>
          <gen_info>
             <cr_date>2000-12-12</cr_date>
             <name>alterzone.co.uk</name>
             <display_name>www.alterzone.co.uk</display_name>
             <status>256</status>
             <real_size>54687742156789</real_size>
             <client_id>111</client_id>
             <dns_ip_address>123.123.13.123</dns_ip_address>
             <htype>vrt_hst</htype>
          </gen_info>
      </data>
   </result>
</get>
</domain>
</packet>