Klientská knihovna PHP5 V. - methods and functions of EURid module
Description of functions and classes of ZMS module EURid (.eu domains).
Contents
1. Common functions
login
System authorization
Input parameters:
- id_user - user name
- password - password
- remote_addr - clients IP address, for example:
$_SERVER['REMOTE_ADDR'];
(let the default parameter)
2. Domain manipulation
domainCheck
Check of domain availability
Input parameters:
- domain_name - domain name
Output parameters:
- avail 0 -> domain exist; 1 -> domain available
domainWhois
domain WHOIS (only domains under Zoner software, a.s. administration)
Input parameters:
- domain_name - domain name
Ouput parameters:
- registrant - owner contact
- billing - billing contact
- nsgroup - nameservers group
- contact_1 - technical contact
- contact_2 - technical contact
- contact_3 - technical contact
- contact_4 - technical contact
- contact_5 - technical contact
- ns_name_1 - nameserver 1
- ns_ip_1 - nameserver IP
- ns_ipv6_1 - nameserver ipv6
- ns_name_2 - nameserver 2
- ns_ip_2 - nameserver IP
- ns_ipv6_2 - nameserver ipv6
- ns_name_3 - nameserver 3
- ns_ip_3 - nameserveru IP
- ns_ipv6_3 - nameserver ipv6
- date_created - creation date
- date_updated - last change date
- date_expired - expiration date
domainCreate
Creation of new domain.
Input parameters:
- domain_name - domain name
- registrant - owner contact
- contact_1 - technical contact
- contact_2 - technical contact
- contact_3 - technical contact
- contact_4 - technical contact
- contact_5 - technical contact
- ns_name_1 - nameserver 1
- ns_ip_1 - nameserver IP
- ns_ipv6_1 - nameserver ipv6
- ns_name_2 - nameserver 2
- ns_ip_2 - nameserver IP
- ns_ipv6_2 - nameserver ipv6
- ns_name_3 - nameserver 3
- ns_ip_3 - nameserveru IP
- ns_ipv6_3 - nameserver ipv6
- id_user - administration account ID
domainCreateZonerNs
Creation of new domain with Zoner Software a.s. nameservers.
Input parameters:
- domain_name - domain name
- registrant - owner contact
- id_user - administration account ID
domainUpdateByPassword
Domain's adjustment by means of password
Input parameters:
- domain_name - domain name
- contact_1 - technical contact
- contact_2 - technical contact
- contact_3 - technical contact
- contact_4 - technical contact
- contact_5 - technical contact
- ns_name_1 - nameserver 1
- ns_ip_1 - nameserver IP
- ns_ipv6_1 - nameserver ipv6
- ns_name_2 - nameserver 2
- ns_ip_2 - nameserver IP
- ns_ipv6_2 - nameserver ipv6
- ns_name_3 - nameserver 3
- ns_ip_3 - nameserveru IP
- ns_ipv6_3 - nameserver ipv6
- clear_ns - remove all nameservers, when TRUE, ignore ALL ns_xx parameters
- contact - contact ID
- password - Zoner Authorization code
domainTradeTransfer
Transfer of domain. Please fill new technical contact and nameservers, that will be deleted in transfer.
Regirtrar change is paid service. After ragistrar change domain will be renewed for NEW one year.
EURid will e-mail to EU domain owner link to page, where is necessary check and confirm the changes. You can reject the request there too.
If the change is not confirmed by the deadline, the request is canceled. For request confirmation you can use the fax form.
Vstupní parametry:
- domain_name - domain name
- registrant - owner contact (only for owner change!)
- contact_1 - technical contact
- contact_2 - technical contact
- contact_3 - technical contact
- contact_4 - technical contact
- contact_5 - technical contact
- ns_name_1 - nameserver 1
- ns_ip_1 - nameserver IP
- ns_ipv6_1 - nameserver ipv6
- ns_name_2 - nameserver 2
- ns_ip_2 - nameserver IP
- ns_ipv6_2 - nameserver ipv6
- ns_name_3 - nameserver 3
- ns_ip_3 - nameserveru IP
- ns_ipv6_3 - nameserver ipv6
- ccc_id_user - administration account ID
- ccc_password - administration account PW
domainTradeTransferZonerNs
Transfer requuest with nameservers change to Zoner.
Conditions and parameters are same as for domainTradeTransfer method.
Input parameters:
- domain_name - domain name
- registrant - owner contact (only for owner change!)
- ccc_id_user - administration account ID
- ccc_password - administration account PW
domainCheckState
This will check any domain state for registration.
Input parameters:
- domain_name - domain name
Output parameters:
- state - domain state (in use - registered)
domainRenew
renew request
Input parameters:
- domain_name - domain name
- period - number of years for renew
3. Contact manipulation
contactCheck
Check for contact existence.
Input parameters:
- id - contact identificator
Output parameters:
- avail - available (true) or not available (false) contact
contactWhois
Contact WHOIS.
Input parameters:
- id - contact ID
Ouput parameters:
- name - Name and surname
- org - Company
- street_1 - Address
- street_2 - Address
- street_3 - Address
- city - City
- pc - ZIP code
- sp - Province
- cc - Country
- email - e-mail
- fax - Fax
- voice - Phone
- type - Contact type: registrant owner only, onsite technical contact only, tech (special technical contact - you cannot create it)
- vat - VAT
- lang - preferred language (cs|da|de|el|en|es|et|fi|fr|hu|it|lt|lv|mt|nl|pl|pt|sk|sl|sv)
- date_created - contact creation date
- date_updated - last change date
contactCreate
New contact creation.
Input parameters:
- name - Name and surname
- org - Company
- street_1 - Address
- street_2 - Address
- street_3 - Address
- city - City
- pc - ZIP code
- sp - Province
- cc - Country
- email - e-mail
- fax - Fax
- voice - Phone
- type - Contact type: registrant owner only, onsite technnical contact only
- vat - VAT
- lang - preferred language (cs|da|de|el|en|es|et|fi|fr|hu|it|lt|lv|mt|nl|pl|pt|sk|sl|sv)
Output parameters:
- id - Contact identificator
contactUpdateByPassword
Contact details change with password.
Input parameters:
- id - Contact identificator
- name - Name and surname of contact (you can change this only for onsite) type
- org - Company (you can change this only for onsite) type
- street_1 - Address
- street_2 - Address
- street_3 - Address
- city - City
- pc - ZIP code
- sp- Province
- cc - Country
- email - e-mail
- fax - Fax
- voice - Phone
- vat - VAT
- lang - Preferred language (cs|da|de|el|en|es|et|fi|fr|hu|it|lt|lv|mt|nl|pl|pt|sk|sl|sv)
- password - Time-limited Zoner password
contactDeleteByPassword
Contact delete. You can delete only contact not used as owner or technical contact for any domain.
Input parameters:
- id - Contact identificator
- password - Time-limited Zoner password
contactSendPassword
Send the password for contact.
Input parameters::
- id - Contact identificator
- expire_in_days - Number of days for validity
contactListDomains
Gets a list of domain names where contact is used.
Input parameters:
- id - Contact ID
Output parameters:
- list_count - number of domains with this contact
Output tables:
- list - domain list with following columns:
- dom_name - domain name
contactListByEmail
Gets a list of domain names where e-mail is used.
Input parameters:
- email - e-mail address
Output parameters:
- list_count - number of contacts using this e-mail
Output parameters:
- list - list of contacts with this e-mail with following columns:
- id - Contact ID