Get Domain Information
Sample XMLINPUT
Shown below is the request for the domain information of mydomain.com.ph.
<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP:Header>
<T:Tran xmlns:T="http://dotph.com">
<T:UserID>testpartner</T:UserID>
<T:Password>testpartner</T:Password>
</T:Tran> </SOAP:Header>
<SOAP:Body>
<GetDomainInfo><domain>mydomain.com.ph</domain> </GetDomainInfo>
</SOAP:Body>
</SOAP:Envelope>
XMLOUTPUT
<?xml version="1.0"?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP:Header>
<T:Tran xmlns:T="http://dotph.com">
<T:ID></T:ID>
</T:Tran>
</SOAP:Header>
<SOAP:Body>
<GetDomainInfoResponse>
<return><![CDATA[
<Domain name="mydomain.com.ph">
Domain Owner (Admin)
LastName
FirstName
Address (Addressline1, AddressLine2, City, State, 2 letter country code, Country, Postal Code)
Phone
Fax
Primary Email - Administrator email address
Secondary Email - Alternate email address
<Admin>
<LastName>dela cruz</LastName>
<FirstName>juan</FirstName>
<AddressLine1>strata 100 bldg. emerald avenue ortigas, pasig
City</AddressLine1>
<AddressLine2></AddressLine2>
<City>qc</City>
<State>ncr</State>
<CountryCode>PH</CountryCode>
<Country>PHILIPPINES</Country>
<PostalCode></PostalCode>
<Phone>6312909</Phone>
<Fax></Fax>
</Admin>
<PrimaryEmail>mydomain@yahoo.com</PrimaryEmail>
<SecondaryEmail></SecondaryEmail>
Organization
DomainStatus
1- Edit Lock On
2- Edit Lock Off, Transfer Lock Off
21- Edit Lock Off, Transfer Lock On
StartDate - domain registration date
ExpireDate - domain expiration date
<Organization>domains</Organization>
<DomainStatus>1</DomainStatus>
<StartDate>2001-10-29</StartDate>
<ExpireDate>2003-10-29</ExpireDate>
A list of Name servers that the domain is delegated to (If dotph="1", the domain nameservers is the same as the dotPH default nameservers.)
<NameServers dotph="1">
<NS1 name="nsfwd.domains.ph" ip="203.167.64.32" />
<NS2 name="ns2.domains.ph" ip="203.167.64.32" />
<NS3 name="" ip="" />
</NameServers>
<WebForwarding>
<ForwardUrl></ForwardUrl>
<Title></Title>
<Keywords></Keywords>
<Description></Description>
</WebForwarding>
DNS Entries
key- unique identifier assigned to each dns entry
Valid types (a, mx, cname, ns)
<DNSEntries>
<DNS domain="mail.mydomain.ph" type="a" data="111.111.1.254" key="200276" source="db"/>
<DNS domain="mail2.dot.ph" type="a" data="111.111.1.253" key="200275" source="db"/>
</DNSEntries>
</Domain>
]]>
</return>
</GetDomainInfoResponse>
</SOAP:Body>
</SOAP:Envelope>
August 19, 2003
[ Back ]