DomainTransferIn
From NETIM
Release | Runtime |
---|---|
API >= 2.0 | Synchronous |
Description
Requests the transfer of a domain name to Netim
StructOperationResponse domainTransferIn(string idSession, string domain, string authID, string idOwner, string idAdmin, string idTech, string idBilling, string ns1, string ns2, string ns3, string ns4, string ns5)
Parameters
Format | Variable | Description | Notes |
---|---|---|---|
string (32) | idSession | Session ID | |
string (255) | domain | Domain name to be transferred | |
string (64) | authID | Authorization code / EPP code | if applicable |
string (12) | idOwner | ID of the owner contact | Can be #AUTO# or an contact object with "isOwner=1" |
string (12) | idAdmin | ID of the administrative contact | with "isOwner=0" |
string (12) | idTech | ID of the technical contact | with "isOwner=0" |
string (12) | idBilling | ID of the billing contact | with "isOwner=0" |
string (255) | ns1 | Name server DNS 1 | |
string (255) | ns2 | Name server DNS 2 | |
string (255) | ns3 | Name server DNS 3 | |
string (255) | ns4 | Name server DNS 4 | |
string (255) | ns5 | Name server DNS 5 |
Return
A structure StructOperationResponse
Notes
Contact IDs must exist and belong the reseller According to the extension, semantic rules may apply . See Category:Tld
Examples
PHP
<?php $clientSOAP = new SoapClient("http://URL.wsdl"); try { $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); $StructOperationResponse = $clientSOAP->domainTransferIn($idSession, "netim.com", "98smGTHfdsHnj", "#AUTO#", "IDADM", "IDTEC", "IDBIL", "ns1.netim.com", "ns2.netim.com", "", "", ""); print_r($StructOperationResponse); } catch(SoapFault $fault) { echo "Exception : " .$fault->getMessage(). "\n"; } if(isset($idSession)) { $clientSOAP->sessionClose($idSession); } ?>
Release | Runtime |
---|---|
API > 1.0 | Asynchronous |
Description
Requests the transfer of a domain name to Netim
int domainTransferIn(string idSession, string domain, string authID, string idOwner, string idAdmin, string idTech, string idBilling, string ns1, string ns2, string ns3, string ns4, string ns5)
Parameters
Format | Variable | Description | Notes |
---|---|---|---|
string (32) | idSession | Session ID | |
string (255) | domain | Domain name to be transferred | |
string (8) | authID | Autorisation code / EPP code | if applicable |
string (8) | idOwner | ID of the owner contact | Can be #AUTO# or an contact object with "isOwner=1" |
string (8) | idAdmin | ID of the administrative contact | with "isOwner=0" |
string (8) | idTech | ID of the technical contact | with "isOwner=0" |
string (8) | idBilling | ID of the billing contact | with "isOwner=0" |
string (255) | ns1 | Name server DNS 1 | |
string (255) | ns2 | Name server DNS 2 | |
string (255) | ns3 | Name server DNS 3 | |
string (255) | ns4 | Name server DNS 4 | |
string (255) | ns5 | Name server DNS 5 |
Return
A tracking ID
Notes
Contact IDs must exist and belong the reseller According to the extension, semantic rules may apply . See Category:Tld
Examples
PHP
<?php $clientSOAP = new SoapClient("http://URL.wsdl"); try { $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); $trackingID = $clientSOAP->domainTransferIn($idSession, "netim.com", "98smGTHfdsHnj", "#AUTO#", "IDADM", "IDTEC", "IDBIL", "ns1.netim.com", "ns2.netim.com", "", "", ""); echo($trackingID); } catch(SoapFault $fault) { echo "Exception : " .$fault->getMessage(). "\n"; } if(isset($idSession)) { $clientSOAP->logout($idSession); } ?>
JAVA
DRSServiceLocator service = new DRSServiceLocator(); String idSession; int trackingID; try { DRSPortType port = service.getDRSPort(); idSession = port.login("XXXX", "XXXX", "EN"); trackingID = port.domainTransferIn(idSession, "netim.com", "98smGTHfdsHnj", "ID01", "ID02", "ID03", "ID04", "ns1.netim.com", "ns2.netim.com", "", "", ""); System.out.println(trackingID); port.logout(idSession); } catch (RemoteException re) { System.out.println(re.getMessage()); } catch (ServiceException se) { se.printStackTrace(); }