Domain eingehend transferieren
Dieser Vorgang kann einen Domainnamen von einem anderen Registrar zu NiceNIC transferieren
Content-Type
application/json
category
domain
action
transfer
Anfrageparameter
| Parametername | Typ | Beschreibung | Beispiel |
|---|---|---|---|
| domain | String (3-60) | Domainname | example.com |
| authcode | String | Domain-Transfercode Jahr | Transfer and renew term |
| year | Integer (4) | Der Registrierungszeitraum beträgt 1 bis 10 Jahre, mit einigen Ausnahmen für bestimmte Domains. | 1 |
| dns1 | Server | Primärer Nameserver | ns3.my-ndns.com |
| dns2 | Server | Sekundärer Nameserver | ns4.my-ndns.com |
| organization | String (1-255) | Organisation / Firmenname | XXX Ltd. |
| name | String (1-16) | Name des Registranten | Xiao Ming |
| country | String (1-255) | Ländercode, z. B. CN | CN |
| state | String (1-255) | Bundesland / Kanton / Region | BeiJing |
| city | String (1-255) | Stadt-Akronym | BJ |
| address | String (1-255) | Postanschrift | BeiJing |
| postcode | Integer (4-10) | Postleitzahl | 100000 |
| phone | „.“ zur Trennung von Zahlen (30) | +Ländervorwahl, Vorwahl und Telefonnummer | +86.13800000000 |
| fax | „.“ zur Trennung von Zahlen (30) | +Ländervorwahl, Ortsvorwahl und Faxnummer | +86.13800000000 |
| E-Mail-Adresse | E-Mail-Adresse | [email protected] |
Beispielanfrage
{
curl https://api.nicenic.net/v2/?category=domain&action=transfer&domain={domain}&authcode={authcode}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Rückgabeergebnis
201 OK Erfolgreiche Antwort
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!",
"data" : {
}
}
400 Ungültige Anfrage
{
"code": 400,
"msg" : "Request parameter error",
}






