Domain API - Pendaftaran Domain API - ICANN Pendaftar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fatau every active NiceNIC user. Tidak reseller upgrade is required. Configure anda API credentials, make a safe test request, then add the domain, DNS, billing, compliance atau WHMCS wataukflows anda application needs.

Kemas kini Kenalan Domain

API ini boleh mengubah maklumat kenalan bagi domain

Content-Type application/json
kategori domain
tindakan change_contact

Parameter permintaan

Nama parameter Jenis Huraikan Contoh
domain Rentetan (3-60) Nama domain example.com
name Rentetan (1-16) Nama pendaftar Xiao Ming
organization Rentetan (1-255) Nama organisasi / syarikat XXX Ltd.
address Rentetan (1-255) Alamat surat-menyurat BeiJing
country Rentetan (1-255) Kod Negara, seperti CN CN
state Rentetan (1-255) Wilayah / negeri BeiJing
city Rentetan (1-255) Singkatan bandar BJ
postcode Integer (6) Poskod / Kod Zip 100000
phone "." untuk memisahkan nombor (30) +Kod negara.kod kawasan dan nombor telefon +86.13800000000
fax "." untuk memisahkan nombor (30) +Kod negara.kod kawasan dan nombor faks +86.13800000000
email Alamat e-mel Alamat e-mel [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 Pulangan

0 OK Respons berjaya
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {        
    }
}
400 Permintaan tidak sah
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Hak Cipta © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Hak Cipta Terpelihara. · U.S. Affiliate: NICENIC LLC