Parallels H-Sphere Documentation Developer Guide Javadoc XML API

 

H-Sphere XML API: DNS Services

(outdated)
 
 

Related Docs:   H-Sphere XML API Reference Javadoc XML API

Last modified: 21 Aug 2006

 

WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

WARNING:
This documentation is outdated! Please refer to Javadoc XML API for up-to-date reference!

Admin Actions:

User Actions:

 

Action: addDNSZone

Description: adds a new DNS zone

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:admEmail - admin's email
boolean:allowThirdDomainLevelHosting - is third level domain hosting allowed
long:masterServer - logical master server id

Response: empty

Example:

 <soapenv:Body>
  <ns1:addDNSZone soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <admEmail xsi:type="xsd:string">vovan.psoft.lviv.ua</admEmail>
   <allowThirdDomainLevelHosting xsi:type="xsd:boolean">true</allowThirdDomainLevelHosting>
   <masterServer xsi:type="xsd:long">3</masterServer>
  </ns1:addDNSZone>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:addDNSZoneResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: delDNSZone

Description: deletes a DNS zone

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: empty

Example:

 <soapenv:Body>
  <ns1:delDNSZone soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">myzone.psoft</zoneName>
  </ns1:delDNSZone>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:delDNSZoneResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: isAllowHosting

Description: checks if hosting for DNS zone is allowed

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: empty

Example:

 <soapenv:Body>
  <ns1:isAllowHosting soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
  </ns1:isAllowHosting>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:isAllowHostingResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <isAllowHostingReturn xsi:type="xsd:boolean">true</isAllowHostingReturn>
  </ns1:isAllowHostingResponse>
 </soapenv:Body>

 

Action: setAllowHosting

Description: allows hosting for a DNS zone

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: empty

Example:

 <soapenv:Body>
  <ns1:setAllowHosting soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <allowThirdDomainLevelHosting xsi:type="xsd:boolean">false</allowThirdDomainLevelHosting>
  </ns1:setAllowHosting>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:setAllowHostingResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: getAllZones

Description: gets all available DNS zones

Parameters:

AuthToken:at - authentication information

Response: Array of Strings

Example:

 <soapenv:Body>
  <ns1:getAllZones soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
  </ns1:getAllZones>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAllZonesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getAllZonesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[7]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item xsi:type="xsd:string">vovka.psoft</item>
    <item xsi:type="xsd:string">vov.com</item>
    <item xsi:type="xsd:string">mydnszone.psoft</item>
    <item xsi:type="xsd:string">winda.com</item>
    <item xsi:type="xsd:string">aaaaa.xxx</item>
    <item xsi:type="xsd:string">wert.yuo</item>
    <item xsi:type="xsd:string">mytestzone.psoft</item>
   </getAllZonesReturn>
  </ns1:getAllZonesResponse>
 </soapenv:Body>

 

Action: getAdminEmailForZone

Description: gets admin's email for a DNS zone

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: String

Example:

 <soapenv:Body>
  <ns1:getAdminEmailForZone soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
  </ns1:getAdminEmailForZone>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAdminEmailForZoneResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getAdminEmailForZoneReturn xsi:type="xsd:string">vovan.psoft.lviv.ua</getAdminEmailForZoneReturn>
  </ns1:getAdminEmailForZoneResponse>
 </soapenv:Body>

 

Action: addARecord

Description: adds a new custom A record

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:ip - IP address that fully qualified domain name will be mapped to
String:ttl - seconds to elapse before the record is refreshed in the provider's DNS cache

Response: empty

Example:

 <soapenv:Body>
  <ns1:addARecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">atest</prefix>
   <ip xsi:type="xsd:string">111.111.111.111</ip>
   <ttl xsi:type="xsd:string">86400</ttl>
  </ns1:addARecord>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:addARecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: addCNAMERecord

Description: adds a new custom CNAME record

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:ip - IP address that fully qualified domain name will be mapped to
String:ttl - seconds to elapse before the record is refreshed in the provider's DNS cache

Response: empty

Example:

 <soapenv:Body>
  <ns1:addCNAMERecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">cnametest</prefix>
   <ip xsi:type="xsd:string">111.111.111.111</ip>
   <ttl xsi:type="xsd:string">86400</ttl>
  </ns1:addCNAMERecord>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:addCNAMERecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: addMXRecord

