דומיין API - רישום תחום API - ICANN רשם API - White Label דומיין Service

Start Building with NiceNIC דומיין API v2

API access is free fאו every active NiceNIC user. לא reseller upgrade is required. Configure שלך API credentials, make a safe test request, then add the דומיין, DNS, billing, compliance או WHMCS wאוkflows שלך application needs.

עדכן אנשי קשר בדומיין

API זה יכול לשנות את פרטי איש הקשר של דומיין

Content-Type application/json
קטגוריה domain
פעולה change_contact

פרמטרי בקשה

שם פרמטר סוג תיאור דוגמה
domain מחרוזת (3-60) שם דומיין example.com
name מחרוזת (1-16) שם הרשום Xiao Ming
organization מחרוזת (1-255) שם הארגון / החברה XXX Ltd.
address מחרוזת (1-255) כתובת למשלוח BeiJing
country מחרוזת (1-255) קוד מדינה, לדוגמה CN CN
state מחרוזת (1-255) מחוז / מדינה BeiJing
city מחרוזת (1-255) קוד עיר BJ
postcode מספר שלם (6) מיקוד / מיקוד דואר 100000
phone "." להפרדת מספרים (30) +קוד מדינה.קוד אזור ומספר טלפון +86.13800000000
fax "." להפרדת מספרים (30) +קוד מדינה.קוד אזור ומספר פקס +86.13800000000
email כתובת דואר אלקטרוני כתובת דואר אלקטרוני [email protected]

דוגמת בקשה

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

תוצאת החזרה

0 OK תגובה מוצלחת
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {        
    }
}
400 בקשה שגויה
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
זכויות יוצרים © 2006–2026 חברת NICENIC INTERNATIONAL GROUP CO., LIMITED. כל הזכויות שמורות. · U.S. Affiliate: NICENIC LLC