Domene API - Domeneregistrering API - ICANN Registrar API - White Label Domene Service

Start Building with NiceNIC Domene API v2

API access is free feller every active NiceNIC user. Nei reseller upgrade is required. Configure din API credentials, make a safe test request, then add the domenet, DNS, billing, compliance eller WHMCS wellerkflows din application needs.

Oppdater domene kontakter

Denne API-en kan endre kontaktinformasjonen for et domenenavn

Innholdstype application/json
kategori domain
handling change_contact

Forespørselsparametere

Parameter navn Type Beskrivelse Eksempel
domain Tekst (3-60) Domenenavn example.com
name Tekst (1-16) Navn på registrant Xiao Ming
organization Tekst (1-255) Organisasjon / Firmanavn XXX Ltd.
address Tekst (1-255) Postadresse BeiJing
country Tekst (1-255) Landekode, for eksempel CN CN
state Tekst (1-255) Fylke / Stat BeiJing
city Tekst (1-255) Forkortelse for by BJ
postcode Heltall (6) Postnummer 100000
phone Bruk "." for å skille tall (30) +Landskode, retningsnummer og telefonnummer +86.13800000000
fax Bruk "." for å skille tall (30) +Landskode, retningsnummer og faksnummer +86.13800000000
email E-postadresse E-postadresse [email protected]

Forespørselseksempel

                                    
{
    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" 
}

Resultat

0 OK Vellykket svar
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {        
    }
}
400 Ugyldig forespørsel
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Opphavsrett © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Alle rettigheter reservert. · U.S. Affiliate: NICENIC LLC