Description: adds a new custom MX record

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:ip - IP address that fully qualified domain name will be mapped to
String:priority - record priority: 1..99

Response: empty

Example:

 <soapenv:Body>
  <ns1:addMXRecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">mxtest</prefix>
   <ip xsi:type="xsd:string">111.111.111.111</ip>
   <priority xsi:type="xsd:string">9</priority>
  </ns1:addMXRecord>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:addMXRecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: delCustomDNSRecord

Description: deletes a custom DNS record (A, MX, CNAME)

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:type - record type: A, MX, CNAME

Response: empty

Example:

 <soapenv:Body>
  <ns1:delCustomDNSRecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">atest</prefix>
   <type xsi:type="xsd:string">A</type>
  </ns1:delCustomDNSRecord>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:delCustomDNSRecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: addResellerCPAlias

Description: adds a reseller CP alias

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - alias prefix

Response: empty

Example:

 <soapenv:Body>
  <ns1:addResellerCPAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">resellercp</prefix>
  </ns1:addResellerCPAlias>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:addResellerCPAliasResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: addInstantAlias

Description: adds an instant alias

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - alias prefix

Response: empty

Example:

 <soapenv:Body>
  <ns1:addInstantAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">instant</prefix>
   <tag xsi:type="xsd:int">2</tag>
  </ns1:addInstantAlias>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:addInstantAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: delInstantAlias

Description: deletes an instant alias

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - instant alias prefix
int:tag - tag

Response: empty

Example:

 <soapenv:Body>
  <ns1:delInstantAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">instant</prefix>
   <tag xsi:type="xsd:int">11</tag>
  </ns1:delInstantAlias>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:delInstantAliasResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: delResellerCPAlias

Description: deletes a reseller CP alias

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name
String:prefix - instant alias prefix

Response: empty

Example:

 <soapenv:Body>
  <ns1:delResellerCPAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
   <prefix xsi:type="xsd:string">resellercp</prefix>
  </ns1:delResellerCPAlias>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:delResellerCPAliasResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
 </soapenv:Body>

 

Action: getAllCustomDNSRecords

Description: gets all custom DNS records (A,MX,CNAME)

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: Array of DNSRecordInfo objects

Example:

 <soapenv:Body>
  <ns1:getAllCustomDNSRecords soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
  </ns1:getAllCustomDNSRecords>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAllCustomDNSRecordsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getAllCustomDNSRecordsReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:DNSRecordInfo[6]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
    <item href="#id2"/>
    <item href="#id3"/>
    <item href="#id4"/>
    <item href="#id5"/>
   </getAllCustomDNSRecordsReturn>
  </ns1:getAllCustomDNSRecordsResponse>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:DNSRecordInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:DNSServices">
   <IP xsi:type="xsd:string">115.115.115.115</IP>
   <TTL xsi:type="xsd:string">86400</TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">3006</id>
   <name xsi:type="xsd:string">cname.mytestzone.psoft</name>
   <priority xsi:type="xsd:string"></priority>
   <type xsi:type="xsd:string">CNAME</type>
  </multiRef>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:DNSRecordInfo" xmlns:ns5="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <IP xsi:type="xsd:string">114.114.114.114</IP>
   <TTL xsi:type="xsd:string">86400</TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">3005</id>
   <name xsi:type="xsd:string">a.mytestzone.psoft</name>
   <priority xsi:type="xsd:string"></priority>
   <type xsi:type="xsd:string">A</type>
  </multiRef>
  <multiRef id="id5" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:DNSRecordInfo" xmlns:ns6="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <IP xsi:type="xsd:string">113.113.113.113</IP>
   <TTL xsi:type="xsd:string"></TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">2974</id>
   <name xsi:type="xsd:string">ert.mytestzone.psoft</name>
   <priority xsi:type="xsd:string">7</priority>
   <type xsi:type="xsd:string">MX</type>
  </multiRef>
  <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:DNSRecordInfo" xmlns:ns7="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <IP xsi:type="xsd:string">112.112.112.112</IP>
   <TTL xsi:type="xsd:string"></TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">2971</id>
   <name xsi:type="xsd:string">x.mytestzone.psoft</name>
   <priority xsi:type="xsd:string">6</priority>
   <type xsi:type="xsd:string">MX</type>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns8:DNSRecordInfo" xmlns:ns8="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <IP xsi:type="xsd:string">111.111.111.111</IP>
   <TTL xsi:type="xsd:string"></TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">2967</id>
   <name xsi:type="xsd:string">vovka.mytestzone.psoft</name>
   <priority xsi:type="xsd:string">5</priority>
   <type xsi:type="xsd:string">MX</type>
  </multiRef>
  <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns9:DNSRecordInfo" xmlns:ns9="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <IP xsi:type="xsd:string">mxtest</IP>
   <TTL xsi:type="xsd:string"></TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">2969</id>
   <name xsi:type="xsd:string">mytestzone.psoft.mytestzone.psoft</name>
   <priority xsi:type="xsd:string">5</priority>
   <type xsi:type="xsd:string">MX</type>
  </multiRef>
 </soapenv:Body>

 

