Domain-Kontakte aktualisieren
Diese API kann die Kontaktdaten einer Domain ändern
Content-Type
application/json
category
domain
action
change_contact
Anfrageparameter
| Parametername | Typ | Beschreibung | Beispiel |
|---|---|---|---|
| domain | String (3-60) | Domainname | example.com |
| name | String (1-16) | Name des Registranten | Xiao Ming |
| organization | String (1-255) | Organisation / Firmenname | XXX Ltd. |
| address | String (1-255) | Postanschrift | BeiJing |
| 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 |
| postcode | Integer (6) | 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=change_contact&domain={domain}&name={name}&organization={organization}&address={address}&country={country}&state={state}&city={city}&postcode={postcode}&phone={phone}&fax={fax}&email={email}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Rückgabeergebnis
0 OK Erfolgreiche Antwort
{
"code": 0,
"msg" : "success",
"data" : {
}
}
400 Ungültige Anfrage
{
"code": 400,
"msg" : "Request parameter error",
}






