ڈومین رجسٹر کریں
ڈومین name registration ایک مخصوص مدت کے لیے Internet پر ایک منفرد نام محفوظ کرنے کا عمل ہے، جو عموماً ایک سال یا اس سے زیادہ ہوتی ہے
درخواست کے پیرامیٹرز
| پیرامیٹر کا نام | قسم | تفصیل | مثال |
|---|---|---|---|
| domain | اسٹرنگ (3-60) | Domain name | example.com |
| year | عدد صحیح (4) | رجسٹریشن کی مدت 1 سے 10 سال تک ہے، تاہم بعض domain names کے لیے کچھ استثنائیں موجود ہیں۔ | 1 |
| dns1 | سرور | بنیادی nameserver | ns3.my-ndns.com |
| dns2 | سرور | ثانوی nameserver | ns4.my-ndns.com |
| organization | اسٹرنگ (1-255) | ادارہ / کمپنی کا نام | XXX Ltd. |
| name | اسٹرنگ (1-16) | رجسٹرڈ نام | Xiao Ming |
| country | اسٹرنگ (1-255) | ملک کا کوڈ، مثلاً CN | CN |
| state | اسٹرنگ (1-255) | صوبہ / ریاست | BeiJing |
| city | اسٹرنگ (1-255) | شہر کا مخفف | BJ |
| address | اسٹرنگ (1-255) | خط و کتابت کا پتہ | BeiJing |
| postcode | عدد صحیح (4-10) | پوسٹل کوڈ / زپ کوڈ | 100000 |
| phone | نمبرز کو الگ کرنے کے لیے "." استعمال کریں (30) | +ملک کوڈ.علاقائی کوڈ اور فون نمبر | +86.13800000000 |
| fax | نمبرز کو الگ کرنے کے لیے "." استعمال کریں (30) | +ملک کوڈ.علاقائی کوڈ اور فیکس نمبر | +86.13800000000 |
| ای میل ایڈریس | ای میل ایڈریس | [email protected] | |
| contact_source | اسٹرنگ (1-255) | Set to member to use آپ کا member profile instead of the supplied رابطہ کی تفصیلات. | member |
| document_type | اسٹرنگ | Required fیا HK ڈومینs. Common values: PASSNO (پاسپورٹ), OTHIDV (Other Individual دستاویز نمبر), OTHیاG (Other Organization دستاویز نمبر). | PASSNO |
| document_number | اسٹرنگ (1-40 bytes) | Document number matching the selected type. Required fیا HK ڈومینs. | E12345678 |
HK ڈومینs require both document fields, including when using contact_source=member. Other ڈومینs ignیاe them. Fیا .com.hk, only BR is accepted.
جواب کے پیرامیٹرز
| پیرامیٹر کا نام | قسم | تفصیل |
|---|---|---|
| domain | اسٹرنگ | Domain name |
| created_date | تاریخ | ڈومین رجسٹریشن کا وقت |
| expired_date | تاریخ | ڈومین کی میعاد ختم ہونے کی تاریخ |
درخواست کی مثال
{
curl https://api.nicenic.net/v2/?category=domain&action=register&domain={domain}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}&contact_source={contact_source}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
نتیجہ واپس کریں
{
"code": 0,
"msg" : "success",
"data" : {
"domain":"example.com",
"created_date":"2025-01-21",
"expired_date":"2026-01-21"
}
}
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!"
}
}
نوٹ: code "201" means the registration یاder was submitted successfully اور the fee was deducted. Final ڈومین activation is still subject to registry confirmation. اگر the ڈومین cannot be activated, the registration fee will be refunded to آپ کا account balance within 24 hours.
{
"code": 400,
"msg" : "Request parameter error",
}