Action: getAllInstantAliases Description: gets all instant aliases

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: Array of Strings

Example:

 <soapenv:Body>
  <ns1:getAllInstantAliases soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
  </ns1:getAllInstantAliases>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAllInstantAliasesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getAllInstantAliasesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[1]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item xsi:type="xsd:string">instant</item>
   </getAllInstantAliasesReturn>
  </ns1:getAllInstantAliasesResponse>
 </soapenv:Body>

 

Action: getAllResellerCPAliases

Description: gets all reseller CP aliases

Parameters:

AuthToken:at - authentication information
String:zoneName - DNS zone name

Response: Array of Strings

Example:

 <soapenv:Body>
  <ns1:getAllResellerCPAliases soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <zoneName xsi:type="xsd:string">mytestzone.psoft</zoneName>
  </ns1:getAllResellerCPAliases>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">admin</login>
   <password xsi:type="xsd:string">admin</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAllResellerCPAliasesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getAllResellerCPAliasesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[1]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item xsi:type="xsd:string">resellercp</item>
   </getAllResellerCPAliasesReturn>
  </ns1:getAllResellerCPAliasesResponse>
 </soapenv:Body>

 

Action: getBuiltinARecords

Description: gets all built-in A records

Parameters:

AuthToken:at - authentication information
String:domainName - domain name

Response: Array of DNSRecordInfo objects

Example:

 <soapenv:Body>
  <ns1:getBuiltinARecords soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik2222.psoft</domainName>
  </ns1:getBuiltinARecords>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getBuiltinARecordsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getBuiltinARecordsReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:DNSRecordInfo[2]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
   </getBuiltinARecordsReturn>
  </ns1:getBuiltinARecordsResponse>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:DNSRecordInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:DNSServices">
   <IP xsi:type="xsd:string">10.128.3.32</IP>
   <TTL xsi:type="xsd:string">86400</TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">1801_3002</id>
   <name xsi:type="xsd:string">vovik2222.psoft</name>
   <priority xsi:type="xsd:string" xsi:nil="true"/>
   <type xsi:type="xsd:string">A</type>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:DNSRecordInfo" xmlns:ns5="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <IP xsi:type="xsd:string">10.128.3.32</IP>
   <TTL xsi:type="xsd:string">86400</TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">1802_3002</id>
   <name xsi:type="xsd:string">*.vovik2222.psoft</name>
   <priority xsi:type="xsd:string" xsi:nil="true"/>
   <type xsi:type="xsd:string">A</type>
  </multiRef>
 </soapenv:Body>

 

Action: getBuiltinMXRecords

Description: gets all built-in MX records

Parameters:

AuthToken:at - authentication information
String:domainName - domain name

Response: Array of DNSRecordInfo objects

Example:

 <soapenv:Body>
  <ns1:getBuiltinMXRecords soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik2222.psoft</domainName>
  </ns1:getBuiltinMXRecords>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getBuiltinMXRecordsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getBuiltinMXRecordsReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:DNSRecordInfo[1]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
   </getBuiltinMXRecordsReturn>
  </ns1:getBuiltinMXRecordsResponse>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:DNSRecordInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:DNSServices">
   <IP xsi:type="xsd:string">mail2.hs.psoft.net</IP>
   <TTL xsi:type="xsd:string">86400</TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">1812_1007</id>
   <name xsi:type="xsd:string">vovik2222.psoft</name>
   <priority xsi:type="xsd:string">10</priority>
   <type xsi:type="xsd:string">MX</type>
  </multiRef>
 </soapenv:Body>

 

