Perbarui Kontak Domain
API ini dapat mengubah informasi kontak suatu domain
Content-Type
application/json
kategori
domain
action
change_contact
Parameter Permintaan
| Nama Parameter | Tipe | Deskripsi | Contoh |
|---|---|---|---|
| domain | Teks (3–60) | Nama domain | example.com |
| name | Teks (1–16) | Nama pendaftar | Xiao Ming |
| organization | Teks (1–255) | Nama organisasi / perusahaan | XXX Ltd. |
| address | Teks (1–255) | Alamat pos | BeiJing |
| country | Teks (1–255) | Kode Negara, misalnya CN | CN |
| state | Teks (1–255) | Provinsi / Negara Bagian | BeiJing |
| city | Teks (1–255) | Akronim Kota | BJ |
| postcode | Bilangan bulat (6) | Kode pos / Kode ZIP | 100000 |
| phone | Pisahkan angka dengan "." (30) | +Kode negara, kode area, dan nomor telepon | +86.13800000000 |
| fax | Pisahkan angka dengan "." (30) | +Kode negara, kode area, dan nomor faks | +86.13800000000 |
| Alamat email | Alamat email | [email protected] |
Contoh Permintaan
{
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"
}
Hasil yang Dikembalikan
0 OK Respons berhasil
{
"code": 0,
"msg" : "success",
"data" : {
}
}
400 Permintaan Buruk
{
"code": 400,
"msg" : "Request parameter error",
}