Action: getBuiltinCNAMERecords

Description: gets all built-in CNAME records

Parameters:

AuthToken:at - authentication information
String:domainName - domain name

Response: Array of DNSRecordInfo objects

Example:

 <soapenv:Body>
  <ns1:getBuiltinCNAMERecords soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik2222.psoft</domainName>
  </ns1:getBuiltinCNAMERecords>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getBuiltinCNAMERecordsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getBuiltinCNAMERecordsReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:DNSRecordInfo[1]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
   </getBuiltinCNAMERecordsReturn>
  </ns1:getBuiltinCNAMERecordsResponse>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:DNSRecordInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:DNSServices">
   <IP xsi:type="xsd:string">mail2.hs.psoft.net</IP>
   <TTL xsi:type="xsd:string">86400</TTL>
   <clas xsi:type="xsd:string">IN</clas>
   <id xsi:type="xsd:string">1813_3006</id>
   <name xsi:type="xsd:string">mail.vovik2222.psoft</name>
   <priority xsi:type="xsd:string" xsi:nil="true"/>
   <type xsi:type="xsd:string">CNAME</type>
  </multiRef>
 </soapenv:Body>

 

Action: getAllUserZones

Description: gets end user's DNS zones

Parameters:

AuthToken:at - end user's authentication information
String:domainName - end user's domain name

Response: Array of Strings representing zone names

Example:

 <soapenv:Body>
  <ns1:getAllUserZones soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <at href="#id0"/>
  </ns1:getAllUserZones>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
   <accountId href="#id1"/>
   <login xsi:type="soapenc:string">vovan2</login>
   <password xsi:type="soapenc:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAllUserZonesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
   <getAllUserZonesReturn soapenc:arrayType="xsd:anyType[11]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <getAllUserZonesReturn xsi:type="soapenc:string">example.com</getAllUserZonesReturn>
    <getAllUserZonesReturn xsi:type="soapenc:string">example.net</getAllUserZonesReturn>
    <getAllUserZonesReturn xsi:type="soapenc:string">example.org</getAllUserZonesReturn>
   </getAllUserZonesReturn>
  </ns1:getAllUserZonesResponse>
 </soapenv:Body>

 

Action: addUserCustomARecord

Description: adds end user custom DNS A record

Parameters:

AuthToken:at - end user's authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:ttl - seconds to elapse before the record is refreshed in the DNS cache
String:ip - IP address that fully qualified domain name will be mapped to

Response: empty

Example:

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <soapenv:Body>
        <ns1:addUserCustomARecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
           <at href="#id0"/>
           <zoneName xsi:type="xsd:string">example.com</zoneName>
           <prefix xsi:type="xsd:string">prefix2</prefix>
           <ttl xsi:type="xsd:string">86400</ttl>
           <ip xsi:type="xsd:string">111.111.111.111</ip>
        </ns1:addUserCustomARecord>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
           <password xsi:type="soapenc:string">katon</password>
           <role xsi:type="ns2:Role" xsi:nil="true"/>
           <accountId href="#id1"/>
           <login xsi:type="soapenc:string">katon-u</login>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
     </soapenv:Body>

     <soapenv:Body>
        <ns1:addUserCustomARecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
     </soapenv:Body>

 

Action: addUserCustomMXRecord

Description: adds end user custom DNS MX record

Parameters:

AuthToken:at - end user's authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:priority - record priority: 1..99
String:ttl - seconds to elapse before the record is refreshed in the DNS cache
String:ip - IP address that fully qualified domain name will be mapped to

Response: empty

Example:

     <soapenv:Body>
        <ns1:addUserCustomMXRecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
           <at href="#id0"/>
           <zoneName xsi:type="xsd:string">example.com</zoneName>
           <prefix xsi:type="xsd:string">prefix2</prefix>
           <priority xsi:type="xsd:string">10</priority>
           <ttl xsi:type="xsd:string">86400</ttl>
           <ip xsi:type="xsd:string">111.111.111.111</ip>
        </ns1:addUserCustomMXRecord>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
           <password xsi:type="soapenc:string">katon</password>
           <role xsi:type="ns2:Role" xsi:nil="true"/>
           <accountId href="#id1"/>
           <login xsi:type="soapenc:string">katon-u</login>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
     </soapenv:Body>

     <soapenv:Body>
        <ns1:addUserCustomMXRecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
     </soapenv:Body>

 

Action: addUserCustomCNAMERecord

Description: adds end user custom DNS CNAME record

Parameters:

AuthToken:at - end user's authentication information
String:zoneName - DNS zone name
String:prefix - record prefix
String:type - A, MX, CNAME
String:ttl - seconds to elapse before the record is refreshed in the DNS cache.
String:ip - IP address (for A and MX records) or mail host name (for CNAME records)

Response: empty

Example:

    <soapenv:Body>
        <ns1:addUserCustomCNAMERecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
           <at href="#id0"/>
           <zoneName xsi:type="xsd:string">example.com</zoneName>
           <prefix xsi:type="xsd:string">prefix2</prefix>
           <ttl xsi:type="xsd:string">86400</ttl>
           <ip xsi:type="xsd:string">111.111.111.111</ip>
        </ns1:addUserCustomCNAMERecord>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
           <password xsi:type="soapenc:string">katon</password>
           <role xsi:type="ns2:Role" xsi:nil="true"/>
           <accountId href="#id1"/>
           <login xsi:type="soapenc:string">katon-u</login>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
     </soapenv:Body>

    <soapenv:Body>
        <ns1:addUserCustomCNAMERecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
     </soapenv:Body>

 

Action: delUserCustomRecord

Description: deletes end user custom DNS record

Parameters:

AuthToken:at - end user's authentication information
String:fullRecordname - complete recordname including prefix and zone name

Response: empty

Example:

<soapenv:Body>
        <ns1:delUserCustomRecord soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
           <at href="#id0"/>
           <fullRecordname xsi:type="xsd:string">example.com</fullRecordname>
        </ns1:delUserCustomRecord>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
           <password xsi:type="soapenc:string">katon</password>
           <role xsi:type="ns2:Role" xsi:nil="true"/>
           <accountId href="#id1"/>
           <login xsi:type="soapenc:string">katon-u</login>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
     </soapenv:Body>

    <soapenv:Body>
        <ns1:delUserCustomRecordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices"/>
     </soapenv:Body>

 

Action: getAllUserCustomDNSRecords

Description: gets all end user custom DNS records

Parameters:

AuthToken:at - end user's authentication information
String:zoneName - DNS zone name

Response: Array of DNSRecordInfo objects

Example:

<soapenv:Body>
        <ns1:getAllUserCustomDNSRecords soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
           <at href="#id0"/>
           <zoneName xsi:type="xsd:string">example.com</zoneName>
        </ns1:getAllUserCustomDNSRecords>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:DNSServices">
           <password xsi:type="soapenc:string">katon</password>
           <role xsi:type="ns2:Role" xsi:nil="true"/>
           <accountId href="#id1"/>
           <login xsi:type="soapenc:string">katon-u</login>
        </multiRef>
        <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
     </soapenv:Body>

    <soapenv:Body>
        <ns1:getAllUserCustomDNSRecordsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="DNSServices">
           <getAllUserCustomDNSRecordsReturn soapenc:arrayType="ns2:DNSRecordInfo[1]" xsi:type="soapenc:Array" xmlns:ns2="urn:DNSServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
              <getAllUserCustomDNSRecordsReturn href="#id0"/>
           </getAllUserCustomDNSRecordsReturn>
        </ns1:getAllUserCustomDNSRecordsResponse>
        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:DNSRecordInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="urn:DNSServices">
           <TTL xsi:type="soapenc:string">86400</TTL>
           <type xsi:type="soapenc:string">A</type>
           <clas xsi:type="soapenc:string">IN</clas>
           <IP xsi:type="soapenc:string">111.111.111.111</IP>
           <priority xsi:type="soapenc:string" xsi:nil="true"/>
           <name xsi:type="soapenc:string">prefix2.example.com</name>
           <id xsi:type="soapenc:string">5100_3003</id>
        </multiRef>
     </soapenv:Body>

Related Docs:   H-Sphere XML API Reference Javadoc XML API



© Copyright 2017. Parallels Holdings. All rights reserved.